diff options
| author | Zheng Liu <[email protected]> | 2012-08-17 09:54:17 -0400 |
|---|---|---|
| committer | Theodore Ts'o <[email protected]> | 2012-08-17 09:54:17 -0400 |
| commit | 67a5da564f97f31c4054d358e00b34d7ee570da5 (patch) | |
| tree | 525f256d46cfac4be0b0acd90cc2bad5fcdb1b77 /tools/perf/scripts/python/bin | |
| parent | 81370291722ac1e0ec95234a0ea91a5bc76b6185 (diff) | |
ext4: make the zero-out chunk size tunable
Currently in ext4 the length of zero-out chunk is set to 7 file system
blocks. But if an inode has uninitailized extents from using
fallocate to preallocate space, and the workload issues many random
writes, this can cause a fragmented extent tree that will
unnecessarily grow the extent tree.
So create a new sysfs tunable, extent_max_zeroout_kb, which controls
the maximum size where blocks will be zeroed out instead of creating a
new uninitialized extent. The default of this has been sent to 32kb.
CC: Zach Brown <[email protected]>
CC: Andreas Dilger <[email protected]>
Signed-off-by: Zheng Liu <[email protected]>
Signed-off-by: "Theodore Ts'o" <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions