PA: move in ecache_grow.

This commit is contained in:
David Goldblatt 2020-03-08 13:47:02 -07:00 committed by David Goldblatt
parent 32cb7c2f0b
commit acd0bf6a26
6 changed files with 32 additions and 29 deletions

View file

@ -38,6 +38,10 @@ pa_shard_init(tsdn_t *tsdn, pa_shard_t *shard, base_t *base, unsigned ind,
return true;
}
if (ecache_grow_init(tsdn, &shard->ecache_grow)) {
return true;
}
shard->stats = stats;
memset(shard->stats, 0, sizeof(*shard->stats));