CodeConstruct / dbus-sensors

D-Bus configurable sensor scanning applications
Apache License 2.0
0 stars 3 forks source link

Using health poll for namespace changes #3

Open drakedog2008 opened 11 months ago

drakedog2008 commented 11 months ago

A diff on nsid list is not trustworthy for scanning NS changes. https://github.com/CodeConstruct/dbus-sensors/blob/794103cd4d978d4f2a5209c3d45655a06dea804d/src/NVMeSubsys.cpp#L769C10-L769C10

Should turn to NAC(Namespace Attribute Changed) via health status poll.

From the comment: https://github.com/CodeConstruct/dbus-sensors/commit/0bd3368b1a466115bcec7e18d2880e01e199bb26#r129278792