diff options
author | 2024-11-04 07:26:30 +0100 | |
---|---|---|
committer | 2024-11-11 09:06:45 -0700 | |
commit | 7ecd2cd4fae3e8410c0a6620f3a83dcdbb254f02 (patch) | |
tree | 619a3dacf2613b18f3e6e163663d9df2c5535bfb /scripts/lib/kdoc/kdoc_files.py | |
parent | block: take chunk_sectors into account in bio_split_write_zeroes (diff) | |
download | linux-rng-7ecd2cd4fae3e8410c0a6620f3a83dcdbb254f02.tar.xz linux-rng-7ecd2cd4fae3e8410c0a6620f3a83dcdbb254f02.zip |
block: fix bio_split_rw_at to take zone_write_granularity into account
Otherwise it can create unaligned writes on zoned devices.
Fixes: a805a4fa4fa3 ("block: introduce zone_write_granularity limit")
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-3-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions