* [Cluster-devel] [GFS2 PATCH] - Bug 675944 - gfs2 quota allows exceeding hard limit [not found] <2128286308.330630.1299598759037.JavaMail.root@zmail05.collab.prod.int.phx2.redhat.com> @ 2011-03-08 15:40 ` Abhijith Das 2011-03-09 9:58 ` Steven Whitehouse 0 siblings, 1 reply; 2+ messages in thread From: Abhijith Das @ 2011-03-08 15:40 UTC (permalink / raw) To: cluster-devel.redhat.com 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 <adas@redhat.com> -------------- next part -------------- A non-text attachment was scrubbed... Name: bz675944-upstream.patch Type: text/x-patch Size: 1240 bytes Desc: not available URL: <http://listman.redhat.com/archives/cluster-devel/attachments/20110308/56ab5a45/attachment.bin> ^ permalink raw reply [flat|nested] 2+ messages in thread
* [Cluster-devel] [GFS2 PATCH] - Bug 675944 - gfs2 quota allows exceeding hard limit 2011-03-08 15:40 ` [Cluster-devel] [GFS2 PATCH] - Bug 675944 - gfs2 quota allows exceeding hard limit Abhijith Das @ 2011-03-09 9:58 ` Steven Whitehouse 0 siblings, 0 replies; 2+ messages in thread From: Steven Whitehouse @ 2011-03-09 9:58 UTC (permalink / raw) To: cluster-devel.redhat.com Hi, On Tue, 2011-03-08 at 10:40 -0500, Abhijith Das wrote: > 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 <adas@redhat.com> Now in the -nmw git tree. Thanks, Steve. ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-03-09 9:58 UTC | newest] Thread overview: 2+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <2128286308.330630.1299598759037.JavaMail.root@zmail05.collab.prod.int.phx2.redhat.com> 2011-03-08 15:40 ` [Cluster-devel] [GFS2 PATCH] - Bug 675944 - gfs2 quota allows exceeding hard limit Abhijith Das 2011-03-09 9:58 ` Steven Whitehouse
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).