![Steven Whitehouse](/assets/img/avatar_default.png)
This patch fixes a race condition where we can receive recovery requests part way through processing a umount. This was causing problems since the recovery thread had already gone away. Looking in more detail at the recovery code, it was really trying to implement a slight variation on a work queue, and that happens to align nicely with the recently introduced slow-work subsystem. As a result I've updated the code to use slow-work, rather than its own home grown variety of work queue. When using the wait_on_bit() function, I noticed that the wait function that was supplied as an argument was appearing in the WCHAN field, so I've updated the function names in order to produce more meaningful output. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
39 lines
1.5 KiB
Plaintext
39 lines
1.5 KiB
Plaintext
config GFS2_FS
|
|
tristate "GFS2 file system support"
|
|
depends on EXPERIMENTAL && (64BIT || LBD)
|
|
select DLM if GFS2_FS_LOCKING_DLM
|
|
select CONFIGFS_FS if GFS2_FS_LOCKING_DLM
|
|
select SYSFS if GFS2_FS_LOCKING_DLM
|
|
select IP_SCTP if DLM_SCTP
|
|
select FS_POSIX_ACL
|
|
select CRC32
|
|
select SLOW_WORK
|
|
help
|
|
A cluster filesystem.
|
|
|
|
Allows a cluster of computers to simultaneously use a block device
|
|
that is shared between them (with FC, iSCSI, NBD, etc...). GFS reads
|
|
and writes to the block device like a local filesystem, but also uses
|
|
a lock module to allow the computers coordinate their I/O so
|
|
filesystem consistency is maintained. One of the nifty features of
|
|
GFS is perfect consistency -- changes made to the filesystem on one
|
|
machine show up immediately on all other machines in the cluster.
|
|
|
|
To use the GFS2 filesystem in a cluster, you will need to enable
|
|
the locking module below. Documentation and utilities for GFS2 can
|
|
be found here: http://sources.redhat.com/cluster
|
|
|
|
The "nolock" lock module is now built in to GFS2 by default. If
|
|
you want to use the DLM, be sure to enable HOTPLUG and IPv4/6
|
|
networking.
|
|
|
|
config GFS2_FS_LOCKING_DLM
|
|
bool "GFS2 DLM locking"
|
|
depends on (GFS2_FS!=n) && NET && INET && (IPV6 || IPV6=n) && HOTPLUG
|
|
help
|
|
Multiple node locking module for GFS2
|
|
|
|
Most users of GFS2 will require this. It provides the locking
|
|
interface between GFS2 and the DLM, which is required to use GFS2
|
|
in a cluster environment.
|