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.
