public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* simplify passthrough bio handling
@ 2025-01-03  7:33 Christoph Hellwig
  2025-01-03  7:33 ` [PATCH 1/2] block: remove bio_add_pc_page Christoph Hellwig
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Christoph Hellwig @ 2025-01-03  7:33 UTC (permalink / raw)
  To: Jens Axboe; +Cc: linux-block, linux-nvme, linux-scsi, target-devel

Hi Jens,

this series removes the special casing when adding pages to passthrough
bios in favor of simply checking that they match the queue limits once
before submissions.  This mirrors where the zone append users have been
moving and a recent doing the same for a single optimizes passthrough
user.

Diffstat:
 block/bio.c                        |  107 +-----------------------------
 block/blk-map.c                    |  128 ++++++++++---------------------------
 block/blk-mq.c                     |    4 -
 block/blk.h                        |    8 --
 drivers/nvme/target/passthru.c     |   18 +++--
 drivers/nvme/target/zns.c          |    3 
 drivers/target/target_core_pscsi.c |    6 -
 include/linux/bio.h                |    2 
 include/linux/blk-mq.h             |    8 --
 9 files changed, 57 insertions(+), 227 deletions(-)

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

end of thread, other threads:[~2025-02-03 16:50 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-03  7:33 simplify passthrough bio handling Christoph Hellwig
2025-01-03  7:33 ` [PATCH 1/2] block: remove bio_add_pc_page Christoph Hellwig
2025-01-04 22:11   ` Sagi Grimberg
2025-02-03 16:49   ` Chaitanya Kulkarni
2025-01-03  7:33 ` [PATCH 2/2] block: remove blk_rq_bio_prep Christoph Hellwig
2025-01-04 22:11   ` Sagi Grimberg
2025-02-03 16:50   ` Chaitanya Kulkarni
2025-01-04 22:27 ` simplify passthrough bio handling Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox