diff options
Diffstat (limited to 'Documentation/filesystems/proc.txt')
-rw-r--r-- | Documentation/filesystems/proc.txt | 76 |
1 files changed, 35 insertions, 41 deletions
diff --git a/Documentation/filesystems/proc.txt b/Documentation/filesystems/proc.txt index 394eb2cc1c39..b488edad743c 100644 --- a/Documentation/filesystems/proc.txt +++ b/Documentation/filesystems/proc.txt | |||
@@ -923,45 +923,44 @@ CPUs. | |||
923 | The "procs_blocked" line gives the number of processes currently blocked, | 923 | The "procs_blocked" line gives the number of processes currently blocked, |
924 | waiting for I/O to complete. | 924 | waiting for I/O to complete. |
925 | 925 | ||
926 | |||
926 | 1.9 Ext4 file system parameters | 927 | 1.9 Ext4 file system parameters |
927 | ------------------------------ | 928 | ------------------------------ |
928 | Ext4 file system have one directory per partition under /proc/fs/ext4/ | ||
929 | # ls /proc/fs/ext4/hdc/ | ||
930 | group_prealloc max_to_scan mb_groups mb_history min_to_scan order2_req | ||
931 | stats stream_req | ||
932 | |||
933 | mb_groups: | ||
934 | This file gives the details of multiblock allocator buddy cache of free blocks | ||
935 | |||
936 | mb_history: | ||
937 | Multiblock allocation history. | ||
938 | |||
939 | stats: | ||
940 | This file indicate whether the multiblock allocator should start collecting | ||
941 | statistics. The statistics are shown during unmount | ||
942 | |||
943 | group_prealloc: | ||
944 | The multiblock allocator normalize the block allocation request to | ||
945 | group_prealloc filesystem blocks if we don't have strip value set. | ||
946 | The stripe value can be specified at mount time or during mke2fs. | ||
947 | |||
948 | max_to_scan: | ||
949 | How long multiblock allocator can look for a best extent (in found extents) | ||
950 | 929 | ||
951 | min_to_scan: | 930 | Information about mounted ext4 file systems can be found in |
952 | How long multiblock allocator must look for a best extent | 931 | /proc/fs/ext4. Each mounted filesystem will have a directory in |
932 | /proc/fs/ext4 based on its device name (i.e., /proc/fs/ext4/hdc or | ||
933 | /proc/fs/ext4/dm-0). The files in each per-device directory are shown | ||
934 | in Table 1-10, below. | ||
953 | 935 | ||
954 | order2_req: | 936 | Table 1-10: Files in /proc/fs/ext4/<devname> |
955 | Multiblock allocator use 2^N search using buddies only for requests greater | 937 | .............................................................................. |
956 | than or equal to order2_req. The request size is specfied in file system | 938 | File Content |
957 | blocks. A value of 2 indicate only if the requests are greater than or equal | 939 | mb_groups details of multiblock allocator buddy cache of free blocks |
958 | to 4 blocks. | 940 | mb_history multiblock allocation history |
941 | stats controls whether the multiblock allocator should start | ||
942 | collecting statistics, which are shown during the unmount | ||
943 | group_prealloc the multiblock allocator will round up allocation | ||
944 | requests to a multiple of this tuning parameter if the | ||
945 | stripe size is not set in the ext4 superblock | ||
946 | max_to_scan The maximum number of extents the multiblock allocator | ||
947 | will search to find the best extent | ||
948 | min_to_scan The minimum number of extents the multiblock allocator | ||
949 | will search to find the best extent | ||
950 | order2_req Tuning parameter which controls the minimum size for | ||
951 | requests (as a power of 2) where the buddy cache is | ||
952 | used | ||
953 | stream_req Files which have fewer blocks than this tunable | ||
954 | parameter will have their blocks allocated out of a | ||
955 | block group specific preallocation pool, so that small | ||
956 | files are packed closely together. Each large file | ||
957 | will have its blocks allocated out of its own unique | ||
958 | preallocation pool. | ||
959 | inode_readahead Tuning parameter which controls the maximum number of | ||
960 | inode table blocks that ext4's inode table readahead | ||
961 | algorithm will pre-read into the buffer cache | ||
962 | .............................................................................. | ||
959 | 963 | ||
960 | stream_req: | ||
961 | Files smaller than stream_req are served by the stream allocator, whose | ||
962 | purpose is to pack requests as close each to other as possible to | ||
963 | produce smooth I/O traffic. Avalue of 16 indicate that file smaller than 16 | ||
964 | filesystem block size will use group based preallocation. | ||
965 | 964 | ||
966 | ------------------------------------------------------------------------------ | 965 | ------------------------------------------------------------------------------ |
967 | Summary | 966 | Summary |
@@ -1332,13 +1331,6 @@ determine whether or not they are still functioning properly. | |||
1332 | Because the NMI watchdog shares registers with oprofile, by disabling the NMI | 1331 | Because the NMI watchdog shares registers with oprofile, by disabling the NMI |
1333 | watchdog, oprofile may have more registers to utilize. | 1332 | watchdog, oprofile may have more registers to utilize. |
1334 | 1333 | ||
1335 | maps_protect | ||
1336 | ------------ | ||
1337 | |||
1338 | Enables/Disables the protection of the per-process proc entries "maps" and | ||
1339 | "smaps". When enabled, the contents of these files are visible only to | ||
1340 | readers that are allowed to ptrace() the given process. | ||
1341 | |||
1342 | msgmni | 1334 | msgmni |
1343 | ------ | 1335 | ------ |
1344 | 1336 | ||
@@ -2413,6 +2405,8 @@ The following 4 memory types are supported: | |||
2413 | - (bit 1) anonymous shared memory | 2405 | - (bit 1) anonymous shared memory |
2414 | - (bit 2) file-backed private memory | 2406 | - (bit 2) file-backed private memory |
2415 | - (bit 3) file-backed shared memory | 2407 | - (bit 3) file-backed shared memory |
2408 | - (bit 4) ELF header pages in file-backed private memory areas (it is | ||
2409 | effective only if the bit 2 is cleared) | ||
2416 | 2410 | ||
2417 | Note that MMIO pages such as frame buffer are never dumped and vDSO pages | 2411 | Note that MMIO pages such as frame buffer are never dumped and vDSO pages |
2418 | are always dumped regardless of the bitmask status. | 2412 | are always dumped regardless of the bitmask status. |