[PATCH v2] nvme-multipath: expose path_state via sysfs

Keith Busch kbusch at kernel.org
Tue Jun 23 05:35:12 PDT 2026


On Mon, Jun 22, 2026 at 09:03:18PM +0800, Guixin Liu wrote:
> The attribute reflects the result of nvme_path_is_disabled() checks:
>   - "enabled"                   : path is available for I/O
>   - "disabled (ctrl_down)"      : controller is not live/deleting
>   - "disabled (ana_pending)"    : ANA state change pending
>   - "disabled (ns_not_ready)"   : namespace is not ready

I'm a bit late to looking at this, but just a knee jerk thought,
wouldn't you want to distinguish "enabled optimized" vs "enabled
unoptimized"?



More information about the Linux-nvme mailing list