Oh, so you just mean that the caller doesn't, say, hold a mutex for the
socket for the duration of the send _and_ recv? I'm kind of shocked that
anyone does that, although I suppose in some cases the protocol
effectively demands it.
Nice. I will definitely be taking a look at that.
Got it. Tracking pending requests in some generic way is definitely key
to making failure handling sane with multiple servers.
So what happens if the user creates a new file, and then does a stat() to
expose i_ino. Does that value change later? It's not just
open-by-inode/cookie that make ino important.
It looks like the client/server protocol is primarily path-based. What
happens if you do something like
hosta$ cd foo
hosta$ touch foo.txt
hostb$ mv foo bar
hosta$ rm foo.txt
Will hosta realize it really needs to do "unlink /bar/foo.txt"?
sage
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html