[PATCH] NVMe: Fix IO for extended metadata formats

Jens Axboe axboe at fb.com
Fri Jun 19 12:16:51 PDT 2015


On 06/19/2015 11:07 AM, Keith Busch wrote:
> This fixes io submit ioctl handling when using extended metadata
> formats. When these formats are used, the user provides a single virtually
> contiguous buffer containing both the block and metadata interleaved,
> so the metadata size needs to be added to the total length and not mapped
> as a separate transfer.
>
> The command is also driver generated, so this patch does not enforce
> blk-integrity extensions provide the metadata buffer.

Applied for 4.2.

-- 
Jens Axboe




More information about the Linux-nvme mailing list