Current Samba master incorrectly returns STATUS_INVALID_HANDLE on copy_chunk

Ralph Boehme slow at samba.org
Wed Oct 2 07:45:43 UTC 2024


On 10/2/24 6:11 AM, Steve French wrote:
> Here is at least the log.smbd of the:
>     ./src/cloner /mnt2/testfilesrc /mnt2/clone-of-testfilesrc2  (which
> returned "Bad file descriptor" on the clone ioctl)
> See line 4739

same on the server, we're getting an EBADF from the filesystem/kernel:

[2024/10/01 23:04:20.449136, 10, pid=33219, effective(1017, 1017), 
real(1017, 0), class=vfs] 
../../source3/modules/vfs_default.c:2414(vfswrap_offload_fast_copy)
   vfswrap_offload_fast_copy: copy_file_range src [testfilesrc]:[0] dst 
[clone-of-testfilesrc2]:[0] n [1048576] failed: Bad file descriptor

I guess only an strace will tell us what's wrong with the fds.

-slow
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20241002/8a8d9f43/OpenPGP_signature.sig>


More information about the samba-technical mailing list