Red Hat Bugzilla – Bug 487207
cifs: open-file renames require that FH should be opened with SYNCHRONIZE bit set
Last modified: 2009-03-04 09:16:57 EST
Discovered while testing at connectathon. When testing busy file rename code, the test would fail against bluearc servers. The bluearc guys turned on tracing and determined that it was failing because the SYNCHRONIZE bit wasn't being set on open.
Testing with that bit set seems to fix it against their servers. We'll need to test more extensively, but they claimed that win2k also requires it (there were some comments in their code to that effect).
It turns out that this is actually a bug in BlueArc's stuff. The MS docs explicitly state that SYNCHRONIZE should not be set by clients and should be ignored by servers. I think it really only has meaning in opens on local filesystems.
I've contacted bluearc to let them know that we think this is a bug in their server code.