diff options
author | Andrew Tridgell <tridge@samba.org> | 1998-10-04 06:22:08 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1998-10-04 06:22:08 +0000 |
commit | 5ade894f32377ffaed3fc085810892509a6e8c66 (patch) | |
tree | 95f667069884aea60a0abcb97aab5c336683e9c9 /source3/smbwrapper/smbw_dir.c | |
parent | d71c04f927cbcbaae0708c1533748caac20ee5af (diff) | |
download | samba-5ade894f32377ffaed3fc085810892509a6e8c66.tar.gz samba-5ade894f32377ffaed3fc085810892509a6e8c66.tar.bz2 samba-5ade894f32377ffaed3fc085810892509a6e8c66.zip |
modified cli_read() and cli_write() to issue multiple outstanding
read/write requests for large reads. up to max_mux requests may be
outstanding. This gives _much_ better throughput and should allow
smbsh to saturate just about any network.
this is an implementation of the "fast SMB" method I described on the
CIFS list a couple of months back.
(This used to be commit c728d1c5d6e4626d2f8e318eab4df32acc8cb505)
Diffstat (limited to 'source3/smbwrapper/smbw_dir.c')
-rw-r--r-- | source3/smbwrapper/smbw_dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbwrapper/smbw_dir.c b/source3/smbwrapper/smbw_dir.c index c437a53e1f..a127048793 100644 --- a/source3/smbwrapper/smbw_dir.c +++ b/source3/smbwrapper/smbw_dir.c @@ -175,7 +175,7 @@ int smbw_dir_open(const char *fname) cur_dir = NULL; - fd = open("/dev/null", O_WRONLY); + fd = open(SMBW_DUMMY, O_WRONLY); if (fd == -1) { errno = EMFILE; goto failed; |