[PATCH v3 0/2] block: enable per-cpu bio cache by default
changfengnan
changfengnan at bytedance.com
Wed Dec 3 00:31:02 PST 2025
Ping
> From: "Fengnan Chang"<changfengnan at bytedance.com>
> Date: Fri, Nov 14, 2025, 17:22
> Subject: [PATCH v3 0/2] block: enable per-cpu bio cache by default
> To: <axboe at kernel.dk>, <viro at zeniv.linux.org.uk>, <brauner at kernel.org>, <jack at suse.cz>, <asml.silence at gmail.com>, <willy at infradead.org>, <djwong at kernel.org>, <hch at infradead.org>, <ritesh.list at gmail.com>, <linux-fsdevel at vger.kernel.org>, <io-uring at vger.kernel.org>, <linux-xfs at vger.kernel.org>, <linux-ext4 at vger.kernel.org>, <linux-block at vger.kernel.org>, <ming.lei at redhat.com>, <linux-nvme at lists.infradead.org>
> Cc: "Fengnan Chang"<changfengnan at bytedance.com>
> 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.
>
> v3:
> fix some build warnings.
>
> 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 | 90 ++++++++++++++++-----------------------
> block/fops.c | 4 --
> drivers/nvme/host/ioctl.c | 2 +-
> include/linux/fs.h | 3 --
> io_uring/rw.c | 1 -
> 6 files changed, 49 insertions(+), 77 deletions(-)
>
>
> base-commit: 4a0c9b3391999818e2c5b93719699b255be1f682
> --
> 2.39.5 (Apple Git-154)
>
More information about the Linux-nvme
mailing list