freebsd-dev/sys/cam/scsi
Alexander Motin 11b569f7cb Add support for VERIFY(10/12/16) and COMPARE AND WRITE SCSI commands.
Make data_submit backends method support not only read and write requests,
but also two new ones: verify and compare.  Verify just checks readability
of the data in specified location without transferring them outside.
Compare reads the specified data and compares them to received data,
returning error if they are different.

VERIFY(10/12/16) commands request either verify or compare from backend,
depending on BYTCHK CDB field.  COMPARE AND WRITE command executed in two
stages: first it requests compare, and then, if succeesed, requests write.
Atomicity of operation is guarantied by CTL request ordering code.

MFC after:	2 weeks
Sponsored by:	iXsystems, Inc.
2014-06-16 11:00:14 +00:00
..
scsi_all.c Add support for VERIFY(10/12/16) and COMPARE AND WRITE SCSI commands. 2014-06-16 11:00:14 +00:00
scsi_all.h Add support for VERIFY(10/12/16) and COMPARE AND WRITE SCSI commands. 2014-06-16 11:00:14 +00:00
scsi_cd.c Fix build breakage caused by r264295 2014-04-10 05:04:23 +00:00
scsi_cd.h
scsi_ch.c
scsi_ch.h
scsi_da.c The code that combines adjacent ranges for BIO_DELETEs to optimize 2014-06-05 17:13:42 +00:00
scsi_da.h Add support for VERIFY(10/12/16) and COMPARE AND WRITE SCSI commands. 2014-06-16 11:00:14 +00:00
scsi_dvcfg.h
scsi_enc_internal.h
scsi_enc_safte.c
scsi_enc_ses.c
scsi_enc.c
scsi_enc.h
scsi_iu.h
scsi_low.c
scsi_low.h
scsi_message.h
scsi_pass.c
scsi_pass.h
scsi_pt.c
scsi_pt.h
scsi_sa.c
scsi_sa.h
scsi_ses.h
scsi_sg.c - Add support for SG_GET_SG_TABLESIZE IOCTL to report that we don't support 2014-06-04 12:05:47 +00:00
scsi_sg.h Overhaul CAM SG driver IOCTL interfaces. 2014-06-02 19:53:53 +00:00
scsi_targ_bh.c
scsi_target.c
scsi_targetio.h
scsi_xpt.c
smp_all.c
smp_all.h