]> www.infradead.org Git - users/dwmw2/linux.git/commit
block: remove bio_add_zone_append_page
authorChristoph Hellwig <hch@lst.de>
Wed, 30 Oct 2024 05:18:52 +0000 (06:18 +0100)
committerJens Axboe <axboe@kernel.dk>
Thu, 31 Oct 2024 16:54:25 +0000 (10:54 -0600)
commitf187b9bf1a639090893c31030ddb60f9beae23f0
treecd58b3ee714e75b131398405a6ba0ebca0140b1a
parentcafd00d0e90956c1c570a0a96cd86298897d247b
block: remove bio_add_zone_append_page

This is only used by the nvmet zns passthrough code, which can trivially
just use bio_add_pc_page and do the sanity check for the max zone append
limit itself.

All future zoned file systems should follow the btrfs lead and let the
upper layers fill up bios unlimited by hardware constraints and split
them to the limits in the I/O submission handler.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Link: https://lore.kernel.org/r/20241030051859.280923-3-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bio.c
drivers/nvme/target/zns.c
include/linux/bio.h