[PATCH] NVMe: Skip namespaces with interleaved meta-data
Martin K. Petersen
martin.petersen at oracle.com
Wed Jan 28 14:08:41 PST 2015
>>>>> "Paul" == Paul Grabinar <paul.grabinar at ranbarg.com> writes:
Paul> What happens if you switch on and off meta-data dynamically with
Paul> /sys/block/<bdev>/integrity/write_generate and
Paul> /sys/block/<bdev>/integrity/read_verify?
I think the best way to go about dealing with all this is to set PRACT=1
if no bip is attached to a bio bound for a name space formatted with PI.
That's essentially how it works in SCSI (albeit for entirely different
reasons -- the DIF nexus is independent of the DIX ditto).
In retrospect I wish we had switched the polarity of PRACT so that you'd
have to explicitly request the PI to be passed to the OS.
--
Martin K. Petersen Oracle Linux Engineering
More information about the Linux-nvme
mailing list