Displaying 7 results from an estimated 7 matches for "g_vfs_backend_smb".
2016 Oct 28
3
Samba and BTRFS server-side copy
...ia 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 mechanism (#592468)
> */
>...
2016 Oct 28
2
Samba and BTRFS server-side copy
...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) *
&g...
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
...Gnome gvfs team please let
me know and let's get this fixed.
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 mechanism (#592468)
*/
if (bytes_requested > 65534)
bytes...
2016 Oct 28
0
Samba and BTRFS server-side copy
...d 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...
2016 Nov 02
0
Samba and BTRFS server-side copy
...;> 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 performanc...
2016 Nov 02
2
Samba and BTRFS server-side copy
...end *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...