Re: [Gluster-devel] Issue with THIS and libgfapi

2015-05-13 Thread Poornima Gurusiddaiah
- Original Message - From: Jeff Darcy jda...@redhat.com To: Poornima Gurusiddaiah pguru...@redhat.com Cc: Gluster Devel gluster-devel@gluster.org Sent: Wednesday, May 13, 2015 12:39:29 PM Subject: Re: [Gluster-devel] Issue with THIS and libgfapi Before the master xlator

Re: [Gluster-devel] Issue with THIS and libgfapi

2015-05-13 Thread Jeff Darcy
Before the master xlator (fuse/libgfapi) is created, all the code that access THIS will be using global_xlator object, defined globally for the whole of the process. The problem is when multiple threads start modifying THIS, and overwrite thr global_xlators' ctx eg: glfs_new: glfs_new () {

Re: [Gluster-devel] Issue with THIS and libgfapi

2015-05-13 Thread Krishnan Parthasarathi
Recently with glusterfs-3.7 beta1 rpms, while create VM Image using qemu-img, I see the following errors : [2015-05-08 09:04:14.358896] E [rpc-transport.c:512:rpc_transport_unref] (-- /lib64/libglusterfs.so.0(_gf_log_callingfn+0x186)[0x7f51f6bb6516] (--

[Gluster-devel] Issue with THIS and libgfapi

2015-05-12 Thread Poornima Gurusiddaiah
Hi, We recently uncovered an issue with THIS and libgfapi, it can be generalized to any process having multiple glusterfs_ctxs. Before the master xlator (fuse/libgfapi) is created, all the code that access THIS will be using global_xlator object, defined globally for the whole of the

Re: [Gluster-devel] Issue with THIS and libgfapi

2015-05-12 Thread SATHEESARAN
On 05/12/2015 07:36 PM, Poornima Gurusiddaiah wrote: Hi, We recently uncovered an issue with THIS and libgfapi, it can be generalized to any process having multiple glusterfs_ctxs. Before the master xlator (fuse/libgfapi) is created, all the code that access THIS will be using global_xlator