[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20251107020557.10097-1-changfengnan@bytedance.com>
Date: Fri, 7 Nov 2025 10:05:55 +0800
From: Fengnan Chang <changfengnan@...edance.com>
To: axboe@...nel.dk,
viro@...iv.linux.org.uk,
brauner@...nel.org,
jack@...e.cz,
asml.silence@...il.com,
willy@...radead.org,
djwong@...nel.org,
hch@...radead.org,
ritesh.list@...il.com,
linux-fsdevel@...r.kernel.org,
io-uring@...r.kernel.org,
linux-xfs@...r.kernel.org,
linux-ext4@...r.kernel.org,
linux-block@...r.kernel.org,
ming.lei@...hat.com,
linux-nvme@...ts.infradead.org
Cc: Fengnan Chang <changfengnan@...edance.com>
Subject: [PATCH v2 0/2] block: enable per-cpu bio cache by default
For now, per-cpu bio cache was only used in the io_uring + raw block
device, filesystem also can use this to improve performance.
After discussion in [1], we think it's better to enable per-cpu bio cache
by default.
v2:
enable per-cpu bio cache for passthru IO by default.
v1:
https://lore.kernel.org/linux-fsdevel/CAPFOzZs5mJ9Ts+TYkhioO8aAYfzevcgw7O3hjexFNb_tM+kEZA@mail.gmail.com/
[1] https://lore.kernel.org/linux-fsdevel/c4bc7c33-b1e1-47d1-9d22-b189c86c6c7d@gmail.com/
Fengnan Chang (2):
block: use bio_alloc_bioset for passthru IO by default
block: enable per-cpu bio cache by default
block/bio.c | 26 ++++++------
block/blk-map.c | 89 +++++++++++++++------------------------
block/fops.c | 4 --
drivers/nvme/host/ioctl.c | 2 +-
include/linux/fs.h | 3 --
io_uring/rw.c | 1 -
6 files changed, 48 insertions(+), 77 deletions(-)
base-commit: 4a0c9b3391999818e2c5b93719699b255be1f682
--
2.39.5 (Apple Git-154)
Powered by blists - more mailing lists