mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
2e21bf376e
Add a test for new syncfs error reporting behavior. When an inode fails to be written back, ensure that a subsequent call to syncfs() will also report an error. Kernel with the following patches should pass the test: vfs: track per-sb writeback errors and report them to syncfs buffer: record blockdev write errors in super_block that it backs Reviewed-by: Brian Foster <bfoster@redhat.com> Signed-off-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Eryu Guan <guaneryu@gmail.com>
9 lines
198 B
Plaintext
9 lines
198 B
Plaintext
QA output created by 484
|
|
Format and mount
|
|
fdatasync: Input/output error
|
|
One of the following syncfs calls should fail with EIO:
|
|
syncfs: Input/output error
|
|
done
|
|
This syncfs call should succeed:
|
|
done
|