Thread (50 messages) 50 messages, 3 authors, 2020-06-02

Re: [PATCH 02/14] xfs: preserve default grace interval during quotacheck

From: Eric Sandeen <hidden>
Date: 2020-03-03 15:52:44

On 3/3/20 7:48 AM, Darrick J. Wong wrote:
On Mon, Mar 02, 2020 at 09:03:37PM -0600, Eric Sandeen wrote:
quoted
On 2/18/20 8:55 PM, Eric Sandeen wrote:
quoted
On 12/31/19 7:11 PM, Darrick J. Wong wrote:
quoted
From: Darrick J. Wong <redacted>

When quotacheck runs, it zeroes all the timer fields in every dquot.
Unfortunately, it also does this to the root dquot, which erases any
preconfigured grace interval that the administrator may have set.  Worse
yet, the incore copies of those variables remain set.  This cache
coherence problem manifests itself as the grace interval mysteriously
being reset back to the defaults at the /next/ mount.

Fix it by resetting the root disk dquot's timer fields to the incore
values.
Uh, so, even with this, it seems that we don't properly set up default time
limits on the first mount.  Looking into it...
Sorry.  This was actually a regression from my timer-per-type series.  :(

so ignore this critique, it's my fault. ;)
But will you (or anyone really) please review this fix?
I did; I have other comments on it up-thread.

-Eric
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help