On Wed, May 07, 2025 at 01:18:34PM +0200, Jan Kara wrote: > On Fri 04-04-25 12:24:09, Christian Brauner wrote: > > If hibernation races with filesystem freezing (e.g. DM reconfiguration), > > then hibernation need not freeze a filesystem because it's already > > frozen but userspace may thaw the filesystem before hibernation actually > > happens. > > > > If the race happens the other way around, DM reconfiguration may > > unexpectedly fail with EBUSY. > > > > So allow FREEZE_EXCL to nest with other holders. An exclusive freezer > > cannot be undone by any of the other concurrent freezers. > > > > Signed-off-by: Christian Brauner <brauner@xxxxxxxxxx> > > This has fallen through the cracks in my inbox but the patch now looks good > to me. Maybe we should fold it into "fs: add owner of freeze/thaw" to not > have strange intermediate state in the series? Done.