]> www.infradead.org Git - users/dwmw2/linux.git/commit
block: lift bio_is_zone_append to bio.h
authorChristoph Hellwig <hch@lst.de>
Mon, 4 Nov 2024 06:26:31 +0000 (07:26 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 11 Nov 2024 16:06:45 +0000 (09:06 -0700)
commit0ef2b9e698dbf9ba78f67952a747f35eb7060470
tree519ea11f26f3efca00a48b3a00c9a53bbe90d3f6
parent7ecd2cd4fae3e8410c0a6620f3a83dcdbb254f02
block: lift bio_is_zone_append to bio.h

Make bio_is_zone_append globally available, because file systems need
to use to check for a zone append bio in their end_io handlers to deal
with the block layer emulation.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Link: https://lore.kernel.org/r/20241104062647.91160-4-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk.h
include/linux/bio.h