mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
80f2aaf701
When offset + length is overflow of xfs_io builtin pread and pwrite in linux, the error message should be "Invalid argument". In 32_bit, offset + length should cause pread and pwrite to error, So the out should be OK. The patch fix as following: - "pwrite64: Invalid argument" will be replaced with "pwrite64: File too large" - "pread64: Invalid argument" will be replaced with "read 0/xxx bytes at offset <OFFSET>" - delete _filter_xfs_io - add auto group - add 071.out.32 Signed-off-by: Peng Haitao <penght@cn.fujitsu.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
108 lines
3.1 KiB
Plaintext
108 lines
3.1 KiB
Plaintext
QA output created by 071
|
|
meta-data=DDEV isize=XXX agcount=N, agsize=XXX blks
|
|
data = bsize=XXX blocks=XXX, imaxpct=PCT
|
|
= sunit=XXX swidth=XXX, unwritten=X
|
|
naming =VERN bsize=XXX
|
|
log =LDEV bsize=XXX blocks=XXX
|
|
realtime =RDEV extsz=XXX blocks=XXX, rtextents=XXX
|
|
|
|
Writing 512 bytes, offset is +0 (direct=false)
|
|
wrote 512/512 bytes at offset <OFFSET>
|
|
Reading 512 bytes (direct=false)
|
|
read 512/512 bytes at offset <OFFSET>
|
|
|
|
Writing 512 bytes, offset is minus 1 byte (direct=false)
|
|
wrote 512/512 bytes at offset <OFFSET>
|
|
Reading 512 bytes (direct=false)
|
|
read 512/512 bytes at offset <OFFSET>
|
|
|
|
Writing 512 bytes, offset is minus 1FSB (direct=false)
|
|
wrote 512/512 bytes at offset <OFFSET>
|
|
Reading 512 bytes (direct=false)
|
|
read 512/512 bytes at offset <OFFSET>
|
|
|
|
Writing 1 bytes, offset is minus 1FSB (direct=false)
|
|
wrote 512/512 bytes at offset <OFFSET>
|
|
Reading 1 bytes (direct=false)
|
|
read 1/1 bytes at offset <OFFSET>
|
|
|
|
Writing 1FSB bytes, offset is +0 (direct=true)
|
|
wrote 512/512 bytes at offset <OFFSET>
|
|
Reading 1FSB bytes (direct=true)
|
|
read 512/1FSB bytes at offset <OFFSET>
|
|
|
|
Writing 1FSB bytes, offset is minus 1FSB (direct=true)
|
|
wrote 512/512 bytes at offset <OFFSET>
|
|
Reading 1FSB bytes (direct=true)
|
|
read 513/1FSB bytes at offset <OFFSET>
|
|
|
|
=== Iterating, 2 remains
|
|
|
|
|
|
Writing 512 bytes, offset is +0 (direct=false)
|
|
pwrite64: File too large
|
|
Reading 512 bytes (direct=false)
|
|
read 0/512 bytes at offset <OFFSET>
|
|
|
|
Writing 512 bytes, offset is minus 1 byte (direct=false)
|
|
pwrite64: File too large
|
|
Reading 512 bytes (direct=false)
|
|
read 0/512 bytes at offset <OFFSET>
|
|
|
|
Writing 512 bytes, offset is minus 1FSB (direct=false)
|
|
wrote 512/512 bytes at offset <OFFSET>
|
|
Reading 512 bytes (direct=false)
|
|
read 512/512 bytes at offset <OFFSET>
|
|
|
|
Writing 1 bytes, offset is minus 1FSB (direct=false)
|
|
wrote 512/512 bytes at offset <OFFSET>
|
|
Reading 1 bytes (direct=false)
|
|
read 1/1 bytes at offset <OFFSET>
|
|
|
|
Writing 1FSB bytes, offset is +0 (direct=true)
|
|
pwrite64: File too large
|
|
Reading 1FSB bytes (direct=true)
|
|
read 0/1FSB bytes at offset <OFFSET>
|
|
|
|
Writing 1FSB bytes, offset is minus 1FSB (direct=true)
|
|
pwrite64: File too large
|
|
Reading 1FSB bytes (direct=true)
|
|
read 0/1FSB bytes at offset <OFFSET>
|
|
|
|
=== Iterating, 1 remains
|
|
|
|
|
|
Writing 512 bytes, offset is +0 (direct=false)
|
|
pwrite64: File too large
|
|
Reading 512 bytes (direct=false)
|
|
read 0/512 bytes at offset <OFFSET>
|
|
|
|
Writing 512 bytes, offset is minus 1 byte (direct=false)
|
|
pwrite64: File too large
|
|
Reading 512 bytes (direct=false)
|
|
read 0/512 bytes at offset <OFFSET>
|
|
|
|
Writing 512 bytes, offset is minus 1FSB (direct=false)
|
|
pwrite64: File too large
|
|
Reading 512 bytes (direct=false)
|
|
read 0/512 bytes at offset <OFFSET>
|
|
|
|
Writing 1 bytes, offset is minus 1FSB (direct=false)
|
|
pwrite64: File too large
|
|
Reading 1 bytes (direct=false)
|
|
read 0/1 bytes at offset <OFFSET>
|
|
|
|
Writing 1FSB bytes, offset is +0 (direct=true)
|
|
pwrite64: File too large
|
|
Reading 1FSB bytes (direct=true)
|
|
read 0/1FSB bytes at offset <OFFSET>
|
|
|
|
Writing 1FSB bytes, offset is minus 1FSB (direct=true)
|
|
pwrite64: File too large
|
|
Reading 1FSB bytes (direct=true)
|
|
read 0/1FSB bytes at offset <OFFSET>
|
|
|
|
=== Iterating, 0 remains
|
|
|
|
|