xref: /linux/fs/gfs2/Kconfig (revision b1a54551dd9ed5ef1763b97b35a0999ca002b95c)
1# SPDX-License-Identifier: GPL-2.0-only
2config GFS2_FS
3	tristate "GFS2 file system support"
4	select BUFFER_HEAD
5	select FS_POSIX_ACL
6	select CRC32
7	select LIBCRC32C
8	select QUOTACTL
9	select FS_IOMAP
10	help
11	  A cluster filesystem.
12
13	  Allows a cluster of computers to simultaneously use a block device
14	  that is shared between them (with FC, iSCSI, NBD, etc...).  GFS reads
15	  and writes to the block device like a local filesystem, but also uses
16	  a lock module to allow the computers coordinate their I/O so
17	  filesystem consistency is maintained.  One of the nifty features of
18	  GFS is perfect consistency -- changes made to the filesystem on one
19	  machine show up immediately on all other machines in the cluster.
20
21	  To use the GFS2 filesystem in a cluster, you will need to enable
22	  the locking module below. Documentation and utilities for GFS2 can
23	  be found here: http://sources.redhat.com/cluster
24
25	  The "nolock" lock module is now built in to GFS2 by default. If
26	  you want to use the DLM, be sure to enable IPv4/6 networking.
27
28config GFS2_FS_LOCKING_DLM
29	bool "GFS2 DLM locking"
30	depends on (GFS2_FS!=n) && NET && INET && (IPV6 || IPV6=n) && \
31		CONFIGFS_FS && SYSFS && (DLM=y || DLM=GFS2_FS)
32	help
33	  Multiple node locking module for GFS2
34
35	  Most users of GFS2 will require this. It provides the locking
36	  interface between GFS2 and the DLM, which is required to use GFS2
37	  in a cluster environment.
38