Skip to content
Snippets Groups Projects
Commit be863b9e authored by Jens Axboe's avatar Jens Axboe
Browse files

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: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent be4d234d
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment