]> www.infradead.org Git - nvme.git/commit
block: unmap and free user mapped integrity via submitter
authorAnuj Gupta <anuj20.g@samsung.com>
Mon, 10 Jun 2024 11:11:44 +0000 (16:41 +0530)
committerJens Axboe <axboe@kernel.dk>
Wed, 12 Jun 2024 17:00:50 +0000 (11:00 -0600)
commite038ee6189842e9662d2fc59d09dbcf48350cf99
treec6a6cad2cd2e758ec2c39e740c10f5deb8f06da8
parentd0321c812d89c5910d8da8e4b10c891c6b96ff70
block: unmap and free user mapped integrity via submitter

The user mapped intergity is copied back and unpinned by
bio_integrity_free which is a low-level routine. Do it via the submitter
rather than doing it in the low-level block layer code, to split the
submitter side from the consumer side of the bio.

Signed-off-by: Anuj Gupta <anuj20.g@samsung.com>
Signed-off-by: Kanchan Joshi <joshi.k@samsung.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Link: https://lore.kernel.org/r/20240610111144.14647-1-anuj20.g@samsung.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bio-integrity.c
drivers/nvme/host/ioctl.c
include/linux/bio.h