On Fri, Mar 16, 2018 at 11:21:20AM +0800, Po-Hsu Lin wrote: > Hello, > > I'm experiencing the test hang issue caused by test generic/430 with > ext4/xfs/btrfs partition created on /dev/sdb > > It looks like this issue was caused by the following command to copy > beyond the target file: > /usr/sbin/xfs_io -i -f -c "copy_range -s 4000 -l 2000 > /home/ubuntu/test/test-430/file" "/home/ubuntu/test/test-430/beyond" > > The -l works only with <= 1000, any other number that will make it > larger the size of test-430/file (5000) are not working. > > The copied file will have a correct MD5 as expected, but the command > will never return: > e68d4a150c4e42f4f9ea3ffe4c9cf4ed beyond > > This issue could be seen from 4.10rc1, with 4.9.87 kernel, the test > will fail with all of the copy action, so it won't get stuck. > > > Release: Ubuntu Artful > Kernel:4.16.0-041600rc5-generic > xfsprogs version 4.9.0+nmu1ubuntu1 Could you try this with xfsprogs 4.15.1? iirc Anna sent in a patch a while ago to fix an infinite looping error in io/copy_file_range.c. Ah, yes, 43141802cd ("xfs_io: Improvements to copy_range return code handling"). --D > BugLink: https://bugs.launchpad.net/bugs/1755999 > -- > To unsubscribe from this list: send the line "unsubscribe fstests" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe fstests" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html