summaryrefslogtreecommitdiff
path: root/lib/crc16.c
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-09 09:39:17 -0700
commitd41c02bacffead0a3fb9659d78f625b2999f17d4 (patch)
tree69b8c08f1e653a2e43221980138fefec3522b71f /lib/crc16.c
parent00eb83290fa7767680bf685b8b4707324b2915a5 (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 'lib/crc16.c')
0 files changed, 0 insertions, 0 deletions