0001 # SPDX-License-Identifier: GPL-2.0-only
0002 config GFS2_FS
0003 tristate "GFS2 file system support"
0004 select FS_POSIX_ACL
0005 select CRC32
0006 select LIBCRC32C
0007 select QUOTACTL
0008 select FS_IOMAP
0009 help
0010 A cluster filesystem.
0011
0012 Allows a cluster of computers to simultaneously use a block device
0013 that is shared between them (with FC, iSCSI, NBD, etc...). GFS reads
0014 and writes to the block device like a local filesystem, but also uses
0015 a lock module to allow the computers coordinate their I/O so
0016 filesystem consistency is maintained. One of the nifty features of
0017 GFS is perfect consistency -- changes made to the filesystem on one
0018 machine show up immediately on all other machines in the cluster.
0019
0020 To use the GFS2 filesystem in a cluster, you will need to enable
0021 the locking module below. Documentation and utilities for GFS2 can
0022 be found here: http://sources.redhat.com/cluster
0023
0024 The "nolock" lock module is now built in to GFS2 by default. If
0025 you want to use the DLM, be sure to enable IPv4/6 networking.
0026
0027 config GFS2_FS_LOCKING_DLM
0028 bool "GFS2 DLM locking"
0029 depends on (GFS2_FS!=n) && NET && INET && (IPV6 || IPV6=n) && \
0030 CONFIGFS_FS && SYSFS && (DLM=y || DLM=GFS2_FS)
0031 help
0032 Multiple node locking module for GFS2
0033
0034 Most users of GFS2 will require this. It provides the locking
0035 interface between GFS2 and the DLM, which is required to use GFS2
0036 in a cluster environment.