diff options
author | Johannes Thumshirn <[email protected]> | 2020-06-19 15:59:04 +0900 |
---|---|---|
committer | Mike Snitzer <[email protected]> | 2020-06-19 12:25:58 -0400 |
commit | 415c79e13b17ce5f0a0815bab4d584f75f4d1171 (patch) | |
tree | fe347fdb7138a76c3d931e58b031cd79e04cd523 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | b38c0ad57f8e7810f2d994f49dab4ccb129cf31c (diff) |
dm: update original bio sector on Zone Append
Naohiro reported that issuing zone-append bios to a zoned block device
underneath a dm-linear device does not work as expected.
This because we forgot to reverse-map the sector the device wrote to the
original bio.
For zone-append bios, get the offset in the zone of the written sector
from the clone bio and add that to the original bio's sector position.
Fixes: 0512a75b98f8 ("block: Introduce REQ_OP_ZONE_APPEND")
Cc: [email protected]
Reported-by: Naohiro Aota <[email protected]>
Signed-off-by: Johannes Thumshirn <[email protected]>
Reviewed-by: Damien Le Moal <[email protected]>
Signed-off-by: Mike Snitzer <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions