On 01/07/2014 09:28 AM, Ric Wheeler wrote: > On 12/23/2013 09:35 PM, Martin K. Petersen wrote: >>>>>>> "Christoph" == Christoph Hellwig <hch@xxxxxxxxxxxxx> writes: >> Christoph> We have the block integrity code to support DIF/DIX in the >> Christoph> the tree for about 5 and a half years, and we still don't >> Christoph> have a single consumer of it. >> >> What do you mean? If you have a DIX-capable HBA (lpfc, qla2xxx, zfcp) >> then integrity protection is active from the block layer down. The >> only >> code that's not currently being exercised are the tag interleaving >> functions. I was hoping the FS people would use them for back >> pointers >> but nobody seemed to bite. >> >> >> Christoph> Given that we'll have a lot of work to do in this area >> with >> Christoph> block multiqueue I think it's time to either kill it >> off for >> Christoph> good or make sure we can actually use and test it. >> >> I don't understand why multiqueue would require a lot of work? >> It's just >> an extra scatterlist per request. >> >> And obviously, if there's anything that needs to be done in this area >> I'll be happy to do so... >> > > One of the major knocks on linux file systems (except for btrfs) > that I hear is the lack of full data path checksums. DIF/DIX + xfs > or ext4 done right will give us another answer here. I don't think > it will be common, it is a request that comes in for very large > storage customers most commonly. > > We do have devices that support this and are working to get more > vendor testing done, so I would hate to see us throw out the code > instead of fixing it up for the end users that see value here. > > I think that we can get this working & agree with the call to > continue this discussion (here and at LSF :)) > I would indeed like to have a discussion at LSF about the future of DIX. DIF is not an issue, as most HBAs support it already and we actually need it for proper connectivity. DIX, OTOH, has been left dormant since time immemorial, with the only known (supposed) user being Oracle. (I actually talked to the DB/2 folks about it, and the response was a polite feigned interest ...) We need to come up with a concise story here (either integrate with filesystems or have a userland interface), otherwise it's just dead code and indeed should be removed. Plus so far I've had exactly _one_ request for DIX, and even that came from a company which has its own custom storage array firmware. Making me wonder if DIF/DIX is really that important or more of an tick-mark during procuring ... Even so, it would warrant a discussion at LSF. Cheers, Hannes -- Dr. Hannes Reinecke zSeries & Storage hare@xxxxxxx +49 911 74053 688 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: J. Hawn, J. Guild, F. Imendörffer, HRB 16746 (AG Nürnberg) -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html