[PATCH v6 07/18] nvme: Introduce FENCING and FENCED controller states

Daniel Wagner dwagner at suse.de
Mon Oct 19 10:01:38 PDT 2026


> --- a/drivers/nvme/host/sysfs.c
> +++ b/drivers/nvme/host/sysfs.c
> @@ -542,6 +542,8 @@ static ssize_t nvme_sysfs_show_state(struct device *dev,
>  	static const char *const state_name[] = {
>  		[NVME_CTRL_NEW]		= "new",
>  		[NVME_CTRL_LIVE]	= "live",
> +		[NVME_CTRL_FENCING]	= "fencing",
> +		[NVME_CTRL_FENCED]	= "fenced",
>  		[NVME_CTRL_RESETTING]	= "resetting",
>  		[NVME_CTRL_CONNECTING]	= "connecting",
>  		[NVME_CTRL_DELETING]	= "deleting",

The ABI documentation needs to be updated.

-- 
Daniel Wagner <wagi at kernel.org>



More information about the Linux-nvme mailing list