|
|
ec15cf |
commit 3e500a8f116b0515d1507fe0ab4bf617664a6cdc
|
|
|
ec15cf |
Author: Eric Sandeen <sandeen@redhat.com>
|
|
|
ec15cf |
Date: Fri Jul 4 23:07:36 2014 -0400
|
|
|
ec15cf |
|
|
|
ec15cf |
e2fsprogs: add mount options to ext4.5
|
|
|
ec15cf |
|
|
|
ec15cf |
This is a straight cut and paste from the util-linux
|
|
|
ec15cf |
mount manpage to ext4.5 (with commented-out lines
|
|
|
ec15cf |
removed).
|
|
|
ec15cf |
|
|
|
ec15cf |
It's pretty much impossible for util-linux to keep up
|
|
|
ec15cf |
with every filesystem out there, and Karel has more than
|
|
|
ec15cf |
once expressed a wish that mount options move into fs-specific
|
|
|
ec15cf |
manpages.
|
|
|
ec15cf |
|
|
|
ec15cf |
So, here we go.
|
|
|
ec15cf |
|
|
|
ec15cf |
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
|
|
|
ec15cf |
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
|
|
|
ec15cf |
|
|
|
ec15cf |
diff --git a/misc/ext4.5.in b/misc/ext4.5.in
|
|
|
ec15cf |
index 134c19f..9112b3d 100644
|
|
|
ec15cf |
--- a/misc/ext4.5.in
|
|
|
ec15cf |
+++ b/misc/ext4.5.in
|
|
|
ec15cf |
@@ -251,10 +251,368 @@ and it also speeds up the time required for
|
|
|
ec15cf |
.BR mke2fs (8)
|
|
|
ec15cf |
to create the file system.
|
|
|
ec15cf |
.RE
|
|
|
ec15cf |
+.SH MOUNT OPTIONS
|
|
|
ec15cf |
+This section describes mount options which are specific to ext2, ext3,
|
|
|
ec15cf |
+and ext4. Other generic mount options may be used as well; see
|
|
|
ec15cf |
+.BR mount (8)
|
|
|
ec15cf |
+for details.
|
|
|
ec15cf |
+.SH "Mount options for ext2"
|
|
|
ec15cf |
+The `ext2' filesystem is the standard Linux filesystem.
|
|
|
ec15cf |
+Since Linux 2.5.46, for most mount options the default
|
|
|
ec15cf |
+is determined by the filesystem superblock. Set them with
|
|
|
ec15cf |
+.BR tune2fs (8).
|
|
|
ec15cf |
+.TP
|
|
|
ec15cf |
+.BR acl | noacl
|
|
|
ec15cf |
+Support POSIX Access Control Lists (or not).
|
|
|
ec15cf |
+.TP
|
|
|
ec15cf |
+.BR bsddf | minixdf
|
|
|
ec15cf |
+Set the behavior for the
|
|
|
ec15cf |
+.I statfs
|
|
|
ec15cf |
+system call. The
|
|
|
ec15cf |
+.B minixdf
|
|
|
ec15cf |
+behavior is to return in the
|
|
|
ec15cf |
+.I f_blocks
|
|
|
ec15cf |
+field the total number of blocks of the filesystem, while the
|
|
|
ec15cf |
+.B bsddf
|
|
|
ec15cf |
+behavior (which is the default) is to subtract the overhead blocks
|
|
|
ec15cf |
+used by the ext2 filesystem and not available for file storage. Thus
|
|
|
ec15cf |
+.sp 1
|
|
|
ec15cf |
+% mount /k \-o minixdf; df /k; umount /k
|
|
|
ec15cf |
+.TS
|
|
|
ec15cf |
+tab(#);
|
|
|
ec15cf |
+l2 l2 r2 l2 l2 l
|
|
|
ec15cf |
+l c r c c l.
|
|
|
ec15cf |
+Filesystem#1024-blocks#Used#Available#Capacity#Mounted on
|
|
|
ec15cf |
+/dev/sda6#2630655#86954#2412169#3%#/k
|
|
|
ec15cf |
+.TE
|
|
|
ec15cf |
+.sp 1
|
|
|
ec15cf |
+% mount /k \-o bsddf; df /k; umount /k
|
|
|
ec15cf |
+.TS
|
|
|
ec15cf |
+tab(#);
|
|
|
ec15cf |
+l2 l2 r2 l2 l2 l
|
|
|
ec15cf |
+l c r c c l.
|
|
|
ec15cf |
+Filesystem#1024-blocks#Used#Available#Capacity#Mounted on
|
|
|
ec15cf |
+/dev/sda6#2543714#13#2412169#0%#/k
|
|
|
ec15cf |
+.TE
|
|
|
ec15cf |
+.sp 1
|
|
|
ec15cf |
+(Note that this example shows that one can add command line options
|
|
|
ec15cf |
+to the options given in
|
|
|
ec15cf |
+.IR /etc/fstab .)
|
|
|
ec15cf |
+.TP
|
|
|
ec15cf |
+.BR check=none " or " nocheck
|
|
|
ec15cf |
+No checking is done at mount time. This is the default. This is fast.
|
|
|
ec15cf |
+It is wise to invoke
|
|
|
ec15cf |
+.BR e2fsck (8)
|
|
|
ec15cf |
+every now and then, e.g.\& at boot time. The non-default behavior is unsupported
|
|
|
ec15cf |
+(check=normal and check=strict options have been removed). Note that these mount options
|
|
|
ec15cf |
+don't have to be supported if ext4 kernel driver is used for ext2 and ext3 filesystems.
|
|
|
ec15cf |
+.TP
|
|
|
ec15cf |
+.B debug
|
|
|
ec15cf |
+Print debugging info upon each (re)mount.
|
|
|
ec15cf |
+.TP
|
|
|
ec15cf |
+.BR errors= { continue | remount-ro | panic }
|
|
|
ec15cf |
+Define the behavior when an error is encountered.
|
|
|
ec15cf |
+(Either ignore errors and just mark the filesystem erroneous and continue,
|
|
|
ec15cf |
+or remount the filesystem read-only, or panic and halt the system.)
|
|
|
ec15cf |
+The default is set in the filesystem superblock, and can be
|
|
|
ec15cf |
+changed using
|
|
|
ec15cf |
+.BR tune2fs (8).
|
|
|
ec15cf |
+.TP
|
|
|
ec15cf |
+.BR grpid | bsdgroups " and " nogrpid | sysvgroups
|
|
|
ec15cf |
+These options define what group id a newly created file gets.
|
|
|
ec15cf |
+When
|
|
|
ec15cf |
+.B grpid
|
|
|
ec15cf |
+is set, it takes the group id of the directory in which it is created;
|
|
|
ec15cf |
+otherwise (the default) it takes the fsgid of the current process, unless
|
|
|
ec15cf |
+the directory has the setgid bit set, in which case it takes the gid
|
|
|
ec15cf |
+from the parent directory, and also gets the setgid bit set
|
|
|
ec15cf |
+if it is a directory itself.
|
|
|
ec15cf |
+.TP
|
|
|
ec15cf |
+.BR grpquota | noquota | quota | usrquota
|
|
|
ec15cf |
+The usrquota (same as quota) mount option enables user quota support on the
|
|
|
ec15cf |
+filesystem. grpquota enables group quotas support. You need the quota utilities
|
|
|
ec15cf |
+to actually enable and manage the quota system.
|
|
|
ec15cf |
+.TP
|
|
|
ec15cf |
+.B nouid32
|
|
|
ec15cf |
+Disables 32-bit UIDs and GIDs. This is for interoperability with older
|
|
|
ec15cf |
+kernels which only store and expect 16-bit values.
|
|
|
ec15cf |
+.TP
|
|
|
ec15cf |
+.BR oldalloc " or " orlov
|
|
|
ec15cf |
+Use old allocator or Orlov allocator for new inodes. Orlov is default.
|
|
|
ec15cf |
+.TP
|
|
|
ec15cf |
+\fBresgid=\fP\,\fIn\fP and \fBresuid=\fP\,\fIn\fP
|
|
|
ec15cf |
+The ext2 filesystem reserves a certain percentage of the available
|
|
|
ec15cf |
+space (by default 5%, see
|
|
|
ec15cf |
+.BR mke2fs (8)
|
|
|
ec15cf |
+and
|
|
|
ec15cf |
+.BR tune2fs (8)).
|
|
|
ec15cf |
+These options determine who can use the reserved blocks.
|
|
|
ec15cf |
+(Roughly: whoever has the specified uid, or belongs to the specified group.)
|
|
|
ec15cf |
+.TP
|
|
|
ec15cf |
+.BI sb= n
|
|
|
ec15cf |
+Instead of block 1, use block
|
|
|
ec15cf |
+.I n
|
|
|
ec15cf |
+as superblock. This could be useful when the filesystem has been damaged.
|
|
|
ec15cf |
+(Earlier, copies of the superblock would be made every 8192 blocks: in
|
|
|
ec15cf |
+block 1, 8193, 16385, \&...\& (and one got thousands of copies on
|
|
|
ec15cf |
+a big filesystem). Since version 1.08,
|
|
|
ec15cf |
+.B mke2fs
|
|
|
ec15cf |
+has a \-s (sparse superblock) option to reduce the number of backup
|
|
|
ec15cf |
+superblocks, and since version 1.15 this is the default. Note
|
|
|
ec15cf |
+that this may mean that ext2 filesystems created by a recent
|
|
|
ec15cf |
+.B mke2fs
|
|
|
ec15cf |
+cannot be mounted r/w under Linux 2.0.*.)
|
|
|
ec15cf |
+The block number here uses 1\ k units. Thus, if you want to use logical
|
|
|
ec15cf |
+block 32768 on a filesystem with 4\ k blocks, use "sb=131072".
|
|
|
ec15cf |
+.TP
|
|
|
ec15cf |
+.BR user_xattr | nouser_xattr
|
|
|
ec15cf |
+Support "user." extended attributes (or not).
|
|
|
ec15cf |
+
|
|
|
ec15cf |
+
|
|
|
ec15cf |
+.SH "Mount options for ext3"
|
|
|
ec15cf |
+The ext3 filesystem is a version of the ext2 filesystem which has been
|
|
|
ec15cf |
+enhanced with journaling. It supports the same options as ext2 as
|
|
|
ec15cf |
+well as the following additions:
|
|
|
ec15cf |
+.TP
|
|
|
ec15cf |
+.B journal=update
|
|
|
ec15cf |
+Update the ext3 filesystem's journal to the current format.
|
|
|
ec15cf |
+.TP
|
|
|
ec15cf |
+.B journal=inum
|
|
|
ec15cf |
+When a journal already exists, this option is ignored. Otherwise, it
|
|
|
ec15cf |
+specifies the number of the inode which will represent the ext3 filesystem's
|
|
|
ec15cf |
+journal file; ext3 will create a new journal, overwriting the old contents
|
|
|
ec15cf |
+of the file whose inode number is
|
|
|
ec15cf |
+.IR inum .
|
|
|
ec15cf |
+.TP
|
|
|
ec15cf |
+.BR journal_dev=devnum / journal_path=path
|
|
|
ec15cf |
+When the external journal device's major/minor numbers
|
|
|
ec15cf |
+have changed, these options allow the user to specify
|
|
|
ec15cf |
+the new journal location. The journal device is
|
|
|
ec15cf |
+identified either through its new major/minor numbers encoded
|
|
|
ec15cf |
+in devnum, or via a path to the device.
|
|
|
ec15cf |
+.TP
|
|
|
ec15cf |
+.BR norecovery / noload
|
|
|
ec15cf |
+Don't load the journal on mounting. Note that
|
|
|
ec15cf |
+if the filesystem was not unmounted cleanly,
|
|
|
ec15cf |
+skipping the journal replay will lead to the
|
|
|
ec15cf |
+filesystem containing inconsistencies that can
|
|
|
ec15cf |
+lead to any number of problems.
|
|
|
ec15cf |
+.TP
|
|
|
ec15cf |
+.BR data= { journal | ordered | writeback }
|
|
|
ec15cf |
+Specifies the journaling mode for file data. Metadata is always journaled.
|
|
|
ec15cf |
+To use modes other than
|
|
|
ec15cf |
+.B ordered
|
|
|
ec15cf |
+on the root filesystem, pass the mode to the kernel as boot parameter, e.g.\&
|
|
|
ec15cf |
+.IR rootflags=data=journal .
|
|
|
ec15cf |
+.RS
|
|
|
ec15cf |
+.TP
|
|
|
ec15cf |
+.B journal
|
|
|
ec15cf |
+All data is committed into the journal prior to being written into the
|
|
|
ec15cf |
+main filesystem.
|
|
|
ec15cf |
+.TP
|
|
|
ec15cf |
+.B ordered
|
|
|
ec15cf |
+This is the default mode. All data is forced directly out to the main file
|
|
|
ec15cf |
+system prior to its metadata being committed to the journal.
|
|
|
ec15cf |
+.TP
|
|
|
ec15cf |
+.B writeback
|
|
|
ec15cf |
+Data ordering is not preserved \(en data may be written into the main
|
|
|
ec15cf |
+filesystem after its metadata has been committed to the journal.
|
|
|
ec15cf |
+This is rumoured to be the highest-throughput option. It guarantees
|
|
|
ec15cf |
+internal filesystem integrity, however it can allow old data to appear
|
|
|
ec15cf |
+in files after a crash and journal recovery.
|
|
|
ec15cf |
+.RE
|
|
|
ec15cf |
+.TP
|
|
|
ec15cf |
+.B data_err=ignore
|
|
|
ec15cf |
+Just print an error message if an error occurs in a file data buffer in
|
|
|
ec15cf |
+ordered mode.
|
|
|
ec15cf |
+.TP
|
|
|
ec15cf |
+.B data_err=abort
|
|
|
ec15cf |
+Abort the journal if an error occurs in a file data buffer in ordered mode.
|
|
|
ec15cf |
+.TP
|
|
|
ec15cf |
+.BR barrier=0 " / " barrier=1 "
|
|
|
ec15cf |
+This disables / enables the use of write barriers in the jbd code. barrier=0
|
|
|
ec15cf |
+disables, barrier=1 enables (default). This also requires an IO stack which can
|
|
|
ec15cf |
+support barriers, and if jbd gets an error on a barrier write, it will disable
|
|
|
ec15cf |
+barriers again with a warning. Write barriers enforce proper on-disk ordering
|
|
|
ec15cf |
+of journal commits, making volatile disk write caches safe to use, at some
|
|
|
ec15cf |
+performance penalty. If your disks are battery-backed in one way or another,
|
|
|
ec15cf |
+disabling barriers may safely improve performance.
|
|
|
ec15cf |
+.TP
|
|
|
ec15cf |
+.BI commit= nrsec
|
|
|
ec15cf |
+Sync all data and metadata every
|
|
|
ec15cf |
+.I nrsec
|
|
|
ec15cf |
+seconds. The default value is 5 seconds. Zero means default.
|
|
|
ec15cf |
+.TP
|
|
|
ec15cf |
+.B user_xattr
|
|
|
ec15cf |
+Enable Extended User Attributes. See the
|
|
|
ec15cf |
+.BR attr (5)
|
|
|
ec15cf |
+manual page.
|
|
|
ec15cf |
+.TP
|
|
|
ec15cf |
+.B acl
|
|
|
ec15cf |
+Enable POSIX Access Control Lists. See the
|
|
|
ec15cf |
+.BR acl (5)
|
|
|
ec15cf |
+manual page.
|
|
|
ec15cf |
+.TP
|
|
|
ec15cf |
+.BR usrjquota=aquota.user | grpjquota=aquota.group | jqfmt=vfsv0
|
|
|
ec15cf |
+Apart from the old quota system (as in ext2, jqfmt=vfsold aka version 1 quota)
|
|
|
ec15cf |
+ext3 also supports journaled quotas (version 2 quota). jqfmt=vfsv0
|
|
|
ec15cf |
+enables journaled quotas. For journaled quotas the mount options
|
|
|
ec15cf |
+usrjquota=aquota.user and grpjquota=aquota.group are required to tell the
|
|
|
ec15cf |
+quota system which quota database files to use. Journaled quotas have the
|
|
|
ec15cf |
+advantage that even after a crash no quota check is required.
|
|
|
ec15cf |
+
|
|
|
ec15cf |
+.SH "Mount options for ext4"
|
|
|
ec15cf |
+The ext4 filesystem is an advanced level of the ext3 filesystem which
|
|
|
ec15cf |
+incorporates scalability and reliability enhancements for supporting large
|
|
|
ec15cf |
+filesystem.
|
|
|
ec15cf |
+
|
|
|
ec15cf |
+The options
|
|
|
ec15cf |
+.B journal_dev, norecovery, noload, data, commit, orlov, oldalloc, [no]user_xattr
|
|
|
ec15cf |
+.B [no]acl, bsddf, minixdf, debug, errors, data_err, grpid, bsdgroups, nogrpid
|
|
|
ec15cf |
+.B sysvgroups, resgid, resuid, sb, quota, noquota, grpquota, usrquota
|
|
|
ec15cf |
+.B usrjquota, grpjquota and jqfmt
|
|
|
ec15cf |
+are backwardly compatible with ext3 or ext2.
|
|
|
ec15cf |
+.TP
|
|
|
ec15cf |
+.B journal_checksum
|
|
|
ec15cf |
+Enable checksumming of the journal transactions. This will allow the recovery
|
|
|
ec15cf |
+code in e2fsck and the kernel to detect corruption in the kernel. It is a
|
|
|
ec15cf |
+compatible change and will be ignored by older kernels.
|
|
|
ec15cf |
+.TP
|
|
|
ec15cf |
+.B journal_async_commit
|
|
|
ec15cf |
+Commit block can be written to disk without waiting for descriptor blocks. If
|
|
|
ec15cf |
+enabled older kernels cannot mount the device.
|
|
|
ec15cf |
+This will enable 'journal_checksum' internally.
|
|
|
ec15cf |
+.TP
|
|
|
ec15cf |
+.BR barrier=0 " / " barrier=1 " / " barrier " / " nobarrier
|
|
|
ec15cf |
+These mount options have the same effect as in ext3. The mount options
|
|
|
ec15cf |
+"barrier" and "nobarrier" are added for consistency with other ext4 mount
|
|
|
ec15cf |
+options.
|
|
|
ec15cf |
+
|
|
|
ec15cf |
+The ext4 filesystem enables write barriers by default.
|
|
|
ec15cf |
+.TP
|
|
|
ec15cf |
+.BI inode_readahead_blks= n
|
|
|
ec15cf |
+This tuning parameter controls the maximum number of inode table blocks that
|
|
|
ec15cf |
+ext4's inode table readahead algorithm will pre-read into the buffer cache.
|
|
|
ec15cf |
+The value must be a power of 2. The default value is 32 blocks.
|
|
|
ec15cf |
+.TP
|
|
|
ec15cf |
+.BI stripe= n
|
|
|
ec15cf |
+Number of filesystem blocks that mballoc will try to use for allocation size
|
|
|
ec15cf |
+and alignment. For RAID5/6 systems this should be the number of data disks *
|
|
|
ec15cf |
+RAID chunk size in filesystem blocks.
|
|
|
ec15cf |
+.TP
|
|
|
ec15cf |
+.B delalloc
|
|
|
ec15cf |
+Deferring block allocation until write-out time.
|
|
|
ec15cf |
+.TP
|
|
|
ec15cf |
+.B nodelalloc
|
|
|
ec15cf |
+Disable delayed allocation. Blocks are allocated when data is copied from user
|
|
|
ec15cf |
+to page cache.
|
|
|
ec15cf |
+.TP
|
|
|
ec15cf |
+.BI max_batch_time= usec
|
|
|
ec15cf |
+Maximum amount of time ext4 should wait for additional filesystem operations to
|
|
|
ec15cf |
+be batch together with a synchronous write operation. Since a synchronous
|
|
|
ec15cf |
+write operation is going to force a commit and then a wait for the I/O
|
|
|
ec15cf |
+complete, it doesn't cost much, and can be a huge throughput win, we wait for a
|
|
|
ec15cf |
+small amount of time to see if any other transactions can piggyback on the
|
|
|
ec15cf |
+synchronous write. The algorithm used is designed to automatically tune for
|
|
|
ec15cf |
+the speed of the disk, by measuring the amount of time (on average) that it
|
|
|
ec15cf |
+takes to finish committing a transaction. Call this time the "commit time".
|
|
|
ec15cf |
+If the time that the transaction has been running is less than the commit time,
|
|
|
ec15cf |
+ext4 will try sleeping for the commit time to see if other operations will join
|
|
|
ec15cf |
+the transaction. The commit time is capped by the max_batch_time, which
|
|
|
ec15cf |
+defaults to 15000\ \[mc]s (15\ ms). This optimization can be turned off entirely by
|
|
|
ec15cf |
+setting max_batch_time to 0.
|
|
|
ec15cf |
+.TP
|
|
|
ec15cf |
+.BI min_batch_time= usec
|
|
|
ec15cf |
+This parameter sets the commit time (as described above) to be at least
|
|
|
ec15cf |
+min_batch_time. It defaults to zero microseconds. Increasing this parameter
|
|
|
ec15cf |
+may improve the throughput of multi-threaded, synchronous workloads on very
|
|
|
ec15cf |
+fast disks, at the cost of increasing latency.
|
|
|
ec15cf |
+.TP
|
|
|
ec15cf |
+.BI journal_ioprio= prio
|
|
|
ec15cf |
+The I/O priority (from 0 to 7, where 0 is the highest priority) which should be
|
|
|
ec15cf |
+used for I/O operations submitted by kjournald2 during a commit operation.
|
|
|
ec15cf |
+This defaults to 3, which is a slightly higher priority than the default I/O
|
|
|
ec15cf |
+priority.
|
|
|
ec15cf |
+.TP
|
|
|
ec15cf |
+.B abort
|
|
|
ec15cf |
+Simulate the effects of calling ext4_abort() for
|
|
|
ec15cf |
+debugging purposes. This is normally used while
|
|
|
ec15cf |
+remounting a filesystem which is already mounted.
|
|
|
ec15cf |
+.TP
|
|
|
ec15cf |
+.BR auto_da_alloc | noauto_da_alloc
|
|
|
ec15cf |
+Many broken applications don't use fsync() when
|
|
|
ec15cf |
+replacing existing files via patterns such as
|
|
|
ec15cf |
+
|
|
|
ec15cf |
+fd = open("foo.new")/write(fd,...)/close(fd)/ rename("foo.new", "foo")
|
|
|
ec15cf |
+
|
|
|
ec15cf |
+or worse yet
|
|
|
ec15cf |
+
|
|
|
ec15cf |
+fd = open("foo", O_TRUNC)/write(fd,...)/close(fd).
|
|
|
ec15cf |
+
|
|
|
ec15cf |
+If auto_da_alloc is enabled, ext4 will detect the replace-via-rename and
|
|
|
ec15cf |
+replace-via-truncate patterns and force that any delayed allocation blocks are
|
|
|
ec15cf |
+allocated such that at the next journal commit, in the default data=ordered
|
|
|
ec15cf |
+mode, the data blocks of the new file are forced to disk before the rename()
|
|
|
ec15cf |
+operation is committed. This provides roughly the same level of guarantees as
|
|
|
ec15cf |
+ext3, and avoids the "zero-length" problem that can happen when a system
|
|
|
ec15cf |
+crashes before the delayed allocation blocks are forced to disk.
|
|
|
ec15cf |
+.TP
|
|
|
ec15cf |
+.B noinit_itable
|
|
|
ec15cf |
+Do not initialize any uninitialized inode table blocks in the background. This
|
|
|
ec15cf |
+feature may be used by installation CD's so that the install process can
|
|
|
ec15cf |
+complete as quickly as possible; the inode table initialization process would
|
|
|
ec15cf |
+then be deferred until the next time the filesystem is mounted.
|
|
|
ec15cf |
+.TP
|
|
|
ec15cf |
+.B init_itable=n
|
|
|
ec15cf |
+The lazy itable init code will wait n times the number of milliseconds it took
|
|
|
ec15cf |
+to zero out the previous block group's inode table. This minimizes the impact on
|
|
|
ec15cf |
+system performance while the filesystem's inode table is being initialized.
|
|
|
ec15cf |
+.TP
|
|
|
ec15cf |
+.BR discard / nodiscard
|
|
|
ec15cf |
+Controls whether ext4 should issue discard/TRIM commands to the underlying
|
|
|
ec15cf |
+block device when blocks are freed. This is useful for SSD devices and
|
|
|
ec15cf |
+sparse/thinly-provisioned LUNs, but it is off by default until sufficient
|
|
|
ec15cf |
+testing has been done.
|
|
|
ec15cf |
+.TP
|
|
|
ec15cf |
+.B nouid32
|
|
|
ec15cf |
+Disables 32-bit UIDs and GIDs. This is for
|
|
|
ec15cf |
+interoperability with older kernels which only
|
|
|
ec15cf |
+store and expect 16-bit values.
|
|
|
ec15cf |
+.TP
|
|
|
ec15cf |
+.BR block_validity / noblock_validity
|
|
|
ec15cf |
+This options allows to enables/disables the in-kernel facility for tracking
|
|
|
ec15cf |
+filesystem metadata blocks within internal data structures. This allows multi-\c
|
|
|
ec15cf |
+block allocator and other routines to quickly locate extents which might
|
|
|
ec15cf |
+overlap with filesystem metadata blocks. This option is intended for debugging
|
|
|
ec15cf |
+purposes and since it negatively affects the performance, it is off by default.
|
|
|
ec15cf |
+.TP
|
|
|
ec15cf |
+.BR dioread_lock / dioread_nolock
|
|
|
ec15cf |
+Controls whether or not ext4 should use the DIO read locking. If the
|
|
|
ec15cf |
+dioread_nolock option is specified ext4 will allocate uninitialized extent
|
|
|
ec15cf |
+before buffer write and convert the extent to initialized after IO completes.
|
|
|
ec15cf |
+This approach allows ext4 code to avoid using inode mutex, which improves
|
|
|
ec15cf |
+scalability on high speed storages. However this does not work with data
|
|
|
ec15cf |
+journaling and dioread_nolock option will be ignored with kernel warning.
|
|
|
ec15cf |
+Note that dioread_nolock code path is only used for extent-based files.
|
|
|
ec15cf |
+Because of the restrictions this options comprises it is off by default
|
|
|
ec15cf |
+(e.g.\& dioread_lock).
|
|
|
ec15cf |
+.TP
|
|
|
ec15cf |
+.B max_dir_size_kb=n
|
|
|
ec15cf |
+This limits the size of the directories so that any attempt to expand them
|
|
|
ec15cf |
+beyond the specified limit in kilobytes will cause an ENOSPC error. This is
|
|
|
ec15cf |
+useful in memory-constrained environments, where a very large directory can
|
|
|
ec15cf |
+cause severe performance problems or even provoke the Out Of Memory killer. (For
|
|
|
ec15cf |
+example, if there is only 512\ MB memory available, a 176\ MB directory may
|
|
|
ec15cf |
+seriously cramp the system's style.)
|
|
|
ec15cf |
+.TP
|
|
|
ec15cf |
+.B i_version
|
|
|
ec15cf |
+Enable 64-bit inode version support. This option is off by default.
|
|
|
ec15cf |
+
|
|
|
ec15cf |
.SH SEE ALSO
|
|
|
ec15cf |
.BR mke2fs (8),
|
|
|
ec15cf |
.BR mke2fs.conf (5),
|
|
|
ec15cf |
.BR e2fsck (8),
|
|
|
ec15cf |
.BR dumpe2fs (8),
|
|
|
ec15cf |
.BR tune2fs (8),
|
|
|
ec15cf |
-.BR debugfs (8)
|
|
|
ec15cf |
+.BR debugfs (8),
|
|
|
ec15cf |
+.BR mount (8)
|