]> www.infradead.org Git - users/hch/block.git/commit
block: add a new interface to enable T10-PI block-pi-cleanup
authorChristoph Hellwig <hch@lst.de>
Thu, 9 Jun 2022 07:37:15 +0000 (09:37 +0200)
committerChristoph Hellwig <hch@lst.de>
Thu, 9 Jun 2022 07:38:56 +0000 (09:38 +0200)
commitab8b5a828568d211d53df5eed0aa7697bac2bee6
tree9567380e4d2fb74a88f8237850bae15cfcbc95dd
parent932858280cc6106d4780ea950c1a61d45c9c1715
block: add a new interface to enable T10-PI

Replace blk_integrity_register with more targeted t10_pi_register
interfaces, which just takes a PI type and flags argument.  Two
new flags are added to indicate support for the new 64-bit guard
added in NVMe and to indicate if the HBA supports app tags.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Documentation/block/data-integrity.rst
block/blk-integrity.c
block/t10-pi.c
drivers/nvme/host/core.c
drivers/scsi/sd.c
include/linux/blk-integrity.h
include/linux/t10-pi.h