]> git.baikalelectronics.ru Git - kernel.git/commit
block: clear BIO_PERCPU_CACHE flag if polling isn't supported
authorJens Axboe <axboe@kernel.dk>
Wed, 11 Aug 2021 16:19:06 +0000 (10:19 -0600)
committerJens Axboe <axboe@kernel.dk>
Mon, 23 Aug 2021 19:44:51 +0000 (13:44 -0600)
commite522cab81f4c99427051fb201ae77a45a3db2dff
tree3765fb0cd03d4229fca996ddf3e97bea70ac8156
parent94b92e98906ad97344565846217e958aa09140c7
block: clear BIO_PERCPU_CACHE flag if polling isn't supported

The bio alloc cache relies on the fact that a polled bio will complete
in process context, clear the cacheable flag if we disable polling
for a given bio.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-core.c