simplify passthrough bio handling
Jens Axboe
axboe at kernel.dk
Sat Jan 4 14:27:52 PST 2025
On Fri, 03 Jan 2025 08:33:56 +0100, Christoph Hellwig wrote:
> 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(-)
>
> [...]
Applied, thanks!
[1/2] block: remove bio_add_pc_page
commit: 6aeb4f836480617be472de767c4cb09c1060a067
[2/2] block: remove blk_rq_bio_prep
commit: 02ee5d69e3baf2796ba75b928fcbc9cf7884c5e9
Best regards,
--
Jens Axboe
More information about the Linux-nvme
mailing list