Thomas Gleixner | ec8f24b | 2019-05-19 13:07:45 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-only |
David Teigland | b3b94fa | 2006-01-16 16:50:04 +0000 | [diff] [blame] | 2 | config GFS2_FS |
Steven Whitehouse | b5ea3e1 | 2006-04-24 14:14:42 -0400 | [diff] [blame] | 3 | tristate "GFS2 file system support" |
Steven Whitehouse | b5ea3e1 | 2006-04-24 14:14:42 -0400 | [diff] [blame] | 4 | select FS_POSIX_ACL |
Steven Whitehouse | fa2ecfc5e | 2006-11-20 10:04:49 -0500 | [diff] [blame] | 5 | select CRC32 |
Andreas Gruenbacher | dcb2cd5 | 2018-02-01 11:12:13 +0100 | [diff] [blame] | 6 | select LIBCRC32C |
Steven Whitehouse | cc632e7 | 2009-09-15 09:59:02 +0100 | [diff] [blame] | 7 | select QUOTACTL |
Bob Peterson | aac1a55 | 2017-02-16 21:13:54 +0100 | [diff] [blame] | 8 | select FS_IOMAP |
Steven Whitehouse | b5ea3e1 | 2006-04-24 14:14:42 -0400 | [diff] [blame] | 9 | help |
Randy Dunlap | 9beeb9f | 2007-01-30 14:30:08 -0800 | [diff] [blame] | 10 | A cluster filesystem. |
David Teigland | b3b94fa | 2006-01-16 16:50:04 +0000 | [diff] [blame] | 11 | |
Randy Dunlap | 9beeb9f | 2007-01-30 14:30:08 -0800 | [diff] [blame] | 12 | 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 Teigland | b3b94fa | 2006-01-16 16:50:04 +0000 | [diff] [blame] | 19 | |
Steven Whitehouse | 048bca2 | 2008-05-23 14:46:04 +0100 | [diff] [blame] | 20 | 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 Dunlap | 9beeb9f | 2007-01-30 14:30:08 -0800 | [diff] [blame] | 22 | be found here: http://sources.redhat.com/cluster |
David Teigland | b3b94fa | 2006-01-16 16:50:04 +0000 | [diff] [blame] | 23 | |
Steven Whitehouse | f057f6c | 2009-01-12 10:43:39 +0000 | [diff] [blame] | 24 | The "nolock" lock module is now built in to GFS2 by default. If |
Stephen Rothwell | 40b3136 | 2013-05-21 13:49:35 +1000 | [diff] [blame] | 25 | you want to use the DLM, be sure to enable IPv4/6 networking. |
David Teigland | b3b94fa | 2006-01-16 16:50:04 +0000 | [diff] [blame] | 26 | |
| 27 | config GFS2_FS_LOCKING_DLM |
Steven Whitehouse | f057f6c | 2009-01-12 10:43:39 +0000 | [diff] [blame] | 28 | bool "GFS2 DLM locking" |
Benjamin Poirier | 97cc008 | 2012-03-23 18:06:18 -0400 | [diff] [blame] | 29 | depends on (GFS2_FS!=n) && NET && INET && (IPV6 || IPV6=n) && \ |
Stephen Rothwell | 40b3136 | 2013-05-21 13:49:35 +1000 | [diff] [blame] | 30 | CONFIGFS_FS && SYSFS && (DLM=y || DLM=GFS2_FS) |
David Teigland | b3b94fa | 2006-01-16 16:50:04 +0000 | [diff] [blame] | 31 | help |
Randy Dunlap | 9beeb9f | 2007-01-30 14:30:08 -0800 | [diff] [blame] | 32 | Multiple node locking module for GFS2 |
David Teigland | b3b94fa | 2006-01-16 16:50:04 +0000 | [diff] [blame] | 33 | |
Steven Whitehouse | f057f6c | 2009-01-12 10:43:39 +0000 | [diff] [blame] | 34 | Most users of GFS2 will require this. It provides the locking |
Randy Dunlap | 9beeb9f | 2007-01-30 14:30:08 -0800 | [diff] [blame] | 35 | interface between GFS2 and the DLM, which is required to use GFS2 |
| 36 | in a cluster environment. |