Hello all
This patch have been building up for a while, without reaching some
undefined level of readiness. I would like some feedback from other smbfs
users before submitting this for 2.4.4-something. Particularly from people
mounting win9x shares.
* win9x will sometimes not give back the right filesize, this can cause
problems when cp'ing a file over an existing one. When truncating the
file to 0 bytes the server keeps reporting the old size and much
confusion arises.
(reported by Xuan Baldauf, could you verify that this fixes it? If it
does it's a much better fix than the workaround you got before.)
* The timeout for a reconnect was only 5 seconds, which may not be enough.
To make it worse, if there is a timeout the mount will be dead.
umount time.
* Allow smbmount to supply a new connection even if the retry attempt has
timed-out. "dead" mounts can then be resurrected ... this allows you to
replace a smbmount that have crashed, or it would if smbmount supported
that.
* Locking bug in smb_newconn, it modifies the "server" struct without
having the server lock.
* Fix theoretical memory leak and the missing smb malloc debug functions.
* fsync now causes a SMBflush to tell the server that we want the data to
hit the disc. (as suggested by Jochen Dolze)
* Don't zero out the superblock flags to allow readonly mounts to be
readonly. If someone knows why sb->s_flags = 0; is a good idea I'd
like to know. (fix&testing by René Scharfe)
Patch vs 2.4.4, if someone prefers 2.4.4-acX it should work (even if the
patch fails on changes to Configure.help).
/Urban
This archive was generated by hypermail 2b29 : Mon May 07 2001 - 21:00:14 EST