]> www.infradead.org Git - users/willy/pagecache.git/commit
btrfs: use bio_is_zone_append() in the completion handler
authorChristoph Hellwig <hch@lst.de>
Mon, 4 Nov 2024 06:26:32 +0000 (07:26 +0100)
committerDavid Sterba <dsterba@suse.com>
Tue, 17 Dec 2024 18:54:32 +0000 (19:54 +0100)
commit6c3864e055486fadb5b97793b57688082e14b43b
tree41c8a3ddff2d900a3b74576b95a542318df91e0d
parentd75d72a858f0c00ca8ae161b48cdb403807be4de
btrfs: use bio_is_zone_append() in the completion handler

Otherwise it won't catch bios turned into regular writes by the block
level zone write plugging. The additional test it adds is for emulated
zone append.

Fixes: 9b1ce7f0c6f8 ("block: Implement zone append emulation")
CC: stable@vger.kernel.org # 6.12
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/bio.c