Re: remount-ro & umount & quota interaction

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Michael Tokarev
Date: Thursday, February 7, 2008 - 3:49 am

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
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
remount-ro & umount & quota interaction, Michael Tokarev, (Wed Feb 6, 10:55 am)
Re: remount-ro & umount & quota interaction, Michael Tokarev, (Thu Feb 7, 3:49 am)
Re: remount-ro & umount & quota interaction, Jan Engelhardt, (Thu Feb 7, 7:10 am)
Re: remount-ro & umount & quota interaction, Michael Tokarev, (Thu Feb 7, 8:36 am)
Re: remount-ro & umount & quota interaction, David Chinner, (Thu Feb 7, 5:32 pm)