diff options
author | Christoph Hellwig <hch@lst.de> | 2024-11-04 07:26:30 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-11-11 09:06:45 -0700 |
commit | 7ecd2cd4fae3e8410c0a6620f3a83dcdbb254f02 (patch) | |
tree | 619a3dacf2613b18f3e6e163663d9df2c5535bfb /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | 60dc5ea6bcfd078b71419640d49afa649acf9450 (diff) | |
download | linux-7ecd2cd4fae3e8410c0a6620f3a83dcdbb254f02.tar.gz linux-7ecd2cd4fae3e8410c0a6620f3a83dcdbb254f02.tar.bz2 linux-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 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions