Files
apfstests/tests/generic/472.out
T
Goldwyn Rodrigues 1ed1aad2f8 generic: Partial direct write test
Getting an error midway through a direct write would return an error
and the error-code is returned in the write() call. However, partial
data is over-written during the call.

This tests simulates the ENOSPC error to check for partial direct
write consistency.

[eguan: use $AWK_PROG instead of bare awk]

Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
2017-12-14 12:39:57 +08:00

10 lines
313 B
Plaintext

QA output created by 472
Reformat with 320M size
Fill the filesystem
pwrite: No space left on device
pwrite wrote more than zero bytes.
00000000: bb bb bb bb bb bb bb bb bb bb bb bb bb bb bb bb ................
*
read 1048576/1048576 bytes at offset 0
XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)