mbox series

[0/5] scsi: target: COMPARE AND WRITE miscompare sense

Message ID 20201023205723.17880-1-ddiss@suse.de (mailing list archive)
Headers show
Series scsi: target: COMPARE AND WRITE miscompare sense | expand

Message

David Disseldorp Oct. 23, 2020, 8:57 p.m. UTC
This patchset adds missing functionality to return the offset of
non-matching read/compare data in the sense INFORMATION field on
COMPARE AND WRITE miscompare.

The functionality can be tested using the libiscsi
CompareAndWrite.MiscompareSense test proposed via:
  https://github.com/sahlberg/libiscsi/pull/344

Cheers, David

 drivers/target/target_core_sbc.c       | 134 +++++++++++++++----------
 drivers/target/target_core_transport.c |  33 +++---
 include/target/target_core_base.h      |   2 +-
 lib/scatterlist.c                      |   2 +-
 4 files changed, 102 insertions(+), 69 deletions(-)