Bug 1243372
Summary: | FSAL_GLUSTER : iozone -a fails for pnfs mount | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Retired] nfs-ganesha | Reporter: | Jiffin <jthottan> | ||||||
Component: | FSAL_GLUSTER | Assignee: | Jiffin <jthottan> | ||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | |||||||
Severity: | unspecified | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | devel | CC: | jthottan, kkeithle, mpillai, ndevos, pasik, skoduri | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | |||||||||
: | 1243374 (view as bug list) | Environment: | |||||||
Last Closed: | 2020-06-24 11:14:42 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: | |||||||
Embargoed: | |||||||||
Bug Depends On: | |||||||||
Bug Blocks: | 1243374 | ||||||||
Attachments: |
|
Description
Jiffin
2015-07-15 10:32:55 UTC
There are no notable errors seen in ganesha,gfapi and brick logs. From the packet trace it seems the request is not even send to servers. I am attaching strace output and nfs-client log Created attachment 1068901 [details]
strace_output
Created attachment 1068902 [details]
nfs-client log
On further debugging , i just confirmed it is a known timing issue. The pNFS cluster consists of M.D.S and D.S. The file will be opened from the M.D.S and all the I/O's goes to the corresponding D.Ses. So after performing the write operation, UPCALL infrastructure should invalidate the context of M.D.S(otherwise M.D.S should be unknown of the modification happened). In the case of "iozone -a" ,after performing the write operation , then client send open call for next read operation(). This open reaches M.D.S before the upcall notification.So M.D.S replies back with old information from its cache(In getattr call as part of the Compound Open Call, the size of the file seems to be 0 instead of 64k) and thus iozone -a is interpreted. If this is still an issue please open an issue in the github tracker at https://github.com/nfs-ganesha/nfs-ganesha/issues |