Re: [PATCH 0/8] dax/kmem: atomic whole-device hotplug via sysfs

Gregory Price
2026-04-13T19:59:18Z

On Mon, Apr 13, 2026 at 09:40:49PM +0200, David Hildenbrand (Arm) wrote:
> >
> > I don't think this is a very large lift, just a slightly larger hotplug
> > locking scope. But then - the per-range thing in this set should just
> > work, so let me know if it's worth the extra churn.
>
> Well, you can rather cleanly undo the operation if any offlining fails.
> If that's not a requirement, then no need to change it!
>

It's not a requirement for me, but maybe it makes sense that

echo unplug > dax0.0/hotplug

Either fully succeeds or fully rolls back. Otherwise `cat hotplug`
would have to report "¯\_(ツ)_/¯".

So makes sense, i'll come back around on this.

~Gregory