162306a36Sopenharmony_ciWhat: /sys/fs/ext4/<disk>/mb_stats 262306a36Sopenharmony_ciDate: March 2008 362306a36Sopenharmony_ciContact: "Theodore Ts'o" <tytso@mit.edu> 462306a36Sopenharmony_ciDescription: 562306a36Sopenharmony_ci Controls whether the multiblock allocator should 662306a36Sopenharmony_ci collect statistics, which are shown during the unmount. 762306a36Sopenharmony_ci 1 means to collect statistics, 0 means not to collect 862306a36Sopenharmony_ci statistics 962306a36Sopenharmony_ci 1062306a36Sopenharmony_ciWhat: /sys/fs/ext4/<disk>/mb_group_prealloc 1162306a36Sopenharmony_ciDate: March 2008 1262306a36Sopenharmony_ciContact: "Theodore Ts'o" <tytso@mit.edu> 1362306a36Sopenharmony_ciDescription: 1462306a36Sopenharmony_ci The multiblock allocator will round up allocation 1562306a36Sopenharmony_ci requests to a multiple of this tuning parameter if the 1662306a36Sopenharmony_ci stripe size is not set in the ext4 superblock 1762306a36Sopenharmony_ci 1862306a36Sopenharmony_ciWhat: /sys/fs/ext4/<disk>/mb_max_to_scan 1962306a36Sopenharmony_ciDate: March 2008 2062306a36Sopenharmony_ciContact: "Theodore Ts'o" <tytso@mit.edu> 2162306a36Sopenharmony_ciDescription: 2262306a36Sopenharmony_ci The maximum number of extents the multiblock allocator 2362306a36Sopenharmony_ci will search to find the best extent 2462306a36Sopenharmony_ci 2562306a36Sopenharmony_ciWhat: /sys/fs/ext4/<disk>/mb_min_to_scan 2662306a36Sopenharmony_ciDate: March 2008 2762306a36Sopenharmony_ciContact: "Theodore Ts'o" <tytso@mit.edu> 2862306a36Sopenharmony_ciDescription: 2962306a36Sopenharmony_ci The minimum number of extents the multiblock allocator 3062306a36Sopenharmony_ci will search to find the best extent 3162306a36Sopenharmony_ci 3262306a36Sopenharmony_ciWhat: /sys/fs/ext4/<disk>/mb_order2_req 3362306a36Sopenharmony_ciDate: March 2008 3462306a36Sopenharmony_ciContact: "Theodore Ts'o" <tytso@mit.edu> 3562306a36Sopenharmony_ciDescription: 3662306a36Sopenharmony_ci Tuning parameter which controls the minimum size for 3762306a36Sopenharmony_ci requests (as a power of 2) where the buddy cache is 3862306a36Sopenharmony_ci used 3962306a36Sopenharmony_ci 4062306a36Sopenharmony_ciWhat: /sys/fs/ext4/<disk>/mb_stream_req 4162306a36Sopenharmony_ciDate: March 2008 4262306a36Sopenharmony_ciContact: "Theodore Ts'o" <tytso@mit.edu> 4362306a36Sopenharmony_ciDescription: 4462306a36Sopenharmony_ci Files which have fewer blocks than this tunable 4562306a36Sopenharmony_ci parameter will have their blocks allocated out of a 4662306a36Sopenharmony_ci block group specific preallocation pool, so that small 4762306a36Sopenharmony_ci files are packed closely together. Each large file 4862306a36Sopenharmony_ci will have its blocks allocated out of its own unique 4962306a36Sopenharmony_ci preallocation pool. 5062306a36Sopenharmony_ci 5162306a36Sopenharmony_ciWhat: /sys/fs/ext4/<disk>/inode_readahead_blks 5262306a36Sopenharmony_ciDate: March 2008 5362306a36Sopenharmony_ciContact: "Theodore Ts'o" <tytso@mit.edu> 5462306a36Sopenharmony_ciDescription: 5562306a36Sopenharmony_ci Tuning parameter which controls the maximum number of 5662306a36Sopenharmony_ci inode table blocks that ext4's inode table readahead 5762306a36Sopenharmony_ci algorithm will pre-read into the buffer cache 5862306a36Sopenharmony_ci 5962306a36Sopenharmony_ciWhat: /sys/fs/ext4/<disk>/delayed_allocation_blocks 6062306a36Sopenharmony_ciDate: March 2008 6162306a36Sopenharmony_ciContact: "Theodore Ts'o" <tytso@mit.edu> 6262306a36Sopenharmony_ciDescription: 6362306a36Sopenharmony_ci This file is read-only and shows the number of blocks 6462306a36Sopenharmony_ci that are dirty in the page cache, but which do not 6562306a36Sopenharmony_ci have their location in the filesystem allocated yet. 6662306a36Sopenharmony_ci 6762306a36Sopenharmony_ciWhat: /sys/fs/ext4/<disk>/lifetime_write_kbytes 6862306a36Sopenharmony_ciDate: March 2008 6962306a36Sopenharmony_ciContact: "Theodore Ts'o" <tytso@mit.edu> 7062306a36Sopenharmony_ciDescription: 7162306a36Sopenharmony_ci This file is read-only and shows the number of kilobytes 7262306a36Sopenharmony_ci of data that have been written to this filesystem since it was 7362306a36Sopenharmony_ci created. 7462306a36Sopenharmony_ci 7562306a36Sopenharmony_ciWhat: /sys/fs/ext4/<disk>/session_write_kbytes 7662306a36Sopenharmony_ciDate: March 2008 7762306a36Sopenharmony_ciContact: "Theodore Ts'o" <tytso@mit.edu> 7862306a36Sopenharmony_ciDescription: 7962306a36Sopenharmony_ci This file is read-only and shows the number of 8062306a36Sopenharmony_ci kilobytes of data that have been written to this 8162306a36Sopenharmony_ci filesystem since it was mounted. 8262306a36Sopenharmony_ci 8362306a36Sopenharmony_ciWhat: /sys/fs/ext4/<disk>/inode_goal 8462306a36Sopenharmony_ciDate: June 2008 8562306a36Sopenharmony_ciContact: "Theodore Ts'o" <tytso@mit.edu> 8662306a36Sopenharmony_ciDescription: 8762306a36Sopenharmony_ci Tuning parameter which (if non-zero) controls the goal 8862306a36Sopenharmony_ci inode used by the inode allocator in preference to 8962306a36Sopenharmony_ci all other allocation heuristics. This is intended for 9062306a36Sopenharmony_ci debugging use only, and should be 0 on production 9162306a36Sopenharmony_ci systems. 9262306a36Sopenharmony_ci 9362306a36Sopenharmony_ciWhat: /sys/fs/ext4/<disk>/max_writeback_mb_bump 9462306a36Sopenharmony_ciDate: September 2009 9562306a36Sopenharmony_ciContact: "Theodore Ts'o" <tytso@mit.edu> 9662306a36Sopenharmony_ciDescription: 9762306a36Sopenharmony_ci The maximum number of megabytes the writeback code will 9862306a36Sopenharmony_ci try to write out before move on to another inode. 9962306a36Sopenharmony_ci 10062306a36Sopenharmony_ciWhat: /sys/fs/ext4/<disk>/extent_max_zeroout_kb 10162306a36Sopenharmony_ciDate: August 2012 10262306a36Sopenharmony_ciContact: "Theodore Ts'o" <tytso@mit.edu> 10362306a36Sopenharmony_ciDescription: 10462306a36Sopenharmony_ci The maximum number of kilobytes which will be zeroed 10562306a36Sopenharmony_ci out in preference to creating a new uninitialized 10662306a36Sopenharmony_ci extent when manipulating an inode's extent tree. Note 10762306a36Sopenharmony_ci that using a larger value will increase the 10862306a36Sopenharmony_ci variability of time necessary to complete a random 10962306a36Sopenharmony_ci write operation (since a 4k random write might turn 11062306a36Sopenharmony_ci into a much larger write due to the zeroout 11162306a36Sopenharmony_ci operation). 11262306a36Sopenharmony_ci 11362306a36Sopenharmony_ciWhat: /sys/fs/ext4/<disk>/journal_task 11462306a36Sopenharmony_ciDate: February 2019 11562306a36Sopenharmony_ciContact: "Theodore Ts'o" <tytso@mit.edu> 11662306a36Sopenharmony_ciDescription: 11762306a36Sopenharmony_ci This file is read-only and shows the pid of journal thread in 11862306a36Sopenharmony_ci current pid-namespace or 0 if task is unreachable. 119