Files
apfstests/185.out
T
Niv Sardi 98df5b85a7 xfstests: add test 185, Dmapi Punch/Probe Alignment compared to xfsctl(FREESPACE),
tests PV 976771, by trying to punch a hole that's not page aligned but block aligned
Merge of master-melb:xfs-cmds:30582a by kenmcd.

  New QA test
2008-02-27 03:20:18 +00:00

77 lines
3.3 KiB
Plaintext

QA output created by 185
=======================================================
Testing with length = 16k, offset = 0
Method: xfsctl
Running Punch hole with xfsctl(XFS_IOC_FREESP64) on /mnt/scratch/dmapi/holly_file with settings:
offset = '0', length = '16384', sid = '0'
ok.
Method: dmapi_probe
Running DMAPI probe hole on /mnt/scratch/dmapi/holly_file with settings:
offset = '0', length = '16384', sid = '0'
roffp is 0, rlenp is 16384
Method: dmapi_punch
Running DMAPI punch hole on /mnt/scratch/dmapi/holly_file with settings:
offset = '0', length = '16384', sid = '0'
roffp is 4200149, rlenp is 47820330485640
=======================================================
=======================================================
Testing with length = 1k, offset = 0
Method: xfsctl
Running Punch hole with xfsctl(XFS_IOC_FREESP64) on /mnt/scratch/dmapi/holly_file with settings:
offset = '0', length = '1024', sid = '0'
ok.
Method: dmapi_probe
Running DMAPI probe hole on /mnt/scratch/dmapi/holly_file with settings:
offset = '0', length = '1024', sid = '0'
roffp is 0, rlenp is 1024
Method: dmapi_punch
Running DMAPI punch hole on /mnt/scratch/dmapi/holly_file with settings:
offset = '0', length = '1024', sid = '0'
roffp is 4200149, rlenp is 47194545715080
=======================================================
=======================================================
Testing with length = 1k, offset = 4k
Method: xfsctl
Running Punch hole with xfsctl(XFS_IOC_FREESP64) on /mnt/scratch/dmapi/holly_file with settings:
offset = '4096', length = '1024', sid = '0'
ok.
Method: dmapi_probe
Running DMAPI probe hole on /mnt/scratch/dmapi/holly_file with settings:
offset = '4096', length = '1024', sid = '0'
roffp is 4096, rlenp is 1024
Method: dmapi_punch
Running DMAPI punch hole on /mnt/scratch/dmapi/holly_file with settings:
offset = '4096', length = '1024', sid = '0'
roffp is 4200149, rlenp is 47256598480776
=======================================================
=======================================================
Testing with length = 4k, offset = 1k
Method: xfsctl
Running Punch hole with xfsctl(XFS_IOC_FREESP64) on /mnt/scratch/dmapi/holly_file with settings:
offset = '1024', length = '4096', sid = '0'
ok.
Method: dmapi_probe
Running DMAPI probe hole on /mnt/scratch/dmapi/holly_file with settings:
offset = '1024', length = '4096', sid = '0'
roffp is 1024, rlenp is 4096
Method: dmapi_punch
Running DMAPI punch hole on /mnt/scratch/dmapi/holly_file with settings:
offset = '1024', length = '4096', sid = '0'
roffp is 4200149, rlenp is 47292581427080
=======================================================
=======================================================
Testing with length = 1024k, offset = 512k
Method: xfsctl
Running Punch hole with xfsctl(XFS_IOC_FREESP64) on /mnt/scratch/dmapi/holly_file with settings:
offset = '524288', length = '1048576', sid = '0'
ok.
Method: dmapi_probe
Running DMAPI probe hole on /mnt/scratch/dmapi/holly_file with settings:
offset = '524288', length = '1048576', sid = '0'
roffp is 524288, rlenp is 1048576
Method: dmapi_punch
Running DMAPI punch hole on /mnt/scratch/dmapi/holly_file with settings:
offset = '524288', length = '1048576', sid = '0'
roffp is 4200149, rlenp is 47016592795528
=======================================================