Well, I guess the question is whether an xfs-frozen writer really needs
to be UNINTERRUPTIBLE from the freezer's perspective (clearly it does
from usermode's perspective - filesystem writes just don't return EINTR).
From a quick poke around, it looks to me like freezing is actually
implemented in the VFS layer rather than in XFS itself: is that right?
Could vfs_check_frozen() be changed to something that is freezer-compatible?
What would be the implications of that? Would that just prevent
freezing while there's something blocked there?
I specifically added it because I was getting data loss due to crashes
during suspend/resume problems. It's been pretty stable lately, but I
may as well remove the xfs_freeze from my suspend scripts if this is the
solution.
I think the broader issue is that there's no reason in principle why
something blocked due to xfs-freezing (or vfs freezing) should prevent
the freezer from completing.
J
-