[PATCH v2 2/5] nvmet: read CRTO from the capability register
Nilay Shroff
nilay at linux.ibm.com
Thu Dec 3 07:26:19 PST 2026
On 12/2/26 5:28 PM, Guixin Liu wrote:
> The CRTO property reports the controller ready timeout, which lives in
> the CAP register. nvmet_execute_prop_get() extracts it from CSTS
> instead, where only the low bits are defined, so the property always
> reads zero. Any host or tool that reads CRTO directly then gets 0
> rather than the advertised CAP.TO.
>
> Read NVME_CAP_TIMEOUT() from ctrl->cap.
>
> Fixes: 1e058089d28f5 ("nvmet: implement crto property")
> Cc:stable at vger.kernel.org
> Signed-off-by: Guixin Liu<kanie at linux.alibaba.com>
Looks good to me:
Reviewed-by: Nilay Shroff <nilay at linux.ibm.com>
More information about the Linux-nvme
mailing list