diff options
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/ABI/testing/sysfs-fs-ext4 | 13 | ||||
-rw-r--r-- | Documentation/filesystems/ext4.txt | 10 |
2 files changed, 23 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-fs-ext4 b/Documentation/ABI/testing/sysfs-fs-ext4 index f22ac0872ae8..c631253cf85c 100644 --- a/Documentation/ABI/testing/sysfs-fs-ext4 +++ b/Documentation/ABI/testing/sysfs-fs-ext4 | |||
@@ -96,3 +96,16 @@ Contact: "Theodore Ts'o" <tytso@mit.edu> | |||
96 | Description: | 96 | Description: |
97 | The maximum number of megabytes the writeback code will | 97 | The maximum number of megabytes the writeback code will |
98 | try to write out before move on to another inode. | 98 | try to write out before move on to another inode. |
99 | |||
100 | What: /sys/fs/ext4/<disk>/extent_max_zeroout_kb | ||
101 | Date: August 2012 | ||
102 | Contact: "Theodore Ts'o" <tytso@mit.edu> | ||
103 | Description: | ||
104 | The maximum number of kilobytes which will be zeroed | ||
105 | out in preference to creating a new uninitialized | ||
106 | extent when manipulating an inode's extent tree. Note | ||
107 | that using a larger value will increase the | ||
108 | variability of time necessary to complete a random | ||
109 | write operation (since a 4k random write might turn | ||
110 | into a much larger write due to the zeroout | ||
111 | operation). | ||
diff --git a/Documentation/filesystems/ext4.txt b/Documentation/filesystems/ext4.txt index 1b7f9acbcbbe..104322bf378c 100644 --- a/Documentation/filesystems/ext4.txt +++ b/Documentation/filesystems/ext4.txt | |||
@@ -375,6 +375,16 @@ dioread_nolock locking. If the dioread_nolock option is specified | |||
375 | Because of the restrictions this options comprises | 375 | Because of the restrictions this options comprises |
376 | it is off by default (e.g. dioread_lock). | 376 | it is off by default (e.g. dioread_lock). |
377 | 377 | ||
378 | max_dir_size_kb=n This limits the size of directories so that any | ||
379 | attempt to expand them beyond the specified | ||
380 | limit in kilobytes will cause an ENOSPC error. | ||
381 | This is useful in memory constrained | ||
382 | environments, where a very large directory can | ||
383 | cause severe performance problems or even | ||
384 | provoke the Out Of Memory killer. (For example, | ||
385 | if there is only 512mb memory available, a 176mb | ||
386 | directory may seriously cramp the system's style.) | ||
387 | |||
378 | i_version Enable 64-bit inode version support. This option is | 388 | i_version Enable 64-bit inode version support. This option is |
379 | off by default. | 389 | off by default. |
380 | 390 | ||