block: remove zone append special casing from the direct I/O path
authorChristoph Hellwig <hch@lst.de>
Wed, 30 Oct 2024 05:18:51 +0000 (06:18 +0100)
committerJens Axboe <axboe@kernel.dk>
Thu, 31 Oct 2024 16:54:25 +0000 (10:54 -0600)
commitcafd00d0e90956c1c570a0a96cd86298897d247b
tree322663bb86012bf04c31bd6ed588ee787c5fbc83
parent496a51b37143c690a06612a6bd58827ef2341761
block: remove zone append special casing from the direct I/O path

This code is unused, and all future zoned file systems should follow
the btrfs lead of splitting the bios themselves to the zoned limits
in the I/O submission handler, because if they didn't they would be
hit by commit ed9832bc08db ("block: introduce folio awareness and add
a bigger size from folio") breaking this code when the zone append
limit (that is usually the max_hw_sectors limit) is smaller than the
largest possible folio size.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Link: https://lore.kernel.org/r/20241030051859.280923-2-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bio.c