aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorDarrick J. Wong <[email protected]>2020-05-23 16:43:31 +0000
committerDarrick J. Wong <[email protected]>2020-05-27 15:49:28 +0000
commita5949d3faedf492fa7863b914da408047ab46eb0 (patch)
treeecfae2d1263b9a6b5999c6351c7bd3bbb0d44543 /tools/perf/scripts/python/sctop.py
parentxfs: refactor xfs_iomap_prealloc_size (diff)
downloadkernel-a5949d3faedf492fa7863b914da408047ab46eb0.tar.gz
kernel-a5949d3faedf492fa7863b914da408047ab46eb0.zip
xfs: force writes to delalloc regions to unwritten
When writing to a delalloc region in the data fork, commit the new allocations (of the da reservation) as unwritten so that the mappings are only marked written once writeback completes successfully. This fixes the problem of stale data exposure if the system goes down during targeted writeback of a specific region of a file, as tested by generic/042. 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