[SCSI] sd: Allow protection_type to be overridden
authorMartin K. Petersen <martin.petersen@oracle.com>
Tue, 28 Aug 2012 18:29:34 +0000 (14:29 -0400)
committerJames Bottomley <JBottomley@Parallels.com>
Mon, 24 Sep 2012 08:10:59 +0000 (12:10 +0400)
commit8172499aae4d375334cfe6361900929c3b31a03f
tree0eea141d22039a743ab4306ff2ee6c18aea74251
parent8c579ab69d50a416887390ba4b89598a7b2fa0b6
[SCSI] sd: Allow protection_type to be overridden

We have encountered a few devices that misbehaved when operating in T10
PI mode. Allow T10 PI protection type to be overridden from userland.

Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/sd.c