[PATCH] nvme: keep ctrl->namespaces ordered
Keith Busch
kbusch at kernel.org
Wed Sep 15 08:46:35 PDT 2021
On Wed, Sep 15, 2021 at 05:37:51PM +0200, Christoph Hellwig wrote:
> Various places in the nvme code that rely on ctrl->namespace to be
> ordered. Ensure that the namespae is inserted into the list at the
> right position from the start instead of sorting it after the fact.
>
> Fixes: 540c801c65eb ("NVMe: Implement namespace list scanning")
> Reported-by: Anton Eidelman <anton.eidelman at gmail.com>
> Signed-off-by: Christoph Hellwig <hch at lst.de>
Looks good:
Reviewed-by: Keith Busch <kbusch at kernel.org>
More information about the Linux-nvme
mailing list