Re: "do_copy_range:: Invalid argument"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Dec 11, 2020 at 11:26:28AM -0500, Mike Marshall wrote:
> Greetings everyone...
> 
> Omnibond has sent me off doing some testing chores lately.
> I made no Orangefs patches for 5.9 or 5.10 and none were sent,
> but I thought I should at least run through xfstests.
> 
> There are tests that fail on 5.10-rc6 that didn't fail
> on 5.8-rc7, and I've done enough looking to see that the
> failure reasons all seem related.
> 
> I will, of course, keep looking to try and understand these
> failures. Bisection might lead me somewhere. In case the
> notes I've taken so far trigger any of y'all to give me
> any (constructive :-) ) suggestions, I've included them below.
> 
> -Mike
> 
> ---------------------------------------------------------------------
> 
> generic/075
>   58rc7: ? (check.log says it ran, results file missing)
>   510rc6: failed, "do_copy_range:: Invalid argument"
>           read the tests/generic/075 commit message for "detect
>           preallocation support for fsx tests"
> 
> generic/091
>   58rc7: passed, but skipped fallocate parts "filesystem does not support"
>   510rc6: failed, "do_copy_range:: Invalid argument"
> 
> generic/112
>   58rc7: ? (check.log says it ran, results file missing)
>   510rc6: failed, "do_copy_range:: Invalid argument"
> 
> generic/127
>   58rc7: ? (check.log says it ran, results file missing)
>   510rc6: failed, "do_copy_range:: Invalid argument"
> 
> generic/249
>   58rc7: passed
>   510rc6: failed, "sendfile: Invalid argument"
>           man 2 sendfile -> "SEE ALSO copy_file_range(2)"

If sendfile() failed, then it's likely a splice related regression,
not a copy_file_range() problem. The VFS CFR implementation falls
back to splice if the fs doesn't provide a clone or copy offload
method.

THere's only been a handful of changes to fs/splice.c since 5.8rc7,
so it might be worth doing a quick check reverting them first...

Cheers,

Dave.
-- 
Dave Chinner
david@xxxxxxxxxxxxx



[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux