forked from luck/tmp_suning_uos_patched
bcache: Revert "bcache: free heap cache_set->flush_btree in bch_journal_free"
This reverts commit6268dc2c47
. This patch depends on commitc4dc2497d5
("bcache: fix high CPU occupancy during journal") which is reverted in previous patch. So revert this one too. Fixes:6268dc2c47
("bcache: free heap cache_set->flush_btree in bch_journal_free") Signed-off-by: Coly Li <colyli@suse.de> Cc: stable@vger.kernel.org Cc: Shenghui Wang <shhuiw@foxmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
parent
1df3877ff6
commit
ba82c1ac16
|
@ -884,7 +884,6 @@ void bch_journal_free(struct cache_set *c)
|
|||
free_pages((unsigned long) c->journal.w[1].data, JSET_BITS);
|
||||
free_pages((unsigned long) c->journal.w[0].data, JSET_BITS);
|
||||
free_fifo(&c->journal.pin);
|
||||
free_heap(&c->flush_btree);
|
||||
}
|
||||
|
||||
int bch_journal_alloc(struct cache_set *c)
|
||||
|
|
Loading…
Reference in New Issue
Block a user