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

Guixin Liu kanie at linux.alibaba.com
Tue Jun 23 18:36:32 PDT 2026



在 2026/6/23 20:35, Keith Busch 写道:
> 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"?
Sure, good idea, I will change this in v3, thanks.

Best Regards,
Guixin Liu




More information about the Linux-nvme mailing list