Re: [PATCH] quota: Turn quotas off when remounting read-only

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Michael Tokarev
Date: Thursday, February 7, 2008 - 12:27 pm

Andrew Morton wrote:

[a nice one-liner snipped]


Provided the amount of time this issue exists, I don't think it's worth
to push it to -stable.  It's an oooooooold, issue, which happens quite
rarely, and no one bothered to report it so far...  But it's not my
call... ;)

But...  I'm thinking about this scenario:

 # mount /data
 # quotaon /data
 (some maintenance stuff to be planned)
 # mount -o remount,ro /data
 (do backup etc)
 # mount -r remount,rw /data

at this point, it's expected that quota on /data is enabled.
After this patch, it's not anymore...

I think it's more usual scenario than mine (umount instead of
remount-rw).  And this change will break it.  So I'm not sure
what really to do here.  Probably refusing remount-ro if quota
is on is better...  it's annoying for sure, but at least it's
explicit, and avoids the handg too.

/mjt
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] quota: Turn quotas off when remounting read-only, Michael Tokarev, (Thu Feb 7, 12:27 pm)
Re: [PATCH] quota: Turn quotas off when remounting read-only, Michael Tokarev, (Fri Feb 15, 7:21 am)