There are some comments for the c#0 attached test script. 1. It's better to comment out line 264 "numblks=10485760". If not, we can't use whole disk size. 2. I use kvm-qemu for test: 4 vcpu, 5G mem, 10GB raw file under virtio mode. 3. it's better to add "exit 0" after line 302. the code area for "Test option '-T mail'" is not related with this bug. 4. the attachment script will stop before running defragfs.ocfs2. For triggering the issue, there are two method: - run the defragfs by manual. - comment line 298 "exit 100" 5. how to run test script - ./defragfs_test.sh -d /dev/vdf -m /mnt -n ocfstst -s pcmk -o /tmp - ./defragfs_test.sh -d /dev/vdf -m /mnt -n ocfstst -s pcmk -o /tmp -b 1024 -c 4096 - ./defragfs_test.sh -d /dev/vdf -m /mnt -n ocfstst -s pcmk -o /tmp -b 1024 -c 8192