| Summary: | [NFSV3] read randomly return EOF when using O_EXCL against Windows NFS Server | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Chao Ye <cye> | ||||
| Component: | kernel | Assignee: | Jeff Layton <jlayton> | ||||
| Status: | CLOSED NOTABUG | QA Contact: | Filesystem QE <fs-qe> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 6.5 | CC: | cye, jlayton, nfs-maint, steved | ||||
| Target Milestone: | rc | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2013-11-20 15:26:26 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
|
Description
Chao Ye
2013-11-11 07:33:54 UTC
(In reply to Jeff Layton from comment #1) > Do you have any captures from this? Does this test fail vs. other servers or > just windows? No captures yet, will do. Only fail on windows, test on RHEL/NetApp server pass, and also only windows nfsv3, v4.1 is cool. Chao Created attachment 822760 [details]
tshark cap
It looks like this is a server bug. There's this WRITE in frames 450 and 453: 450 2.650309000 10.66.86.24 10.66.86.144 NFS V3 WRITE Call (Reply In 453), FH: 0x6f616b6d Offset: 64512 Len: 1024 FILE_SYNC 453 2.656404000 10.66.86.144 10.66.86.24 NFS V3 WRITE Reply (Call In 450) Len: 1024 FILE_SYNC ...the wcc data in the reply says that the file increased in size from 64512 to 65536 at this point. However just after that, in frames 456/457 there is a GETATTR call and reply, that report the size of the file to be 64512. All of the later attributes that I can see from the server report the size as 64512. So either something raced in and truncated that file back to 64512 bytes after the write, or there's a server bug of some sort. I'd assume that you're running this on files that only this client would have access to, so my suspicion would be a server bug. Any chance we could make this bug public? The Microsoft folks would probably like to see this... I directed this to Tom Talpey at MS and he asked: "What's the version of the Windows server in this? I see 4.1 mentioned, so I am guessing Windows 8 or later? You can run "winver.exe" to get the full build string." Chao, can you run that and let us know? (In reply to Jeff Layton from comment #8) > I directed this to Tom Talpey at MS and he asked: > > "What's the version of the Windows server in this? I see 4.1 mentioned, so I > am guessing Windows 8 or later? You can run "winver.exe" to get the full > build string." > > Chao, can you run that and let us know? It's WindowsServer 2012 R2. Chao We're now in communication with the MS devs who are responsible for this code. Closing this as NOTABUG since it's a server side bug. |