commit | be863b9e4348a791e360d25611a1bdde2c9595ed | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Wed Aug 11 10:19:06 2021 -0600 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Aug 23 13:44:51 2021 -0600 |
tree | 3765fb0cd03d4229fca996ddf3e97bea70ac8156 | |
parent | be4d234d7aebbfe0c233bc20b9cdef7ab3408ff4 [diff] |
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>