From mboxrd@z Thu Jan 1 00:00:00 1970 From: Abhijith Das Date: Tue, 8 Mar 2011 10:40:42 -0500 (EST) Subject: [Cluster-devel] [GFS2 PATCH] - Bug 675944 - gfs2 quota allows exceeding hard limit In-Reply-To: <2128286308.330630.1299598759037.JavaMail.root@zmail05.collab.prod.int.phx2.redhat.com> Message-ID: <956492768.330676.1299598842750.JavaMail.root@zmail05.collab.prod.int.phx2.redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Immediately after being synced to disk, cached quotas are zeroed out and a subsequent access of the cached quotas results in incorrect zero values. This meant that gfs2 assumed the actual usage to be the zero (or near-zero) usage values it found in the cached quotas and comparison against warn/limits never triggered a quota violation. This patch adds a new flag QDF_REFRESH that is set after a sync so that the cached quotas are forcefully refreshed from disk on a subsequent access on seeing this flag set. Resolves: rhbz#675944 Signed-off-by: Abhi Das -------------- next part -------------- A non-text attachment was scrubbed... Name: bz675944-upstream.patch Type: text/x-patch Size: 1240 bytes Desc: not available URL: