[PATCH 3/4] NVMe: End-to-end data protection

Martin K. Petersen martin.petersen at oracle.com
Tue Mar 12 18:29:02 EDT 2013


>>>>> "Keith" == Keith Busch <keith.busch at intel.com> writes:

Keith> The DIF meta-data generate and verify functions don't specify the
Keith> size meta-data per sector, so we can't handle anything that isn't
Keith> a DIF tuple size of 8 bytes.

The sector_size parameter in struct blk_interity defines the number of
bytes in each block. The tuple_size defines the size of the metadata per
block. I.e. 8 bytes for T10 PI.

-- 
Martin K. Petersen	Oracle Linux Engineering



More information about the Linux-nvme mailing list