On Mon, May 20, 2019 at 2:35 PM Patrik Lundquist <patrik.lundquist@xxxxxxxxx> wrote: > > On Mon, 20 May 2019 at 14:40, David Disseldorp <ddiss@xxxxxxxxx> wrote: > > > > On Mon, 20 May 2019 14:14:48 +0200, Patrik Lundquist wrote: > > > > > On Mon, 20 May 2019 at 13:58, Austin S. Hemmelgarn <ahferroin7@xxxxxxxxx> wrote: > > > > > > > > On 2019-05-20 07:15, Newbugreport wrote: > > > > > Patrik, thank you. I've enabled the SAMBA module, which may help in the future. Does the GUI file manager (i.e. Nautilus) need special support? > > > > It shouldn't (Windows' default file manager doesn't, and most stuff on > > > > Linux uses Samba so it shouldn't either, not sure about macOS though). > > > > > > The client side needs support for FSCTL_SRV_COPYCHUNK. Nautilus uses > > > gvfsd-smb which in turn uses the Samba libs, but I have no idea if it > > > works. Maybe David Disseldorp knows? > > > > libsmbclient copychunk functionality was added via: > > https://git.samba.org/?p=samba.git;a=commit;h=f73bcf4934be > > IIRC, it was added with the intention of being used by Nautilus. > > That said, I've not tried it myself, and I don't see any reference to > > splice in: > > https://gitlab.gnome.org/GNOME/gvfs/blob/master/daemon/gvfsbackendsmb.c > > (Perhaps I'm looking in the wrong place?). > > https://gitlab.gnome.org/GNOME/gvfs/issues/286 is unfortunately > blocked by https://bugzilla.samba.org/show_bug.cgi?id=11413 > > I don't know if Nautilus tries reflink copying on a cifs mounted Samba > share but Mr. Newbugreport can at least move around (ctrl-x, ctrl-v) > files in Nautilus within the same share without making new copies. I just did ctrl-c, ctrl-v for a file in one dir to another dir, and it takes forever. It's clearly being copied over the network to my local machine and then pushed back to the server. Three minutes to copy a 2GiB file. Server side: kernel 5.1.0-1.fc31.x86_64 samba-4.9.5-0.fc29.x86_64 smb.conf contains 'vfs objects = btrfs' for this share Client side: samba-client-4.10.2-1.1.fc30.x86_64 gvfs-smb-1.40.1-2.fc30.x86_64 nautilus-3.32.1-1.fc30.x86_64 -- Chris Murphy
