summaryrefslogtreecommitdiff
path: root/net/tipc/name_table.c
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2020-02-19 17:01:31 -0800
committerDarrick J. Wong <darrick.wong@oracle.com>2020-06-01 21:16:28 -0700
commit662f16f02eaae7bbc124508b7b04545acb8a84fa (patch)
treea525eb994ba51652016bf3c470dbe575d481db52 /net/tipc/name_table.c
parent0a09bfe54aa2081c8f70aa5bed8699162e7570ec (diff)
xfs: force writes to delalloc regions to unwrittenstale-exposure_2020-06-01
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> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Brian Foster <bfoster@redhat.com>
Diffstat (limited to 'net/tipc/name_table.c')
0 files changed, 0 insertions, 0 deletions