mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
115 lines
3.2 KiB
Plaintext
115 lines
3.2 KiB
Plaintext
QA output created by 009
|
|
*** mkfs
|
|
*** mount
|
|
*** test 1 - reservations cleared on O_TRUNC
|
|
blocksize 4096
|
|
CMD resvsp, off=0, len=4096000
|
|
MAP off=0, len=4096000 [0,1000]
|
|
[ofs,count]: start..end
|
|
[0,1000]: BLOCKRANGE
|
|
MAP off=0, len=-1 [0-]
|
|
[ofs,count]: start..end
|
|
[0,1000]: BLOCKRANGE
|
|
filesize = 0
|
|
blocksize 4096
|
|
MAP off=0, len=-1 [0-]
|
|
[ofs,count]: start..end
|
|
filesize = 0
|
|
*** test 2 - reserve & filesize
|
|
blocksize 4096
|
|
CMD resvsp, off=0, len=4096000
|
|
MAP off=0, len=4096000 [0,1000]
|
|
[ofs,count]: start..end
|
|
[0,1000]: BLOCKRANGE
|
|
filesize = 0
|
|
*** test 3 - alloc & filesize
|
|
blocksize 4096
|
|
CMD allocsp, off=4096000, len=-1
|
|
MAP off=4096000, len=-1 [1000-]
|
|
[ofs,count]: start..end
|
|
filesize = 4096000
|
|
*** test 4 - allocations cleared on O_TRUNC
|
|
blocksize 4096
|
|
CMD allocsp, off=4096000, len=-1
|
|
MAP off=4096000, len=-1 [1000-]
|
|
[ofs,count]: start..end
|
|
filesize = 4096000
|
|
blocksize 4096
|
|
MAP off=0, len=-1 [0-]
|
|
[ofs,count]: start..end
|
|
filesize = 0
|
|
*** test 5 - reserve / unreserve
|
|
blocksize 4096
|
|
CMD resvsp, off=0, len=409600
|
|
MAP off=0, len=409600 [0,100]
|
|
[ofs,count]: start..end
|
|
[0,100]: BLOCKRANGE
|
|
CMD unresvsp, off=409600, len=2048000
|
|
MAP off=409600, len=2048000 [100,500]
|
|
[ofs,count]: start..end
|
|
MAP off=0, len=-1 [0-]
|
|
[ofs,count]: start..end
|
|
[0,100]: BLOCKRANGE
|
|
CMD unresvsp, off=3686400, len=819200
|
|
MAP off=3686400, len=819200 [900,200]
|
|
[ofs,count]: start..end
|
|
MAP off=0, len=-1 [0-]
|
|
[ofs,count]: start..end
|
|
[0,100]: BLOCKRANGE
|
|
*** test 6 - reserve adjacent
|
|
blocksize 4096
|
|
CMD resvsp, off=0, len=409600
|
|
MAP off=0, len=409600 [0,100]
|
|
[ofs,count]: start..end
|
|
[0,100]: BLOCKRANGE
|
|
CMD resvsp, off=409600, len=409600
|
|
MAP off=409600, len=409600 [100,100]
|
|
[ofs,count]: start..end
|
|
[100,100]: BLOCKRANGE
|
|
MAP off=0, len=-1 [0-]
|
|
[ofs,count]: start..end
|
|
[0,200]: BLOCKRANGE
|
|
*** test 7 - alloc
|
|
blocksize 4096
|
|
CMD allocsp, off=4096000, len=-1
|
|
MAP off=4096000, len=-1 [1000-]
|
|
[ofs,count]: start..end
|
|
MAP off=0, len=-1 [0-]
|
|
[ofs,count]: start..end
|
|
[0,1000]: BLOCKRANGE
|
|
CMD allocsp, off=8192000, len=-1
|
|
MAP off=8192000, len=-1 [2000-]
|
|
[ofs,count]: start..end
|
|
MAP off=0, len=-1 [0-]
|
|
[ofs,count]: start..end
|
|
[0,2000]: BLOCKRANGE
|
|
filesize = 8192000
|
|
*** test 8 - alloc & truncate
|
|
blocksize 4096
|
|
CMD allocsp, off=4096000, len=-1
|
|
MAP off=4096000, len=-1 [1000-]
|
|
[ofs,count]: start..end
|
|
MAP off=0, len=-1 [0-]
|
|
[ofs,count]: start..end
|
|
[0,1000]: BLOCKRANGE
|
|
TRUNCATE off=2048000
|
|
MAP off=0, len=-1 [0-]
|
|
[ofs,count]: start..end
|
|
[0,500]: BLOCKRANGE
|
|
filesize = 2048000
|
|
*** test 9 - reserve & truncate
|
|
blocksize 4096
|
|
CMD resvsp, off=0, len=4096000
|
|
MAP off=0, len=4096000 [0,1000]
|
|
[ofs,count]: start..end
|
|
[0,1000]: BLOCKRANGE
|
|
MAP off=0, len=-1 [0-]
|
|
[ofs,count]: start..end
|
|
[0,1000]: BLOCKRANGE
|
|
TRUNCATE off=2048000
|
|
MAP off=0, len=-1 [0-]
|
|
[ofs,count]: start..end
|
|
[0,1000]: BLOCKRANGE
|
|
filesize = 2048000
|
|
*** unmount
|