From: Martin K. Petersen Date: Thu, 17 Jul 2008 08:28:34 +0000 (-0400) Subject: [SCSI] sd: Identify DIF protection type and application tag ownership X-Git-Tag: v2.6.27-rc1~55^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e0597d70012c82e16ee152270a55d89d8bf66693;p=pandora-kernel.git [SCSI] sd: Identify DIF protection type and application tag ownership If a disk is formatted with protection information (Inquiry bit PROTECT=1) it is required to support Read Capacity(16). Force use of the 16-bit command in this case and extract the P_TYPE field which indicates whether the disk is formatted using DIF Type 1, 2 or 3. The ATO (App Tag Own) bit in the Control Mode Page indicates whether the storage device or the initiator own the contents of the DIF application tag. Signed-off-by: Martin K. Petersen Signed-off-by: James Bottomley --- Reading git-diff-tree failed