[PATCH] nvme-multipath: expose path_state via sysfs
Daniel Wagner
dwagner at suse.de
Mon Jun 22 00:50:16 PDT 2026
On Mon, Jun 22, 2026 at 10:02:48AM +0800, Guixin Liu wrote:
> > The ctrl state is already exposed to the sysfs. What's the use case for
> > this sysfs entry?
> 1. A controller being live only indicates that the transport connection is
> healthy.
> However, due to ANA, a path through that controller may be inaccessible or
> non-optimized.
> The ctrl state simply cannot express this.
Ah, I thought this info is already in the sysfs but it's just the ns
head one. Though I think it would be better to expose the complete state
not the filtered one via nvme_path_is_disabled().
More information about the Linux-nvme
mailing list