Jan Kara wrote:
[deadlock after remount-ro followed with umount when
quota is enabled]
Hmm. While that will prevent the lockup, maybe it's better to
perform an equivalent of quotaoff on mount-ro instead? Or even
do something more useful, like flush the quota stuff like the
rest of the filesystem is flushed to disk, so that on umount,
quota will not stay on the way...
I mean, why it locks in the first place? Quota subsystem trying
to write something into an read-only filesystem? If so, WHY it
is trying to do that on umount instead on a remount-ro?
Thanks!
/mjt
--