| QA output created by 009 |
| *** mkfs |
| *** mount |
| *** test 1 - reservations cleared on O_TRUNC |
| blocksize BSIZE |
| 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 BSIZE |
| MAP off=0, len=-1 [0-] |
| [ofs,count]: start..end |
| filesize = 0 |
| *** test 2 - reserve & filesize |
| blocksize BSIZE |
| 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 BSIZE |
| 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 BSIZE |
| CMD allocsp, off=4096000, len=-1 |
| MAP off=4096000, len=-1 [1000-] |
| [ofs,count]: start..end |
| filesize = 4096000 |
| blocksize BSIZE |
| MAP off=0, len=-1 [0-] |
| [ofs,count]: start..end |
| filesize = 0 |
| *** test 5 - reserve / unreserve |
| blocksize BSIZE |
| 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 BSIZE |
| 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 BSIZE |
| 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 BSIZE |
| 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 BSIZE |
| 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 |