^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) What: /sys/fs/ext4/<disk>/mb_stats
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) Date: March 2008
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) Contact: "Theodore Ts'o" <tytso@mit.edu>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) Controls whether the multiblock allocator should
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) collect statistics, which are shown during the unmount.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) 1 means to collect statistics, 0 means not to collect
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) statistics
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) What: /sys/fs/ext4/<disk>/mb_group_prealloc
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) Date: March 2008
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) Contact: "Theodore Ts'o" <tytso@mit.edu>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) The multiblock allocator will round up allocation
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) requests to a multiple of this tuning parameter if the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) stripe size is not set in the ext4 superblock
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) What: /sys/fs/ext4/<disk>/mb_max_to_scan
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) Date: March 2008
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) Contact: "Theodore Ts'o" <tytso@mit.edu>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) The maximum number of extents the multiblock allocator
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) will search to find the best extent
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) What: /sys/fs/ext4/<disk>/mb_min_to_scan
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) Date: March 2008
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) Contact: "Theodore Ts'o" <tytso@mit.edu>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) The minimum number of extents the multiblock allocator
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) will search to find the best extent
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) What: /sys/fs/ext4/<disk>/mb_order2_req
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) Date: March 2008
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) Contact: "Theodore Ts'o" <tytso@mit.edu>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) Tuning parameter which controls the minimum size for
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) requests (as a power of 2) where the buddy cache is
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) used
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) What: /sys/fs/ext4/<disk>/mb_stream_req
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) Date: March 2008
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) Contact: "Theodore Ts'o" <tytso@mit.edu>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) Files which have fewer blocks than this tunable
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) parameter will have their blocks allocated out of a
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) block group specific preallocation pool, so that small
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) files are packed closely together. Each large file
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) will have its blocks allocated out of its own unique
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) preallocation pool.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) What: /sys/fs/ext4/<disk>/inode_readahead_blks
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) Date: March 2008
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) Contact: "Theodore Ts'o" <tytso@mit.edu>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) Tuning parameter which controls the maximum number of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) inode table blocks that ext4's inode table readahead
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) algorithm will pre-read into the buffer cache
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) What: /sys/fs/ext4/<disk>/delayed_allocation_blocks
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60) Date: March 2008
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) Contact: "Theodore Ts'o" <tytso@mit.edu>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63) This file is read-only and shows the number of blocks
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64) that are dirty in the page cache, but which do not
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65) have their location in the filesystem allocated yet.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67) What: /sys/fs/ext4/<disk>/lifetime_write_kbytes
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68) Date: March 2008
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 69) Contact: "Theodore Ts'o" <tytso@mit.edu>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 70) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 71) This file is read-only and shows the number of kilobytes
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 72) of data that have been written to this filesystem since it was
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 73) created.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 74)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 75) What: /sys/fs/ext4/<disk>/session_write_kbytes
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 76) Date: March 2008
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 77) Contact: "Theodore Ts'o" <tytso@mit.edu>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 78) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 79) This file is read-only and shows the number of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 80) kilobytes of data that have been written to this
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 81) filesystem since it was mounted.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 82)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 83) What: /sys/fs/ext4/<disk>/inode_goal
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 84) Date: June 2008
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 85) Contact: "Theodore Ts'o" <tytso@mit.edu>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 86) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 87) Tuning parameter which (if non-zero) controls the goal
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 88) inode used by the inode allocator in preference to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 89) all other allocation heuristics. This is intended for
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 90) debugging use only, and should be 0 on production
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 91) systems.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 92)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 93) What: /sys/fs/ext4/<disk>/max_writeback_mb_bump
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 94) Date: September 2009
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 95) Contact: "Theodore Ts'o" <tytso@mit.edu>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 96) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 97) The maximum number of megabytes the writeback code will
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 98) try to write out before move on to another inode.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 99)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 100) What: /sys/fs/ext4/<disk>/extent_max_zeroout_kb
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 101) Date: August 2012
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 102) Contact: "Theodore Ts'o" <tytso@mit.edu>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 103) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 104) The maximum number of kilobytes which will be zeroed
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 105) out in preference to creating a new uninitialized
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 106) extent when manipulating an inode's extent tree. Note
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 107) that using a larger value will increase the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 108) variability of time necessary to complete a random
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 109) write operation (since a 4k random write might turn
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 110) into a much larger write due to the zeroout
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 111) operation).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 112)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 113) What: /sys/fs/ext4/<disk>/journal_task
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 114) Date: February 2019
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 115) Contact: "Theodore Ts'o" <tytso@mit.edu>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 116) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 117) This file is read-only and shows the pid of journal thread in
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 118) current pid-namespace or 0 if task is unreachable.