[PATCH blktests 1/2] common/nvme: add '--no-wait-ns' argument to _nvme_connect_subsys()
Shinichiro Kawasaki
shinichiro.kawasaki at wdc.com
Wed Aug 27 23:06:17 PDT 2025
On Aug 22, 2025 / 11:10, Yi Zhang wrote:
> The default behavior of _nvme_connect_subsys is just wait for the
> controller ready, but sometimes the namespace was not ready after
> _nvme_connect_subsys especially on RT kernel, it's better we can
> have namespace ready in _nvme_connect_subsys, so
> 1) re-use the the function _nvme_ns_ready to check namespace ready
> 2) add one new argument `--no-wait-ns` to skip for the cases that
> don't need wait for namespace ready
> 3) update to use "return 1" for controller failure check and "return 2"
> for namespace failure check
>
> After this change, it will avoids the failures like below which easy to
> be reproduced on rt kernel:
...
I applied this patch. Please note that I took the liberty to simplify the commit
message per Daniel's comment. Thanks!
More information about the Linux-nvme
mailing list