Description of problem: Test case 225 uses fiemap-tester. For rhel5, this tester had to be patched so that it could compile (since fallocate is not defined directly in rhel5). When this patched version of test case is run, fiemap-tester reports: ERROR: last extent not marked as last: 383 map is 'HDDDDDDHDDHHDHHHDHDHDHDHDHHDHHHDDHHDDHHDDHDDDDHDDDDHHHDDHDHHHDDHHHHHDDHDHDDHHHDHDDHDDHHDHDDDDHHDHHDDHDDHHDHDHDHHHHDDDHDDHDHDHHHDHDHHHDDHHHDHHHDDHHHHHDHDHDHDHDHDDDDDHHDDDHDHHDDDHDDHDHHHHHHHHDDHHDHHHHDHDHHDDDDDHDHDHDHDHDDDDDHDHDDHDDHHHDDHHHDDHDDHHHHDHHDDDHDHHHHHDDDDDDHHHHDHDHHDDHDDDDHHDDDDDDDHHDDHDDDHHDDDHDDHDHDHHHHDHHHHDDDHHDHHHHHDDHHHDDDDHDHDDDDDDDDHHHDDHHHHHDHHDHHHDDDHHDDDHDHHHDHD' Version-Release number of selected component (if applicable): 2.6.18-235.el5 How reproducible: Always Steps to Reproduce: 1. Run patched test case (patch is in our xfstests) 225 for ext3: TEST_PARAM_RUNTESTS="225" TEST_PARAM_FSTYPE="ext3" make 2. Watch the output Actual results: Test fails with the above error. Expected results: Test passes. Additional info: This might be just because I patched it wrong although I think it should not be the problem since it works that way for ext4,xfs on rhel5 and even ext3 on rhel6. Compile patch: --- xfstests-dev/src/fiemap-tester.c 2010-11-09 08:53:39.000000000 -0500 +++ xfstests-dev-new/src/fiemap-tester.c 2010-11-15 10:36:52.000000000 -0500 @@ -31,2 +31,5 @@ #include <linux/fiemap.h> +/* Following is for rhel5 */ +#include <sys/syscall.h> +#define fallocate(A, B, C, D) syscall(__NR_fallocate, ((A)), ((B)), ((C)), ((D))) Related output in beaker: http://beaker-archive.app.eng.bos.redhat.com/beaker-logs/2010/12/371/37178/74127/832713/2624138///test_log--kernel-filesystems-xfs-xfstests-225.log
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release.