aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorDarrick J. Wong <[email protected]>2020-05-23 16:43:30 +0000
committerDarrick J. Wong <[email protected]>2020-05-27 15:49:28 +0000
commit590b16516ef38e2e88674fe0a0cea39927a8ee2e (patch)
treed8845cd9f923caeb56764a9301ba03b14ba758fc /tools/perf/scripts/python/sctop.py
parentxfs: measure all contiguous previous extents for prealloc size (diff)
downloadkernel-590b16516ef38e2e88674fe0a0cea39927a8ee2e.tar.gz
kernel-590b16516ef38e2e88674fe0a0cea39927a8ee2e.zip
xfs: refactor xfs_iomap_prealloc_size
Refactor xfs_iomap_prealloc_size to be the function that dynamically computes the per-file preallocation size by moving the allocsize= case to the caller. Break up the huge comment preceding the function to annotate the relevant parts of the code, and remove the impossible check_writeio case. Suggested-by: Christoph Hellwig <[email protected]> Signed-off-by: Darrick J. Wong <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Reviewed-by: Brian Foster <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions