Re: [PATCH 05/14] target/spc: Add protection bit to standard INQUIRY output

From: Martin K. Petersen
Date: Fri Jan 10 2014 - 15:35:01 EST


>>>>> "nab" == Nicholas A Bellinger <nab@xxxxxxxxxxxxx> writes:

nab> This patch updates spc_emulate_inquiry_std() to set the PROTECT bit
nab> when DIF emulation is enabled by the backend device.

Technically, PROTECT only indicates whether a device is *capable* of
storing PI. But in our case I guess that's OK. It doesn't make much
sense to create a PI LUN and then not have PI enabled.

Reviewed-by: Martin K. Petersen <martin.petersen@xxxxxxxxxx>

--
Martin K. Petersen Oracle Linux Engineering
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/