diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2021-08-31 04:30:30 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2021-08-31 04:30:30 +0200 |
commit | 3b629f8d6dc04d3af94429c18fe17239d6fbe2c3 (patch) | |
tree | f67dd6ef5c662927ee4c6533450c7b2c5724f69e /block/blk-merge.c | |
parent | Merge tag 'for-5.15/io_uring-2021-08-30' of git://git.kernel.dk/linux-block (diff) | |
parent | bio: improve kerneldoc documentation for bio_alloc_kiocb() (diff) | |
download | linux-3b629f8d6dc04d3af94429c18fe17239d6fbe2c3.tar.xz linux-3b629f8d6dc04d3af94429c18fe17239d6fbe2c3.zip |
Merge tag 'io_uring-bio-cache.5-2021-08-30' of git://git.kernel.dk/linux-block
Pull support for struct bio recycling from Jens Axboe:
"This adds bio recycling support for polled IO, allowing quick reuse of
a bio for high IOPS scenarios via a percpu bio_set list.
It's good for almost a 10% improvement in performance, bumping our
per-core IO limit from ~3.2M IOPS to ~3.5M IOPS"
* tag 'io_uring-bio-cache.5-2021-08-30' of git://git.kernel.dk/linux-block:
bio: improve kerneldoc documentation for bio_alloc_kiocb()
block: provide bio_clear_hipri() helper
block: use the percpu bio cache in __blkdev_direct_IO
io_uring: enable use of bio alloc cache
block: clear BIO_PERCPU_CACHE flag if polling isn't supported
bio: add allocation cache abstraction
fs: add kiocb alloc cache flag
bio: optimize initialization of a bio
Diffstat (limited to 'block/blk-merge.c')
-rw-r--r-- | block/blk-merge.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blk-merge.c b/block/blk-merge.c index eeba8422ae82..7a5c81c02c80 100644 --- a/block/blk-merge.c +++ b/block/blk-merge.c @@ -285,7 +285,7 @@ split: * iopoll in direct IO routine. Given performance gain of iopoll for * big IO can be trival, disable iopoll when split needed. */ - bio->bi_opf &= ~REQ_HIPRI; + bio_clear_hipri(bio); return bio_split(bio, sectors, GFP_NOIO, bs); } |