mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
xfs/053: test for stale data exposure via falloc/writeback interaction
XFS buffered I/O writeback has a subtle race condition that leads to stale data exposure if the filesystem happens to crash after delayed allocation blocks are converted on disk and before data is written back to said blocks. Use file allocation commands to attempt to reproduce a related, but slightly different variant of this problem. The associated falloc commands can lead to partial writeback that converts an extent larger than the range affected by falloc. If the filesystem crashes after the extent conversion but before all other cached data is written to the extent, stale data can be exposed. Signed-off-by: Brian Foster <bfoster@redhat.com> Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
This commit is contained in:
committed by
Dave Chinner
parent
edaea8a075
commit
cf1438248c
@@ -49,6 +49,7 @@
|
||||
050 quota auto quick
|
||||
051 auto log metadata
|
||||
052 quota db auto quick
|
||||
053 auto quick rw
|
||||
054 quota auto quick
|
||||
055 dump ioctl remote tape
|
||||
056 dump ioctl auto quick
|
||||
|
||||
Reference in New Issue
Block a user