Skip to content

Commit b3b94fa

Browse files
teiglandswhiteho
authored andcommitted
[GFS2] The core of GFS2
This patch contains all the core files for GFS2. Signed-off-by: David Teigland <teigland@redhat.com> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
1 parent f7825dc commit b3b94fa

81 files changed

Lines changed: 29258 additions & 0 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎fs/gfs2/Kconfig‎

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
config GFS2_FS
2+
tristate "GFS2 file system support"
3+
default m
4+
depends on EXPERIMENTAL
5+
select FS_POSIX_ACL
6+
select SYSFS
7+
help
8+
A cluster filesystem.
9+
10+
Allows a cluster of computers to simultaneously use a block device
11+
that is shared between them (with FC, iSCSI, NBD, etc...). GFS reads
12+
and writes to the block device like a local filesystem, but also uses
13+
a lock module to allow the computers coordinate their I/O so
14+
filesystem consistency is maintained. One of the nifty features of
15+
GFS is perfect consistency -- changes made to the filesystem on one
16+
machine show up immediately on all other machines in the cluster.
17+
18+
To use the GFS2 filesystem, you will need to enable one or more of
19+
the below locking modules. Documentation and utilities for GFS2 can
20+
be found here: http://sources.redhat.com/cluster/gfs/
21+
22+
config GFS2_FS_LOCKING_NOLOCK
23+
tristate "GFS2 \"nolock\" locking module"
24+
depends on GFS2_FS
25+
help
26+
Single node locking module for GFS2.
27+
28+
Use this module if you want to use GFS2 on a single node without
29+
its clustering features. You can still take advantage of the
30+
large file support, and upgrade to running a full cluster later on
31+
if required.
32+
33+
If you will only be using GFS2 in cluster mode, you do not need this
34+
module.
35+
36+
config GFS2_FS_LOCKING_DLM
37+
tristate "GFS2 DLM locking module"
38+
depends on GFS2_FS
39+
select DLM
40+
help
41+
Multiple node locking module for GFS2
42+
43+
Most users of GFS2 will require this module. It provides the locking
44+
interface between GFS2 and the DLM, which is required to use GFS2
45+
in a cluster environment.
46+

‎fs/gfs2/Makefile‎

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
obj-$(CONFIG_GFS2_FS) += gfs2.o
2+
gfs2-y := \
3+
acl.o \
4+
bits.o \
5+
bmap.o \
6+
daemon.o \
7+
dir.o \
8+
eaops.o \
9+
eattr.o \
10+
glock.o \
11+
glops.o \
12+
inode.o \
13+
jdata.o \
14+
lm.o \
15+
log.o \
16+
lops.o \
17+
locking.o \
18+
lvb.o \
19+
main.o \
20+
meta_io.o \
21+
mount.o \
22+
ondisk.o \
23+
ops_address.o \
24+
ops_dentry.o \
25+
ops_export.o \
26+
ops_file.o \
27+
ops_fstype.o \
28+
ops_inode.o \
29+
ops_super.o \
30+
ops_vm.o \
31+
page.o \
32+
quota.o \
33+
resize.o \
34+
recovery.o \
35+
rgrp.o \
36+
super.o \
37+
sys.o \
38+
trans.o \
39+
unlinked.o \
40+
util.o
41+
42+
obj-$(CONFIG_GFS2_LOCKING_NOLOCK) += locking/nolock/
43+
obj-$(CONFIG_GFS2_LOCKING_DLM) += locking/dlm/
44+

0 commit comments

Comments
 (0)