[PATCHv4 0/7] nvmet: debugfs support

Chaitanya Kulkarni chaitanyak at nvidia.com
Mon Apr 8 11:29:10 PDT 2024


On 3/26/24 05:03, Hannes Reinecke wrote:
> Hi all,
>
> taking up the original patchset for nvmet debugfs
> I've improved upon that submission by modifying
> the layout:
>
> /dev/kernel/debug/nvmet
>    <subsysnqn>
>      ctrl<cntlid>
>        port
>        state
>        hostnqn
>        kato
>        host_traddr
>
> The 'state' attribute is the value of the
> CSTS register; one can trigger a controller reset
> by writing 'fatal' into it (to set CSTS.CFS).
>
> As usual, comments and reviews are welcome.
>
>

apart from few nits commented patch-series looks good to me.

Since it does touch all the transport and writes the controller
state transport independent blktest would be very useful to trigger
nvmet_fatal_error_handler() while I/O traffic is running from host ?

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

-ck




More information about the Linux-nvme mailing list