mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
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
This commit is contained in:
@@ -0,0 +1,76 @@
|
||||
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
|
||||
=======================================================
|
||||
Reference in New Issue
Block a user