Bug 762059 (GLUSTER-327)

Summary: dbench does not complete
Product: [Community] GlusterFS Reporter: Raghavendra G <raghavendra>
Component: write-behindAssignee: Raghavendra G <raghavendra>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: low    
Version: mainlineCC: gluster-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Raghavendra G 2009-10-20 06:10:13 UTC
in wb_setattr, local->file was being assigned even before file pointer was got, thus making local->file to be NULL. In wb_setattr_cbk, since local->file is NULL
(and hence file passed to wb_process_queue), wb_process_queue does not resume the pending operations queued in file.

Comment 1 Raghavendra G 2009-10-20 09:07:52 UTC
Configuration: fuse->wb->io-threads->posix.

Command run: dbench -s 1 -t 10

issue: dbench does not complete.

On debugging, its found that setattr/flush frames are missing.

Comment 2 Anand Avati 2009-10-20 14:18:08 UTC
PATCH: http://patches.gluster.com/patch/1956 in master (performance/write-behind: fix to bug in setattr which was causing frames to be missed.)