diff options
author | mav <mav@FreeBSD.org> | 2014-07-02 10:45:31 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2014-07-02 10:45:31 +0000 |
commit | 2019810069bd9c631d9826af53b67d4db85aded0 (patch) | |
tree | ff47a45647a10708b53995183d172c4aa7e5810f /bin | |
parent | ada40bacc7d15a3aa8d4e7f950a6b1c3704535bd (diff) | |
download | FreeBSD-src-2019810069bd9c631d9826af53b67d4db85aded0.zip FreeBSD-src-2019810069bd9c631d9826af53b67d4db85aded0.tar.gz |
MFC r267537:
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.
Sponsored by: iXsystems, Inc.
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions