Bug 762003 (GLUSTER-271)

Summary: applications using booster protocol/client crash in client_setvolume_cbk.
Product: [Community] GlusterFS Reporter: Raghavendra G <raghavendra>
Component: protocolAssignee: Raghavendra G <raghavendra>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: 2.0.6CC: gluster-bugs, shehjart
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-09-17 20:26:58 UTC
protocol/client uses get_global_ctx_ptr to access the glusterfs context. However libglusterfsclient does not set the global ctx pointer since there can be many glusterfs contexts initialized. Hence protocol/client should access the context from the ctx member of xlator object.

Comment 1 Shehjar Tikoo 2009-09-22 07:36:29 UTC
*** Bug 278 has been marked as a duplicate of this bug. ***

Comment 2 Anand Avati 2009-09-22 10:12:37 UTC
PATCH: http://patches.gluster.com/patch/1395 in master (protocol/client: access glusterfs context from the ctx member of xlator object)

Comment 3 Anand Avati 2009-09-22 10:13:46 UTC
PATCH: http://patches.gluster.com/patch/1394 in release-2.0 (protocol/client: access glusterfs context from the ctx member of xlator object)