Skip to content

Tags: naota/linux

Tags

benchmark-v6.16

Toggle benchmark-v6.16's commit message
wakeup from sleep

benchmark-v6.16-rc6

Toggle benchmark-v6.16-rc6's commit message
dm: split write BIOs on zone boundaries when zone append is not emulated

Commit 2df7168 ("dm: Always split write BIOs to zoned device
limits") updates the device-mapper driver to perform splits for the
write BIOs. However, it did not address the cases where DM targets do
not emulate zone append, such as in the cases of dm-linear or dm-flakey.
For these targets, when the write BIOs span across zone boundaries, they
trigger WARN_ON_ONCE(bio_straddles_zones(bio)) in
blk_zone_wplug_handle_write(). This results in I/O errors. The errors
are reproduced by running blktests test case zbd/004 using zoned
dm-linear or dm-flakey devices.

To avoid the I/O errors, handle the write BIOs regardless whether DM
targets emulate zone append or not, so that all write BIOs are split at
zone boundaries. For that purpose, drop the check for zone append
emulation in dm_zone_bio_needs_split(). Its argument 'md' is no longer
used then drop it also.

Fixes: 2df7168 ("dm: Always split write BIOs to zoned device limits")
Signed-off-by: Shin'ichiro Kawasaki <[email protected]>
Reviewed-by: Damien Le Moal <[email protected]>

hot-fix-fio-0627

Toggle hot-fix-fio-0627's commit message
btrfs: zoned: retry allocation

hot-fix-fio-0422

Toggle hot-fix-fio-0422's commit message
fixup

v5.17

Toggle v5.17's commit message
Linux 5.17

v5.17-rc8

Toggle v5.17-rc8's commit message
Linux 5.17-rc8

v5.17-rc7

Toggle v5.17-rc7's commit message
Linux 5.17-rc7

v5.17-rc6

Toggle v5.17-rc6's commit message
Linux 5.17-rc6

v5.17-rc5

Toggle v5.17-rc5's commit message
Linux 5.17-rc5

v5.17-rc4

Toggle v5.17-rc4's commit message
Linux 5.17-rc4