QA output created by 009 *** mkfs *** mount *** test 1 - reservations cleared on O_TRUNC blocksize BSIZE CMD resvsp, off=0, len=1000 MAP off=0, len=1000 [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=1000 MAP off=0, len=1000 [0,1000] [ofs,count]: start..end [0,1000]: BLOCKRANGE filesize = 0 *** test 3 - alloc & filesize blocksize BSIZE CMD allocsp, off=1000, len=-1 MAP off=1000, len=-1 [1000-] [ofs,count]: start..end filesize = 1000 *** test 4 - allocations cleared on O_TRUNC blocksize BSIZE CMD allocsp, off=1000, len=-1 MAP off=1000, len=-1 [1000-] [ofs,count]: start..end filesize = 1000 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=100 MAP off=0, len=100 [0,100] [ofs,count]: start..end [0,100]: BLOCKRANGE CMD unresvsp, off=100, len=500 MAP off=100, len=500 [100,500] [ofs,count]: start..end MAP off=0, len=-1 [0-] [ofs,count]: start..end [0,100]: BLOCKRANGE CMD unresvsp, off=900, len=200 MAP off=900, len=200 [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=100 MAP off=0, len=100 [0,100] [ofs,count]: start..end [0,100]: BLOCKRANGE CMD resvsp, off=100, len=100 MAP off=100, len=100 [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=1000, len=-1 MAP off=1000, len=-1 [1000-] [ofs,count]: start..end MAP off=0, len=-1 [0-] [ofs,count]: start..end [0,1000]: BLOCKRANGE CMD allocsp, off=2000, len=-1 MAP off=2000, len=-1 [2000-] [ofs,count]: start..end MAP off=0, len=-1 [0-] [ofs,count]: start..end [0,2000]: BLOCKRANGE filesize = 2000 *** test 8 - alloc & truncate blocksize BSIZE CMD allocsp, off=1000, len=-1 MAP off=1000, len=-1 [1000-] [ofs,count]: start..end MAP off=0, len=-1 [0-] [ofs,count]: start..end [0,1000]: BLOCKRANGE TRUNCATE off=500 MAP off=0, len=-1 [0-] [ofs,count]: start..end [0,500]: BLOCKRANGE filesize = 500 *** test 9 - reserve & truncate blocksize BSIZE CMD resvsp, off=0, len=1000 MAP off=0, len=1000 [0,1000] [ofs,count]: start..end [0,1000]: BLOCKRANGE MAP off=0, len=-1 [0-] [ofs,count]: start..end [0,1000]: BLOCKRANGE TRUNCATE off=500 MAP off=0, len=-1 [0-] [ofs,count]: start..end [0,1000]: BLOCKRANGE filesize = 500 *** unmount