GFS2: Improve statfs and quota usability
authorBenjamin Marzinski <bmarzins@redhat.com>
Tue, 20 Oct 2009 07:39:44 +0000 (02:39 -0500)
committerSteven Whitehouse <swhiteho@redhat.com>
Thu, 3 Dec 2009 11:55:17 +0000 (11:55 +0000)
commit3d3c10f2ce80d2a19e5e02023c2b7ab7086c36d5
tree56b62b064457596caf66700323ff5aac2320ae93
parent2ec4650526c5a94d96bb760001fe0685b15988de
GFS2: Improve statfs and quota usability

GFS2 now has three new mount options, statfs_quantum, quota_quantum and
statfs_percent.  statfs_quantum and quota_quantum simply allow you to
set the tunables of the same name.  Setting setting statfs_quantum to 0
will also turn on the statfs_slow tunable.  statfs_percent accepts an
integer between 0 and 100.  Numbers between 1 and 100 will cause GFS2 to
do any early sync when the local number of blocks free changes by at
least statfs_percent from the totoal number of blocks free.  Setting
statfs_percent to 0 disables this.

Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/incore.h
fs/gfs2/ops_fstype.c
fs/gfs2/quota.c
fs/gfs2/quota.h
fs/gfs2/super.c