summaryrefslogtreecommitdiff
path: root/usr
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2019-08-30 15:44:38 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2019-10-19 10:39:01 -0700
commit0d8bb3f4adaf37c269cdf50a92ef09da0bc72945 (patch)
treea68069ae7fb8430690be66497e7be8aecb5dc396 /usr
parent8bf4d6921c6efb76c02090c20c7521d797e01ee4 (diff)
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 <darrick.wong@oracle.com>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions