Skip to content
Commit 4125a09b authored by Dan Williams's avatar Dan Williams Committed by Jens Axboe
Browse files

block, libnvdimm, nvme: provide a built-in blk_integrity nop profile



The libnvidmm-btt and nvme drivers use blk_integrity to reserve space
for per-sector metadata, but sometimes without protection checksums.
This property is generically useful, so teach the block core to
internally specify a nop profile if one is not provided at registration
time.

Cc: Keith Busch <keith.busch@intel.com>
Cc: Matthew Wilcox <willy@linux.intel.com>
Suggested-by: default avatarChristoph Hellwig <hch@lst.de>
[hch: kill the local nvme nop profile as well]
Acked-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
Signed-off-by: default avatarJens Axboe <axboe@fb.com>
parent 5a48fc14
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment