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

Nilay Shroff nilay at linux.ibm.com
Tue Jun 23 07:01:45 PDT 2026


On 6/23/26 6:05 PM, Keith Busch wrote:
> 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"?

This is a good idea. I think, we should consider reporting this.

Thanks,
--Nilay



More information about the Linux-nvme mailing list