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>
Mon, 23 Aug 2021 19:44:55 +0000 (13:44 -0600)
commit394918ebb889f99d89db6843bcc93279b2b745f9
treefdceeeefee346bd281fd73a52d8cb615fa0034c4
parentbe863b9e4348a791e360d25611a1bdde2c9595ed
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.2M IOPS to
~3.5M IOPS.

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