GFS2: Add commit= mount option
authorSteven Whitehouse <swhiteho@redhat.com>
Wed, 13 May 2009 13:49:48 +0000 (14:49 +0100)
committerSteven Whitehouse <swhiteho@redhat.com>
Wed, 13 May 2009 13:49:48 +0000 (14:49 +0100)
commit48c2b613616235d7c97fda5982f50100a6c79166
tree7c735f22b3908ec4bdebd27f5b51a8e4631485a6
parenta1c0643ff9f360a30644f6e3cd643ca2a5083aea
GFS2: Add commit= mount option

It has always been possible to adjust the gfs2 log commit
interval, but only from the sysfs interface. This adds a
mount option, commit=<nn>, which will be familar to ext3
users.

The sysfs interface continues to be available as well, although
this might be removed in the future.

Also this patch cleans up some duplicated structures in the GFS2
sysfs code.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/incore.h
fs/gfs2/mount.c
fs/gfs2/ops_fstype.c
fs/gfs2/ops_super.c
fs/gfs2/sys.c