]> git.baikalelectronics.ru Git - kernel.git/commit
bcache: add code comments for state->pool in __btree_sort()
authorColy Li <colyli@suse.de>
Thu, 23 Jan 2020 17:01:36 +0000 (01:01 +0800)
committerJens Axboe <axboe@kernel.dk>
Thu, 23 Jan 2020 18:40:02 +0000 (11:40 -0700)
commit598bcea6eb69b8ee485c387aaf777c58cf8266ff
tree335808680806e905557201c23c021dc5e47303d9
parentaebcfc40ed3a84157a418d5e17acb802dffd4478
bcache: add code comments for state->pool in __btree_sort()

To explain the pages allocated from mempool state->pool can be
swapped in __btree_sort(), because state->pool is a page pool,
which allocates pages by alloc_pages() indeed.

Signed-off-by: Coly Li <colyli@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/md/bcache/bset.c