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