[PATCH blktests v5 3/4] nvme/rc: Add helper to wait for nvme ctrl state

Chaitanya Kulkarni chaitanyak at nvidia.com
Wed Apr 5 11:43:00 PDT 2023


On 4/5/23 08:46, Daniel Wagner wrote:
> The function waits until it sees a given state (or timeouts).
> Unfortunately, we can't use /sys/class/nvme/nvme%d because this symlink
> will be removed if the controller is going through resetting state. Thus
> use the real nvme%d directly.
>
> Signed-off-by: Daniel Wagner <dwagner at suse.de>
> ---
>

Looks good.

Reviewed-by: Chaitanya Kulkarni <kch at nvidia.com>

-ck




More information about the Linux-nvme mailing list