linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] block: enable per-cpu bio cache by default
@ 2025-11-07  2:05 Fengnan Chang
  2025-11-07  2:05 ` [PATCH v2 1/2] block: use bio_alloc_bioset for passthru IO " Fengnan Chang
  2025-11-07  2:05 ` [PATCH v2 2/2] block: enable per-cpu bio cache " Fengnan Chang
  0 siblings, 2 replies; 5+ messages in thread
From: Fengnan Chang @ 2025-11-07  2:05 UTC (permalink / raw)
  To: axboe, viro, brauner, jack, asml.silence, willy, djwong, hch,
	ritesh.list, linux-fsdevel, io-uring, linux-xfs, linux-ext4,
	linux-block, ming.lei, linux-nvme
  Cc: Fengnan Chang

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)


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-11-08  1:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-07  2:05 [PATCH v2 0/2] block: enable per-cpu bio cache by default Fengnan Chang
2025-11-07  2:05 ` [PATCH v2 1/2] block: use bio_alloc_bioset for passthru IO " Fengnan Chang
2025-11-07  3:17   ` kernel test robot
2025-11-08  1:15   ` kernel test robot
2025-11-07  2:05 ` [PATCH v2 2/2] block: enable per-cpu bio cache " Fengnan Chang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).