blob: 03c966840422ecd670e347a2ebdf900957afb953 [file] [log] [blame]
Thomas Gleixnerec8f24b2019-05-19 13:07:45 +01001# SPDX-License-Identifier: GPL-2.0-only
David Teiglandb3b94fa2006-01-16 16:50:04 +00002config GFS2_FS
Steven Whitehouseb5ea3e12006-04-24 14:14:42 -04003 tristate "GFS2 file system support"
Steven Whitehouseb5ea3e12006-04-24 14:14:42 -04004 select FS_POSIX_ACL
Steven Whitehousefa2ecfc5e2006-11-20 10:04:49 -05005 select CRC32
Andreas Gruenbacherdcb2cd52018-02-01 11:12:13 +01006 select LIBCRC32C
Steven Whitehousecc632e72009-09-15 09:59:02 +01007 select QUOTACTL
Bob Petersonaac1a552017-02-16 21:13:54 +01008 select FS_IOMAP
Steven Whitehouseb5ea3e12006-04-24 14:14:42 -04009 help
Randy Dunlap9beeb9f2007-01-30 14:30:08 -080010 A cluster filesystem.
David Teiglandb3b94fa2006-01-16 16:50:04 +000011
Randy Dunlap9beeb9f2007-01-30 14:30:08 -080012 Allows a cluster of computers to simultaneously use a block device
13 that is shared between them (with FC, iSCSI, NBD, etc...). GFS reads
14 and writes to the block device like a local filesystem, but also uses
15 a lock module to allow the computers coordinate their I/O so
16 filesystem consistency is maintained. One of the nifty features of
17 GFS is perfect consistency -- changes made to the filesystem on one
18 machine show up immediately on all other machines in the cluster.
David Teiglandb3b94fa2006-01-16 16:50:04 +000019
Steven Whitehouse048bca22008-05-23 14:46:04 +010020 To use the GFS2 filesystem in a cluster, you will need to enable
21 the locking module below. Documentation and utilities for GFS2 can
Randy Dunlap9beeb9f2007-01-30 14:30:08 -080022 be found here: http://sources.redhat.com/cluster
David Teiglandb3b94fa2006-01-16 16:50:04 +000023
Steven Whitehousef057f6c2009-01-12 10:43:39 +000024 The "nolock" lock module is now built in to GFS2 by default. If
Stephen Rothwell40b31362013-05-21 13:49:35 +100025 you want to use the DLM, be sure to enable IPv4/6 networking.
David Teiglandb3b94fa2006-01-16 16:50:04 +000026
27config GFS2_FS_LOCKING_DLM
Steven Whitehousef057f6c2009-01-12 10:43:39 +000028 bool "GFS2 DLM locking"
Benjamin Poirier97cc0082012-03-23 18:06:18 -040029 depends on (GFS2_FS!=n) && NET && INET && (IPV6 || IPV6=n) && \
Stephen Rothwell40b31362013-05-21 13:49:35 +100030 CONFIGFS_FS && SYSFS && (DLM=y || DLM=GFS2_FS)
David Teiglandb3b94fa2006-01-16 16:50:04 +000031 help
Randy Dunlap9beeb9f2007-01-30 14:30:08 -080032 Multiple node locking module for GFS2
David Teiglandb3b94fa2006-01-16 16:50:04 +000033
Steven Whitehousef057f6c2009-01-12 10:43:39 +000034 Most users of GFS2 will require this. It provides the locking
Randy Dunlap9beeb9f2007-01-30 14:30:08 -080035 interface between GFS2 and the DLM, which is required to use GFS2
36 in a cluster environment.