Skip to content
Commit 0b7f1f26 authored by Keith Busch's avatar Keith Busch Committed by Jens Axboe
Browse files

nvme: use the block layer for userspace passthrough metadata



Use the integrity API to pass through metadata from userspace.  For PI
enabled devices this means that we now validate the reftag, which seems
like an unintentional ommission in the old code.

Thanks to Keith Busch for testing and fixes.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
[Skip metadata setup on admin commands]
Signed-off-by: default avatarKeith Busch <keith.busch@intel.com>
Signed-off-by: default avatarJens Axboe <axboe@fb.com>
parent 4160982e
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