[jcifs] RE: jCIFS corrupt files
Christopher R. Hertel
crh at ubiqx.mn.org
Thu Oct 2 04:20:14 EST 2003
On Wed, Oct 01, 2003 at 06:12:47AM -0600, barry.roberts at xactsites.com wrote:
> Last night I recompiled my own version of jcifs with
> SmbFileOutputStream.write and SmbFileInputStream.read() synchronized.
> I have not been able to reproduce any corrupt files.
> So it doesn't require multiple threads once the JVM/jCIFS whatever has
> gotten into a bad state, but it is much easier to get into that state
> with multiple threads. I was running a 20-thread stress test to
> reproduce it. Each thread should have been writing to it's own files,
> but they all do a fair amount of SmbFile*putStream IO in close time
> Thanks for the help. I really like jCIFS.
Pardon me for being dense (I'm good at it, however, and I've learned to
play to my strengths)... I don't understand what you are saying in the
You say "I have not been able to reproduce any corrupt files." Does that
mean that you believe the problem is resolved? I am not sure where the
problem existed (you code, our code, the JVM, the compiled bytecode).
"Implementing CIFS - the Common Internet FileSystem" ISBN: 013047116X
Samba Team -- http://www.samba.org/ -)----- Christopher R. Hertel
jCIFS Team -- http://jcifs.samba.org/ -)----- ubiqx development, uninq.
ubiqx Team -- http://www.ubiqx.org/ -)----- crh at ubiqx.mn.org
OnLineBook -- http://ubiqx.org/cifs/ -)----- crh at ubiqx.org
More information about the jcifs