diff options
Diffstat (limited to 'Documentation/filesystems')
-rw-r--r-- | Documentation/filesystems/ext4.txt | 10 | ||||
-rw-r--r-- | Documentation/filesystems/proc.txt | 39 |
2 files changed, 48 insertions, 1 deletions
diff --git a/Documentation/filesystems/ext4.txt b/Documentation/filesystems/ext4.txt index 4f329afe20ec..560f88dc7090 100644 --- a/Documentation/filesystems/ext4.txt +++ b/Documentation/filesystems/ext4.txt | |||
@@ -86,9 +86,11 @@ Alex is working on a new set of patches right now. | |||
86 | When mounting an ext4 filesystem, the following option are accepted: | 86 | When mounting an ext4 filesystem, the following option are accepted: |
87 | (*) == default | 87 | (*) == default |
88 | 88 | ||
89 | extents ext4 will use extents to address file data. The | 89 | extents (*) ext4 will use extents to address file data. The |
90 | file system will no longer be mountable by ext3. | 90 | file system will no longer be mountable by ext3. |
91 | 91 | ||
92 | noextents ext4 will not use extents for newly created files | ||
93 | |||
92 | journal_checksum Enable checksumming of the journal transactions. | 94 | journal_checksum Enable checksumming of the journal transactions. |
93 | This will allow the recovery code in e2fsck and the | 95 | This will allow the recovery code in e2fsck and the |
94 | kernel to detect corruption in the kernel. It is a | 96 | kernel to detect corruption in the kernel. It is a |
@@ -206,6 +208,12 @@ nobh (a) cache disk block mapping information | |||
206 | "nobh" option tries to avoid associating buffer | 208 | "nobh" option tries to avoid associating buffer |
207 | heads (supported only for "writeback" mode). | 209 | heads (supported only for "writeback" mode). |
208 | 210 | ||
211 | mballoc (*) Use the multiple block allocator for block allocation | ||
212 | nomballoc disabled multiple block allocator for block allocation. | ||
213 | stripe=n Number of filesystem blocks that mballoc will try | ||
214 | to use for allocation size and alignment. For RAID5/6 | ||
215 | systems this should be the number of data | ||
216 | disks * RAID chunk size in file system blocks. | ||
209 | 217 | ||
210 | Data Mode | 218 | Data Mode |
211 | --------- | 219 | --------- |
diff --git a/Documentation/filesystems/proc.txt b/Documentation/filesystems/proc.txt index dec99455321f..4413a2d4646f 100644 --- a/Documentation/filesystems/proc.txt +++ b/Documentation/filesystems/proc.txt | |||
@@ -857,6 +857,45 @@ CPUs. | |||
857 | The "procs_blocked" line gives the number of processes currently blocked, | 857 | The "procs_blocked" line gives the number of processes currently blocked, |
858 | waiting for I/O to complete. | 858 | waiting for I/O to complete. |
859 | 859 | ||
860 | 1.9 Ext4 file system parameters | ||
861 | ------------------------------ | ||
862 | Ext4 file system have one directory per partition under /proc/fs/ext4/ | ||
863 | # ls /proc/fs/ext4/hdc/ | ||
864 | group_prealloc max_to_scan mb_groups mb_history min_to_scan order2_req | ||
865 | stats stream_req | ||
866 | |||
867 | mb_groups: | ||
868 | This file gives the details of mutiblock allocator buddy cache of free blocks | ||
869 | |||
870 | mb_history: | ||
871 | Multiblock allocation history. | ||
872 | |||
873 | stats: | ||
874 | This file indicate whether the multiblock allocator should start collecting | ||
875 | statistics. The statistics are shown during unmount | ||
876 | |||
877 | group_prealloc: | ||
878 | The multiblock allocator normalize the block allocation request to | ||
879 | group_prealloc filesystem blocks if we don't have strip value set. | ||
880 | The stripe value can be specified at mount time or during mke2fs. | ||
881 | |||
882 | max_to_scan: | ||
883 | How long multiblock allocator can look for a best extent (in found extents) | ||
884 | |||
885 | min_to_scan: | ||
886 | How long multiblock allocator must look for a best extent | ||
887 | |||
888 | order2_req: | ||
889 | Multiblock allocator use 2^N search using buddies only for requests greater | ||
890 | than or equal to order2_req. The request size is specfied in file system | ||
891 | blocks. A value of 2 indicate only if the requests are greater than or equal | ||
892 | to 4 blocks. | ||
893 | |||
894 | stream_req: | ||
895 | Files smaller than stream_req are served by the stream allocator, whose | ||
896 | purpose is to pack requests as close each to other as possible to | ||
897 | produce smooth I/O traffic. Avalue of 16 indicate that file smaller than 16 | ||
898 | filesystem block size will use group based preallocation. | ||
860 | 899 | ||
861 | ------------------------------------------------------------------------------ | 900 | ------------------------------------------------------------------------------ |
862 | Summary | 901 | Summary |