Add ioctl to set integrity
set integrity increases reliability of files stored on SMB3 servers. Add ioctl to allow setting this on files on SMB3 and later mounts. Signed-off-by: Steve French <steve.french@primarydata.com>
This commit is contained in:

committed by
Steve French

parent
9d1b06602e
commit
b3152e2c7a
@@ -638,6 +638,7 @@ struct fsctl_get_integrity_information_rsp {
|
||||
/* Integrity ChecksumAlgorithm choices for above */
|
||||
#define CHECKSUM_TYPE_NONE 0x0000
|
||||
#define CHECKSUM_TYPE_CRC64 0x0002
|
||||
#define CHECKSUM_TYPE_UNCHANGED 0xFFFF /* set only */
|
||||
|
||||
/* Integrity flags for above */
|
||||
#define FSCTL_INTEGRITY_FLAG_CHECKSUM_ENFORCEMENT_OFF 0x00000001
|
||||
|
Reference in New Issue
Block a user