On Fri, Oct 16, 2026 at 05:42:43PM -0400, Gregory Price (Meta) wrote: > From: Gregory Price <[email protected]> > > Recent kernels add /sys/bus/dax/devices/daxX.Y/state to dax_kmem > devices for atomic whole-device hotplug. It reads 'unplugged', > 'offline', 'online', 'online_kernel' or 'online_movable', and accepts > all but 'offline'. > > Add an enum and get/set accessors for it. The getter returns > DAXCTL_KMEM_UNKNOWN when the attribute is absent, so callers can fall > back to per-block operations.
Reviewed-by: Alison Schofield <[email protected]>
