On Sun, Nov 24, 2002 at 02:34:40PM +1100, Tim Robbins wrote: > I'd appreciate it if the people who were experiencing problems with > smbfs could try this patch and let me know how it goes. > > The patch adds two sysctls, net.smb.readwritex and net.smb.reqdatasize. > readwritex controls whether LARGE_READX and LARGE_WRITEX requests are > used, and is off by default. reqdatasize controls the maximum number of > bytes of data to request from the user with each read request, and it > defaults to a fairly conservative value of 4096. > > Setting readwritex to 0 makes smbfs work when the server OS is Windows XP. > Setting reqdatasize to 4096 makes it work when the server OS is > FreeBSD 4.7-RELEASE-p2 w/ Samba 2.2.3a. > > This patch is just a temporary workaround, of course. I have not been > able to track down the real problem.
I should note that reqdatasize=4096 works for reading files, but not writing them. reqdatasize=1024 allows files to be written, but it looks like they are getting corrupted. Could this be a bug in the mbuf or mchain code or a change in semantics that netsmb has not been updated for? Tim To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message