summaryrefslogtreecommitdiffstats
path: root/include/linux/device-mapper.h
diff options
context:
space:
mode:
authorDamien Le Moal2017-05-09 01:40:47 +0200
committerMike Snitzer2017-06-19 17:03:51 +0200
commit264c869d44dcff17e3b108dbb2fbea24bed08538 (patch)
tree512687ea85a4a36cf6be6a59ebfee5ad0b3b59e2 /include/linux/device-mapper.h
parentdm: fix REQ_OP_ZONE_RESET bio handling (diff)
downloadkernel-qcow2-linux-264c869d44dcff17e3b108dbb2fbea24bed08538.tar.gz
kernel-qcow2-linux-264c869d44dcff17e3b108dbb2fbea24bed08538.tar.xz
kernel-qcow2-linux-264c869d44dcff17e3b108dbb2fbea24bed08538.zip
dm: fix REQ_OP_ZONE_REPORT bio handling
A REQ_OP_ZONE_REPORT bio is not a medium access command. Its number of sectors indicates the maximum size allowed for the report reply size and not an amount of sectors accessed from the device. REQ_OP_ZONE_REPORT bios should thus not be split depending on the target device maximum I/O length but passed as-is. Note that it is the responsability of the target to remap and format the report reply. Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com> Reviewed-by: Hannes Reinecke <hare@suse.com> Reviewed-by: Bart Van Assche <bart.vanassche@sandisk.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'include/linux/device-mapper.h')
0 files changed, 0 insertions, 0 deletions