From mboxrd@z Thu Jan 1 00:00:00 1970 From: keith.busch@intel.com (Keith Busch) Date: Wed, 28 Jan 2015 22:17:21 +0000 (UTC) Subject: [PATCH] NVMe: Skip namespaces with interleaved meta-data In-Reply-To: References: <1422382021-15350-1-git-send-email-keith.busch@intel.com> <1422395867952.40819@hgst.com> <54C94B90.20805@ranbarg.com> <54C958D1.3010209@ranbarg.com> Message-ID: On Wed, 28 Jan 2015, Martin K. Petersen wrote: >>>>>> "Paul" == Paul Grabinar writes: > > Paul> What happens if you switch on and off meta-data dynamically with > Paul> /sys/block//integrity/write_generate and > Paul> /sys/block//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 an option for a subset of formats I eluded to before. It will have the controller generate/strip if the metadata size 8 bytes with DPS settings, but ignored otherwise. We still need a buffer if metadata is not used for PI, or if the metadata size more than 8 bytes.