Bug 487207 - cifs: open-file renames require that FH should be opened with SYNCHRONIZE bit set
Summary: cifs: open-file renames require that FH should be opened with SYNCHRONIZE bit...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kernel
Version: 5.4
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Jeff Layton
QA Contact: Red Hat Kernel QE team
URL:
Whiteboard: cthon09
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-02-24 19:13 UTC by Jeff Layton
Modified: 2009-03-04 14:16 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-03-04 14:16:57 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jeff Layton 2009-02-24 19:13:57 UTC
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).

Comment 1 Jeff Layton 2009-03-04 14:16:57 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.