[PATCH blktests v2 09/13] nvme: check for controller device in _nvme_connect_subsys()
Chaitanya Kulkarni
chaitanyak at nvidia.com
Wed Oct 30 00:59:36 PDT 2024
On 10/29/24 23:51, Shin'ichiro Kawasaki wrote:
> From: Hannes Reinecke<hare at suse.de>
>
> When calling 'nvme connect' we cannot assume that a namespace is
> always present (eg if connecting to a discovery service), so better
> check for the controller device to ensure that 'nvme connect' has
> succeeded.
>
> Signed-off-by: Hannes Reinecke<hare at suse.de>
> [Shin'ichiro: fixed _nvme_connect_subsys() return for no_wait case]
> Reviewed-by: Daniel Wagner<dwagner at suse.de>
> Signed-off-by: Shin'ichiro Kawasaki<shinichiro.kawasaki at wdc.com>
Looks good.
Reviewed-by: Chaitanya Kulkarni <kch at nvidia.com>
-ck
More information about the Linux-nvme
mailing list