in reply to Re^6: Spurious "Invalid Argument" on file open
in thread Spurious "Invalid Argument" on file open
Just to get some idea ... what kind of resource state could, for example, cause such an effect?
I don't know much about CIFS, but in general, anything that crosses a network can be subject to temporary timeouts.
Take for example, that even in blocking mode, accept() can return without a valid connection for a variety of reasons.
Looking at the wikipedia description, Level 2 OpLocks look like a possibility. I'm not sure what timeouts are involved with the SMB protocol, but if the network is heavily congested or the serving node is bogged down, the client could timeout before the server gets around to responding.
Any code that deals with a network should allow for these possibilities.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^8: Spurious "Invalid Argument" on file open
by rovf (Priest) on Oct 24, 2012 at 14:33 UTC |