io_uring: enable use of bio alloc cache
authorJens Axboe <axboe@kernel.dk>
Mon, 8 Mar 2021 18:40:23 +0000 (11:40 -0700)
committerJens Axboe <axboe@kernel.dk>
Wed, 11 Aug 2021 22:37:11 +0000 (16:37 -0600)
commit4556bce1ee76bbdeca47e1da63d149a91bc3af26
tree1835c816dde0a1b0207abba9b0531dbfd8162499
parent9d22a74c61b3015b16d9a0e8b69080a7cefaca7f
io_uring: enable use of bio alloc cache

Mark polled IO as being safe for dipping into the bio allocation
cache, in case the targeted bio_set has it enabled.

This brings an IOPOLL gen2 Optane QD=128 workload from ~3.0M IOPS to
~3.3M IOPS.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c