Bug 1582058

Summary: Input/Output errors on a disperse volume with concurrent reads and writes
Product: [Community] GlusterFS Reporter: Xavi Hernandez <jahernan>
Component: disperseAssignee: Xavi Hernandez <jahernan>
Status: CLOSED NOTABUG QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.12CC: bugs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1578325 Environment:
Last Closed: 2018-05-24 06:15:20 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: 1578325    
Bug Blocks:    

Description Xavi Hernandez 2018-05-24 05:54:23 UTC
+++ This bug was initially created as a clone of Bug #1578325 +++

Description of problem:

When parallel-writes is enabled and multiple reads and writes (non-overlapping) are sent concurrently, sometimes writes fail with an Input/Output error of file not found error.

Version-Release number of selected component (if applicable): mainline


How reproducible:

Randomly on a Ganesha mount. I've been unable to reproduce it on FUSE.

Steps to Reproduce:
1. Create a disperse volume
2. Create a Ganesha cluster using gfapi
3. Mount three clients to three different NFS servers
4. From one client run Bonnie++
5. From second client run ls -la in a loop
6. From third client run du -sh in a loop

Actual results:

Bonnie++ fails in the rewriting test.

Expected results:

Bonnie++ shouldn't fail

Additional info:

As a workaround, disabling parallel-writes hides the problem.

Comment 1 Xavi Hernandez 2018-05-24 06:15:20 UTC
Version 3.12 doesn't support parallel writes, so this bug is not present there. I cloned the bug before checking... sorry.