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: 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: 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: 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: 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
=======================================================
strerror(errno));
exit(1);
}
+ fprintf(stdout, "roffp is %lld, rlenp is %lld\n", roffp, rlenp);
break;
case METHOD_DMAPI_PUNCH:
if (dm_punch_hole(sid, hanp, hlen, DM_NO_TOKEN, offset, length)) {
}
break;
}
- fprintf(stdout, "roffp is %lld, rlenp is %lld\n", roffp, rlenp);
dm_handle_free(hanp, hlen);
return 0;