search for: smbc_getfunctionread

Displaying 9 results from an estimated 9 matches for "smbc_getfunctionread".

2015 May 27
2
libsmbclient question
Dear Gents, We are using libsmbclient smbc_getFunctionRead to read from a Microsoft DFS share. Before each 64k read there are a QUERY_PATH_INFO and a GET_DFS_REFERRAL which slow down the transmission. Is there a way to query these only once at the beginning of the transmission and cache it? system: 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt9-3~deb8u1 (2015-0...
2016 Oct 28
3
Samba and BTRFS server-side copy
...its 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_requested = 65534; > > smbc_read = smbc_getFunctionRead (op_backend->smb_context); > res = smbc_read (op_backend->smb_context, (SMBCFILE *)handle, buffer, bytes_requested); > > which is also completely broken and wrong. The read call > can take any arbitrary size and the both the libsmbclient > SMB1 and SMB2 engines will break th...
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
...e; ssize_t res; char *p; gboolean succeeded; smbc_open_fn smbc_open; smbc_read_fn smbc_read; smbc_write_fn smbc_write; smbc_close_fn smbc_close; from_file = NULL; to_file = NULL; succeeded = FALSE; smbc_open = smbc_getFunctionOpen (backend->smb_context); smbc_read = smbc_getFunctionRead (backend->smb_context); smbc_write = smbc_getFunctionWrite (backend->smb_context); smbc_close = smbc_getFunctionClose (backend->smb_context); Which clearly doesn't use the splice call. That's broken. If there's anyone on the Gnome gvfs team please let me know and let'...
2016 Oct 28
2
Samba and BTRFS server-side copy
...* let's do the same here to achieve reasonable performance. >>> (#588391) * >>> * TODO: port to pull mechanism (#592468) >>> */ >>> if (bytes_requested > 65534) >>> bytes_requested = 65534; >>> >>> smbc_read = smbc_getFunctionRead (op_backend->smb_context); >>> res = smbc_read (op_backend->smb_context, (SMBCFILE *)handle, >>> buffer, bytes_requested); >>> >>> which is also completely broken and wrong. The read call >>> can take any arbitrary size and the both the libsmbcl...
2015 May 28
1
libsmbclient question
...bugzilla.samba.org/show_bug.cgi?id=11295 Thanks for the useful reply. Kind regards, Szilard 2015-05-28 2:27 GMT+02:00 Jeremy Allison <jra at samba.org>: > On Wed, May 27, 2015 at 11:16:08PM +0200, Szilard Matyas wrote: > > Dear Gents, > > > > We are using libsmbclient smbc_getFunctionRead to read from a Microsoft > DFS > > share. Before each 64k read there are a QUERY_PATH_INFO and a > > GET_DFS_REFERRAL which slow down the transmission. Is there a way to > query > > these only once at the beginning of the transmission and cache it? > > Hmmm. This seems...
2016 Oct 28
0
Samba and BTRFS server-side copy
...gt; servers, > > * let's do the same here to achieve reasonable performance. > > (#588391) * > > * TODO: port to pull mechanism (#592468) > > */ > > if (bytes_requested > 65534) > > bytes_requested = 65534; > > > > smbc_read = smbc_getFunctionRead (op_backend->smb_context); > > res = smbc_read (op_backend->smb_context, (SMBCFILE *)handle, > > buffer, bytes_requested); > > > > which is also completely broken and wrong. The read call > > can take any arbitrary size and the both the libsmbclient > >...
2016 Nov 02
0
Samba and BTRFS server-side copy
...hieve reasonable performance. > >>> (#588391) * > >>> * TODO: port to pull mechanism (#592468) > >>> */ > >>> if (bytes_requested > 65534) > >>> bytes_requested = 65534; > >>> > >>> smbc_read = smbc_getFunctionRead (op_backend->smb_context); > >>> res = smbc_read (op_backend->smb_context, (SMBCFILE *)handle, > >>> buffer, bytes_requested); > >>> > >>> which is also completely broken and wrong. The read call > >>> can take any arbitrary size...
2016 Nov 02
2
Samba and BTRFS server-side copy
...ce. >>>>> (#588391) * >>>>> * TODO: port to pull mechanism (#592468) >>>>> */ >>>>> if (bytes_requested > 65534) >>>>> bytes_requested = 65534; >>>>> >>>>> smbc_read = smbc_getFunctionRead (op_backend->smb_context); >>>>> res = smbc_read (op_backend->smb_context, (SMBCFILE *)handle, >>>>> buffer, bytes_requested); >>>>> >>>>> which is also completely broken and wrong. The read call >>>>> can take any...