nvme: use bio_integrity_map_user
authorKeith Busch <kbusch@kernel.org>
Thu, 30 Nov 2023 21:53:07 +0000 (13:53 -0800)
committerJens Axboe <axboe@kernel.dk>
Sat, 2 Dec 2023 01:29:18 +0000 (18:29 -0700)
commitd6aacee9255e7fc10654d867f077d7b0e381eeec
tree44c62d3e413347a2995f0d16220ab28a0060db2e
parent492c5d455969fc2e829f26ed4c83487b068f0dd7
nvme: use bio_integrity_map_user

Map user metadata buffers directly. Now that the bio tracks the
metadata, nvme doesn't need special metadata handling and tracking with
callbacks and additional fields in the pdu.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Link: https://lore.kernel.org/r/20231130215309.2923568-3-kbusch@meta.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/host/ioctl.c