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>
Thu, 12 Aug 2021 17:27:02 +0000 (11:27 -0600)
commitb5256809c70c6db3ac514706de979248186147cd
treef9c0096748ac1cd4f3a0d00a878dd3c005ff3e4c
parentcd36a5ff3ca84616f91bfc2eb1095b995529b72b
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