18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_ciconfig GFS2_FS
38c2ecf20Sopenharmony_ci	tristate "GFS2 file system support"
48c2ecf20Sopenharmony_ci	select FS_POSIX_ACL
58c2ecf20Sopenharmony_ci	select CRC32
68c2ecf20Sopenharmony_ci	select LIBCRC32C
78c2ecf20Sopenharmony_ci	select QUOTACTL
88c2ecf20Sopenharmony_ci	select FS_IOMAP
98c2ecf20Sopenharmony_ci	help
108c2ecf20Sopenharmony_ci	  A cluster filesystem.
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_ci	  Allows a cluster of computers to simultaneously use a block device
138c2ecf20Sopenharmony_ci	  that is shared between them (with FC, iSCSI, NBD, etc...).  GFS reads
148c2ecf20Sopenharmony_ci	  and writes to the block device like a local filesystem, but also uses
158c2ecf20Sopenharmony_ci	  a lock module to allow the computers coordinate their I/O so
168c2ecf20Sopenharmony_ci	  filesystem consistency is maintained.  One of the nifty features of
178c2ecf20Sopenharmony_ci	  GFS is perfect consistency -- changes made to the filesystem on one
188c2ecf20Sopenharmony_ci	  machine show up immediately on all other machines in the cluster.
198c2ecf20Sopenharmony_ci
208c2ecf20Sopenharmony_ci	  To use the GFS2 filesystem in a cluster, you will need to enable
218c2ecf20Sopenharmony_ci	  the locking module below. Documentation and utilities for GFS2 can
228c2ecf20Sopenharmony_ci	  be found here: http://sources.redhat.com/cluster
238c2ecf20Sopenharmony_ci
248c2ecf20Sopenharmony_ci	  The "nolock" lock module is now built in to GFS2 by default. If
258c2ecf20Sopenharmony_ci	  you want to use the DLM, be sure to enable IPv4/6 networking.
268c2ecf20Sopenharmony_ci
278c2ecf20Sopenharmony_ciconfig GFS2_FS_LOCKING_DLM
288c2ecf20Sopenharmony_ci	bool "GFS2 DLM locking"
298c2ecf20Sopenharmony_ci	depends on (GFS2_FS!=n) && NET && INET && (IPV6 || IPV6=n) && \
308c2ecf20Sopenharmony_ci		CONFIGFS_FS && SYSFS && (DLM=y || DLM=GFS2_FS)
318c2ecf20Sopenharmony_ci	help
328c2ecf20Sopenharmony_ci	  Multiple node locking module for GFS2
338c2ecf20Sopenharmony_ci
348c2ecf20Sopenharmony_ci	  Most users of GFS2 will require this. It provides the locking
358c2ecf20Sopenharmony_ci	  interface between GFS2 and the DLM, which is required to use GFS2
368c2ecf20Sopenharmony_ci	  in a cluster environment.
37