block: don't clear REQ_ALLOC_CACHE for non-polled requests
authorJens Axboe <axboe@kernel.dk>
Fri, 16 Dec 2022 15:20:31 +0000 (08:20 -0700)
committerJens Axboe <axboe@kernel.dk>
Fri, 16 Dec 2022 16:18:09 +0000 (09:18 -0700)
commit53eab8e76667b124615a943a033cdf97c80c242a
tree543742bad15785312f5ba30a23e9bbee7cc1dacf
parentd36a9ea5e7766961e753ee38d4c331bbe6ef659b
block: don't clear REQ_ALLOC_CACHE for non-polled requests

Since commit:

b99182c501c3 ("bio: add pcpu caching for non-polling bio_put")

we support bio caching for IRQ based IO as well, hence there's no need
to manually clear REQ_ALLOC_CACHE if we disable polling on a request.

Reviewed-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/bio.h