162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ciconfig GFS2_FS
362306a36Sopenharmony_ci	tristate "GFS2 file system support"
462306a36Sopenharmony_ci	select BUFFER_HEAD
562306a36Sopenharmony_ci	select FS_POSIX_ACL
662306a36Sopenharmony_ci	select CRC32
762306a36Sopenharmony_ci	select LIBCRC32C
862306a36Sopenharmony_ci	select QUOTACTL
962306a36Sopenharmony_ci	select FS_IOMAP
1062306a36Sopenharmony_ci	help
1162306a36Sopenharmony_ci	  A cluster filesystem.
1262306a36Sopenharmony_ci
1362306a36Sopenharmony_ci	  Allows a cluster of computers to simultaneously use a block device
1462306a36Sopenharmony_ci	  that is shared between them (with FC, iSCSI, NBD, etc...).  GFS reads
1562306a36Sopenharmony_ci	  and writes to the block device like a local filesystem, but also uses
1662306a36Sopenharmony_ci	  a lock module to allow the computers coordinate their I/O so
1762306a36Sopenharmony_ci	  filesystem consistency is maintained.  One of the nifty features of
1862306a36Sopenharmony_ci	  GFS is perfect consistency -- changes made to the filesystem on one
1962306a36Sopenharmony_ci	  machine show up immediately on all other machines in the cluster.
2062306a36Sopenharmony_ci
2162306a36Sopenharmony_ci	  To use the GFS2 filesystem in a cluster, you will need to enable
2262306a36Sopenharmony_ci	  the locking module below. Documentation and utilities for GFS2 can
2362306a36Sopenharmony_ci	  be found here: http://sources.redhat.com/cluster
2462306a36Sopenharmony_ci
2562306a36Sopenharmony_ci	  The "nolock" lock module is now built in to GFS2 by default. If
2662306a36Sopenharmony_ci	  you want to use the DLM, be sure to enable IPv4/6 networking.
2762306a36Sopenharmony_ci
2862306a36Sopenharmony_ciconfig GFS2_FS_LOCKING_DLM
2962306a36Sopenharmony_ci	bool "GFS2 DLM locking"
3062306a36Sopenharmony_ci	depends on (GFS2_FS!=n) && NET && INET && (IPV6 || IPV6=n) && \
3162306a36Sopenharmony_ci		CONFIGFS_FS && SYSFS && (DLM=y || DLM=GFS2_FS)
3262306a36Sopenharmony_ci	help
3362306a36Sopenharmony_ci	  Multiple node locking module for GFS2
3462306a36Sopenharmony_ci
3562306a36Sopenharmony_ci	  Most users of GFS2 will require this. It provides the locking
3662306a36Sopenharmony_ci	  interface between GFS2 and the DLM, which is required to use GFS2
3762306a36Sopenharmony_ci	  in a cluster environment.
38