Bug 764872 (GLUSTER-3140)

Summary: contents of files are invalid after apply patch 7573
Product: [Community] GlusterFS Reporter: liuben <nuaa_liuben>
Component: stripeAssignee: Amar Tumballi <amarts>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: medium    
Version: 3.2.1CC: amarts, gluster-bugs, jdarcy, rahulcs, vraman
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
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 liuben 2011-07-07 05:09:57 UTC
http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=3066
http://patches.gluster.com/patch/7573

After apply the patch 7573, thers is another problem from bug 764798.

files/directory can create/remove, but some files contents are invalid. For
example, autogen.sh in gluster 3.2.1 sources, 

^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@

Comment 1 Amar Tumballi 2011-07-08 02:42:18 UTC
Hi Liuben,

The quick fix for this is to 'disable' the 'quick-read' translator by

'gluster volume set <VOLNAME> quick-read off'

I will be sending another patch in a while which should fix the issue even when quick-read is used.

Comment 2 Anand Avati 2011-07-12 09:37:32 UTC
PATCH: http://patches.gluster.com/patch/7794 in master (cluster/stripe: cleanup and memory leak fixes)

Comment 3 Anand Avati 2011-07-12 09:37:38 UTC
PATCH: http://patches.gluster.com/patch/7795 in master (cluster/stripe: quick-read friendly behavior in lookup)

Comment 4 Rahul C S 2011-07-18 05:36:57 UTC
Glusterfs build on fuse mount used to failed before the patch, now passes.