Searched hist:"415 c79e13b17ce5f0a0815bab4d584f75f4d1171" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/md/ |
H A D | dm.c | diff 415c79e13b17ce5f0a0815bab4d584f75f4d1171 Fri Jun 19 01:59:04 CDT 2020 Johannes Thumshirn <johannes.thumshirn@wdc.com> 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: stable@vger.kernel.org Reported-by: Naohiro Aota <Naohiro.Aota@wdc.com> Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Reviewed-by: Damien Le Moal <damien.lemoal@wdc.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
|