All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Update ext3/4 mount options
@ 2014-01-09 17:34 Carlos Maiolino
  2014-01-09 20:30 ` Benno Schulenberg
  0 siblings, 1 reply; 4+ messages in thread
From: Carlos Maiolino @ 2014-01-09 17:34 UTC (permalink / raw)
  To: util-linux, linux-ext4

Add missing mount options to ext3 and ext4 filesystems. This also remove resize
option information from the man page.

Signed-off-by: Carlos Maiolino <cmaiolino@redhat.com>
---
 sys-utils/mount.8 | 42 +++++++++++++++++++++++++++++++-----------
 1 file changed, 31 insertions(+), 11 deletions(-)

diff --git a/sys-utils/mount.8 b/sys-utils/mount.8
index 6a5edd0..0aa3608 100644
--- a/sys-utils/mount.8
+++ b/sys-utils/mount.8
@@ -1466,12 +1466,12 @@ journal file;  ext3 will create a new journal, overwriting the old contents
 of the file whose inode number is
 .IR inum .
 .TP
-.BR journal_dev=devnum
+.BR journal_dev=devnum / journal_path=path
 When the external journal device's major/minor numbers
-have changed, this option allows the user to specify
+have changed, these options allows the user to specify
 the new journal location.  The journal device is
-identified through its new major/minor numbers encoded
-in devnum.
+identified through euther its new major/minor numbers encoded
+in devnum, or via a path to the device.
 .TP
 .BR norecovery / noload
 Don't load the journal on mounting.  Note that
@@ -1504,6 +1504,13 @@ internal filesystem integrity, however it can allow old data to appear
 in files after a crash and journal recovery.
 .RE
 .TP
+.BR data_err=ignore
+Just print an error message if an error occurs in a file data buffer in
+ordered mode.
+.TP
+.BR data_err=abort
+Abort the journal if an error occurs in a file data buffer in ordered mode.
+.TP
 .BR barrier=0 " / "  barrier=1 "
 This enables/disables barriers.  barrier=0 disables it, barrier=1 enables it.
 Write barriers enforce proper on-disk ordering of journal commits, making
@@ -1541,7 +1548,7 @@ incorporates scalability and reliability enhancements for supporting large
 filesystem.
 
 The options
-.B journal_dev, noload, data, commit, orlov, oldalloc, [no]user_xattr
+.B journal_dev, norecovery, noload, data, commit, orlov, oldalloc, [no]user_xattr
 .B [no]acl, bsddf, minixdf, debug, errors, data_err, grpid, bsdgroups, nogrpid
 .B sysvgroups, resgid, resuid, sb, quota, noquota, grpquota, usrquota
 .B usrjquota, grpjquota and jqfmt
@@ -1637,6 +1644,17 @@ operation is committed.  This provides roughly the same level of guarantees as
 ext3, and avoids the "zero-length" problem that can happen when a system
 crashes before the delayed allocation blocks are forced to disk.
 .TP
+.BR noinit_itable
+Do not initialize any uninitialized inode table blocks in the background. This
+feature may be used by installation CD's so that the install process can
+complete as quickly as possible; the inode table initialization process would
+then be deferred until the next time the filesystem is mounted.
+.TP
+.BR init_itable=n
+The lazy itable init code will wait n times the number of milliseconds it took
+to zero out the previous block group's inode table. This minimizes the impact on
+the system performance while filesystem's inode table is being initialized.
+.TP
 .BR discard / nodiscard
 Controls whether ext4 should issue discard/TRIM commands to the underlying
 block device when blocks are freed.  This is useful for SSD devices and
@@ -1648,12 +1666,6 @@ Disables 32-bit UIDs and GIDs.  This is for
 interoperability  with  older kernels which only
 store and expect 16-bit values.
 .TP
-.BR resize
-Allows to resize filesystem to the end of the last
-existing block group, further resize has to be done
-with resize2fs either online, or offline. It can be
-used only with conjunction with remount.
-.TP
 .BR block_validity / noblock_validity
 This options allows to enables/disables the in-kernel facility for tracking
 filesystem metadata blocks within internal data structures. This allows multi-
@@ -1672,6 +1684,14 @@ Note that dioread_nolock code path is only used for extent-based files.
 Because of the restrictions this options comprises it is off by default
 (e.g. dioread_lock).
 .TP
+.BR max_dir_size_kb=n
+This limits the size of the directories so that any attempt to expand them
+beyond the specified limit in kilobytes will cause an ENOSPC error. This is
+useful in memory constrained environments, where a very large directory can
+cause severe performance problems or even provoke the Out Of Memory killer. (For
+example, if there is only 512mb memory available, a 176mb directory may
+seriously cramp the system's style).
+.TP
 .BR i_version
 Enable 64-bit inode version support. This option is off by default.
 
-- 
1.8.1.4


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] Update ext3/4 mount options
  2014-01-09 17:34 [PATCH] Update ext3/4 mount options Carlos Maiolino
@ 2014-01-09 20:30 ` Benno Schulenberg
  2014-01-10 12:57     ` Carlos Maiolino
  0 siblings, 1 reply; 4+ messages in thread
From: Benno Schulenberg @ 2014-01-09 20:30 UTC (permalink / raw)
  To: Carlos Maiolino; +Cc: Util-Linux, linux-ext4


On Thu, Jan 9, 2014, at 18:34, Carlos Maiolino wrote:
> -have changed, this option allows the user to specify
> +have changed, these options allows the user to specify

s/allows/allow/

> +identified through euther its new major/minor numbers encoded
> +in devnum, or via a path to the device.

s/through euther/either through/
(swapped, otherwise the "via" needs to be dropped)

> +Abort the journal if an error occurs in a file data buffer in ordered mode.

"Abort loading the journal..." maybe?

> +The lazy itable init code will wait n times the number of milliseconds it took
> +to zero out the previous block group's inode table. This minimizes the impact on
> +the system performance while filesystem's inode table is being initialized.

s/the system/system/
s/while/while the/

> +useful in memory constrained environments, where a very large directory can

better: memory-constrained

> +cause severe performance problems or even provoke the Out Of Memory killer. (For
> +example, if there is only 512mb memory available, a 176mb directory may
> +seriously cramp the system's style).

s/)./.)/

Benno

-- 
http://www.fastmail.fm - Choose from over 50 domains or use your own


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] Update ext3/4 mount options
@ 2014-01-10 12:57     ` Carlos Maiolino
  0 siblings, 0 replies; 4+ messages in thread
From: Carlos Maiolino @ 2014-01-10 12:57 UTC (permalink / raw)
  To: util-linux, linux-ext4

Hi Benno,

thanks for the fixes, despite the journal line, where 'abort the journal' is the
correct meaning, I'm going to apply the other fixes.

On Thu, Jan 09, 2014 at 09:30:55PM +0100, Benno Schulenberg wrote:
> 
> On Thu, Jan 9, 2014, at 18:34, Carlos Maiolino wrote:
> > -have changed, this option allows the user to specify
> > +have changed, these options allows the user to specify
> 
> s/allows/allow/
> 
> > +identified through euther its new major/minor numbers encoded
> > +in devnum, or via a path to the device.
> 
> s/through euther/either through/
> (swapped, otherwise the "via" needs to be dropped)
> 
> > +Abort the journal if an error occurs in a file data buffer in ordered mode.
> 
> "Abort loading the journal..." maybe?
> 
> > +The lazy itable init code will wait n times the number of milliseconds it took
> > +to zero out the previous block group's inode table. This minimizes the impact on
> > +the system performance while filesystem's inode table is being initialized.
> 
> s/the system/system/
> s/while/while the/
> 
> > +useful in memory constrained environments, where a very large directory can
> 
> better: memory-constrained
> 
> > +cause severe performance problems or even provoke the Out Of Memory killer. (For
> > +example, if there is only 512mb memory available, a 176mb directory may
> > +seriously cramp the system's style).
> 
> s/)./.)/
> 
> Benno
> 
> -- 
> http://www.fastmail.fm - Choose from over 50 domains or use your own
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

-- 
Carlos

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] Update ext3/4 mount options
@ 2014-01-10 12:57     ` Carlos Maiolino
  0 siblings, 0 replies; 4+ messages in thread
From: Carlos Maiolino @ 2014-01-10 12:57 UTC (permalink / raw)
  To: util-linux-u79uwXL29TY76Z2rM5mHXA, linux-ext4-u79uwXL29TY76Z2rM5mHXA

Hi Benno,

thanks for the fixes, despite the journal line, where 'abort the journal' is the
correct meaning, I'm going to apply the other fixes.

On Thu, Jan 09, 2014 at 09:30:55PM +0100, Benno Schulenberg wrote:
> 
> On Thu, Jan 9, 2014, at 18:34, Carlos Maiolino wrote:
> > -have changed, this option allows the user to specify
> > +have changed, these options allows the user to specify
> 
> s/allows/allow/
> 
> > +identified through euther its new major/minor numbers encoded
> > +in devnum, or via a path to the device.
> 
> s/through euther/either through/
> (swapped, otherwise the "via" needs to be dropped)
> 
> > +Abort the journal if an error occurs in a file data buffer in ordered mode.
> 
> "Abort loading the journal..." maybe?
> 
> > +The lazy itable init code will wait n times the number of milliseconds it took
> > +to zero out the previous block group's inode table. This minimizes the impact on
> > +the system performance while filesystem's inode table is being initialized.
> 
> s/the system/system/
> s/while/while the/
> 
> > +useful in memory constrained environments, where a very large directory can
> 
> better: memory-constrained
> 
> > +cause severe performance problems or even provoke the Out Of Memory killer. (For
> > +example, if there is only 512mb memory available, a 176mb directory may
> > +seriously cramp the system's style).
> 
> s/)./.)/
> 
> Benno
> 
> -- 
> http://www.fastmail.fm - Choose from over 50 domains or use your own
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
> the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

-- 
Carlos
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-01-10 12:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-09 17:34 [PATCH] Update ext3/4 mount options Carlos Maiolino
2014-01-09 20:30 ` Benno Schulenberg
2014-01-10 12:57   ` Carlos Maiolino
2014-01-10 12:57     ` Carlos Maiolino

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.