search for: gvfsbackendsmb

Displaying 8 results from an estimated 8 matches for "gvfsbackendsmb".

2016 Oct 28
3
Samba and BTRFS server-side copy
...:14PM -0700, Jeremy Allison via samba wrote: > > Looking around inside that source code I also see: > > do_read (GVfsBackend *backend, > GVfsJobRead *job, > GVfsBackendHandle handle, > char *buffer, > gsize bytes_requested) > { > GVfsBackendSmb *op_backend = G_VFS_BACKEND_SMB (backend); > ssize_t res; > smbc_read_fn smbc_read; > > /* libsmbclient limits blocksize to (64*1024)-2 for Windows servers, > * let's do the same here to achieve reasonable performance. (#588391) > * > * TODO: port to pull me...
2016 Oct 28
3
Samba and BTRFS server-side copy
On Thu, 27 Oct 2016 16:57:13 -0700, Jeremy Allison <jra at samba.org> wrote : > On Fri, Oct 28, 2016 at 01:42:35AM +0200, Saint Germain via samba > wrote: > > On Thu, 27 Oct 2016 16:27:05 -0700, Jeremy Allison <jra at samba.org> > > > if you see any of these then it happened. > > > > Ok I understand how to check that it happened, but how can I make
2016 Oct 28
0
Samba and BTRFS server-side copy
...2:57AM +0200, Saint Germain via samba wrote: > > On linux, most current utilities like Nautilus (gvfs) still use SMB1 to > connect, so there is no chance to trigger a server-side copy. Oh, just checked the current gvfs source code to copy an smb file. It does: static gboolean copy_file (GVfsBackendSmb *backend, GVfsJob *job, const char *from_uri, const char *to_uri) { SMBCFILE *from_file, *to_file; char buffer[4096]; size_t buffer_size; ssize_t res; char *p; gboolean succeeded; smbc_open_fn smbc_open; smbc_read_fn smbc_read; smbc_write_fn smbc_w...
2014 Jun 10
1
Samba protocol version in libsmbclient
...Linux clients defaulting to SMB1 (via gvfsd-smb) while Windows happily negotiates SMB2 with the servers. If I restrict the servers to SMB2, gvfs can't connect, while smbclient on the console works fine if I pass -mSMB2. I can't see anything in https://git.gnome.org/browse/gvfs/tree/daemon/gvfsbackendsmb.c that would restrict the protocol version, either. Any ideas? Thanks, Adam
2016 Oct 28
2
Samba and BTRFS server-side copy
...nd inside that source code I also see: >>> >>> do_read (GVfsBackend *backend, >>> GVfsJobRead *job, >>> GVfsBackendHandle handle, >>> char *buffer, >>> gsize bytes_requested) >>> { >>> GVfsBackendSmb *op_backend = G_VFS_BACKEND_SMB (backend); >>> ssize_t res; >>> smbc_read_fn smbc_read; >>> >>> /* libsmbclient limits blocksize to (64*1024)-2 for Windows >>> servers, >>> * let's do the same here to achieve reasonable performa...
2016 Oct 28
0
Samba and BTRFS server-side copy
...> > > Looking around inside that source code I also see: > > > > do_read (GVfsBackend *backend, > > GVfsJobRead *job, > > GVfsBackendHandle handle, > > char *buffer, > > gsize bytes_requested) > > { > > GVfsBackendSmb *op_backend = G_VFS_BACKEND_SMB (backend); > > ssize_t res; > > smbc_read_fn smbc_read; > > > > /* libsmbclient limits blocksize to (64*1024)-2 for Windows > > servers, > > * let's do the same here to achieve reasonable performance. > > (#5883...
2016 Nov 02
0
Samba and BTRFS server-side copy
...gt; >>> > >>> do_read (GVfsBackend *backend, > >>> GVfsJobRead *job, > >>> GVfsBackendHandle handle, > >>> char *buffer, > >>> gsize bytes_requested) > >>> { > >>> GVfsBackendSmb *op_backend = G_VFS_BACKEND_SMB (backend); > >>> ssize_t res; > >>> smbc_read_fn smbc_read; > >>> > >>> /* libsmbclient limits blocksize to (64*1024)-2 for Windows > >>> servers, > >>> * let's do the same here...
2016 Nov 02
2
Samba and BTRFS server-side copy
...gt;>> do_read (GVfsBackend *backend, >>>>> GVfsJobRead *job, >>>>> GVfsBackendHandle handle, >>>>> char *buffer, >>>>> gsize bytes_requested) >>>>> { >>>>> GVfsBackendSmb *op_backend = G_VFS_BACKEND_SMB (backend); >>>>> ssize_t res; >>>>> smbc_read_fn smbc_read; >>>>> >>>>> /* libsmbclient limits blocksize to (64*1024)-2 for Windows >>>>> servers, >>>>> * let...