summaryrefslogtreecommitdiff
path: root/include/linux/compiler.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2024-11-04 09:26:33 +0300
committerDavid Sterba <dsterba@suse.com>2024-12-17 21:54:32 +0300
commitbe691b5e593f2cc8cef67bbc59c1fb91b74a86a9 (patch)
tree6f1259daf9710734e2b0e6252cd3c6e4a3d89f42 /include/linux/compiler.h
parent6c3864e055486fadb5b97793b57688082e14b43b (diff)
downloadlinux-be691b5e593f2cc8cef67bbc59c1fb91b74a86a9.tar.xz
btrfs: split bios to the fs sector size boundary
Btrfs like other file systems can't really deal with I/O not aligned to it's internal block size (which strangely is called sector size in btrfs, for historical reasons), but the block layer split helper doesn't even know about that. Round down the split boundary so that all I/Os are aligned. Fixes: d5e4377d5051 ("btrfs: split zone append bios in btrfs_submit_bio") CC: stable@vger.kernel.org # 6.12 Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Damien Le Moal <dlemoal@kernel.org> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'include/linux/compiler.h')
0 files changed, 0 insertions, 0 deletions