cluster/gfs-kernel/src/gfs ops_super.c super.c

wcheng@sourceware.org wcheng@sourceware.org
Wed Feb 15 22:49:00 GMT 2006


CVSROOT:	/cvs/cluster
Module name:	cluster
Branch: 	STABLE
Changes by:	wcheng@sourceware.org	2006-02-15 22:49:19

Modified files:
	gfs-kernel/src/gfs: ops_super.c super.c 

Log message:
	Joined work of bugzilla 164331 (Abhijith Das) and 178469 (specsfs):
	
	While granting exclusive lock, gfs_glock_cb() expects all other threads
	have relinguished their writes and journal has been flushed and shutdown.
	Otherwise it aborts the call and forces a filesystem consistency error.
	The current umount code (gfs_put_super) doesn't follow this logic by
	doing flushes without log shutdown before the exclusive lock is requested.
	The patch works around this issue by relocating the flushes into
	gfs_make_fs_ro() call itself after the gfs_glock_nq_init().

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs-kernel/src/gfs/ops_super.c.diff?cvsroot=cluster&only_with_tag=STABLE&r1=1.12.2.1.4.2.2.1&r2=1.12.2.1.4.2.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs-kernel/src/gfs/super.c.diff?cvsroot=cluster&only_with_tag=STABLE&r1=1.12.2.1.4.1.2.1&r2=1.12.2.1.4.1.2.2



More information about the Cluster-cvs mailing list