This is the mail archive of the
cluster-cvs@sourceware.org
mailing list for the cluster.
cluster/gfs-kernel/src/gfs ops_super.c super.c
- From: wcheng at sourceware dot org
- To: cluster-cvs at sources dot redhat dot com
- Date: 15 Feb 2006 19:35:42 -0000
- Subject: cluster/gfs-kernel/src/gfs ops_super.c super.c
CVSROOT: /cvs/cluster
Module name: cluster
Changes by: wcheng@sourceware.org 2006-02-15 19:35:42
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() call.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs-kernel/src/gfs/ops_super.c.diff?cvsroot=cluster&r1=1.19&r2=1.20
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs-kernel/src/gfs/super.c.diff?cvsroot=cluster&r1=1.16&r2=1.17