[PATCH 08/20] nvme: call nvme_identify_ns as the first thing in nvme_alloc_ns_block
Chaitanya Kulkarni
Chaitanya.Kulkarni at wdc.com
Tue Sep 29 17:24:38 EDT 2020
On 9/28/20 05:41, Christoph Hellwig wrote:
> Check if the namespace actually exists as the very first thing and don't
> bother with any extra work if not. This should speed up and simplify
> the sequential scanning for NVMe 1.0 devices.
>
> Signed-off-by: Christoph Hellwig <hch at lst.de>
Looks good.
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni at wdc.com>
More information about the Linux-nvme
mailing list