]> www.infradead.org Git - users/jedix/linux-maple.git/commit
block: add support to pass user meta buffer
authorKanchan Joshi <joshi.k@samsung.com>
Thu, 28 Nov 2024 11:22:40 +0000 (16:52 +0530)
committerJens Axboe <axboe@kernel.dk>
Mon, 23 Dec 2024 15:17:17 +0000 (08:17 -0700)
commit3d8b5a22d40435b4a7e58f06ae2cd3506b222898
tree4cb97a78e8f3f2458e7d890b55e9b941b00bcc51
parent18623503a3a514780214850bf8ba8b03ea0f3a4b
block: add support to pass user meta buffer

If an iocb contains metadata, extract that and prepare the bip.
Based on flags specified by the user, set corresponding guard/app/ref
tags to be checked in bip.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Anuj Gupta <anuj20.g@samsung.com>
Signed-off-by: Kanchan Joshi <joshi.k@samsung.com>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Link: https://lore.kernel.org/r/20241128112240.8867-11-anuj20.g@samsung.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bio-integrity.c
block/fops.c
include/linux/bio-integrity.h