Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1198573

Summary: libgfapi APIs overwrite the existing THIS value when called from other xlators like snapview
Product: [Community] GlusterFS Reporter: Poornima G <pgurusid>
Component: libgfapiAssignee: Poornima G <pgurusid>
Status: CLOSED DUPLICATE QA Contact: Sudhir D <sdharane>
Severity: medium Docs Contact:
Priority: medium    
Version: mainlineCC: bugs, gluster-bugs, hchiramm
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-04-30 04:49:45 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:

Description Poornima G 2015-03-04 12:14:30 UTC
Description of problem:
libgfapi APIs overwrite the existing THIS value when called from other xlators like snapview.
This was part of the issue addressed in https://bugzilla.redhat.com/show_bug.cgi?id=1184366
As a workaround for the above BZ, mem accounting was disabled.
But if the memaccounting is enabled the issue will still be seen.

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Anand Avati 2015-03-04 12:17:20 UTC
REVIEW: http://review.gluster.org/9797 (libgfapi: In all the APIs that are exposed by libgfapi,           store and restore the THIS value.) posted (#1) for review on master by Poornima G (pgurusid)

Comment 2 Anand Avati 2015-03-10 09:58:00 UTC
REVIEW: http://review.gluster.org/9797 (libgfapi: In all the APIs that are exposed by libgfapi, store and restore THIS value.) posted (#2) for review on master by Poornima G (pgurusid)

Comment 3 Anand Avati 2015-03-24 09:53:24 UTC
REVIEW: http://review.gluster.org/9797 (libgfapi: In all the APIs that are exposed by libgfapi, store and restore THIS value) posted (#3) for review on master by Poornima G (pgurusid)

Comment 4 Anand Avati 2015-03-27 10:06:20 UTC
REVIEW: http://review.gluster.org/10025 (libgfapi: Check the validity of fs object and store and restore THIS) posted (#1) for review on master by Poornima G (pgurusid)

Comment 5 Anand Avati 2015-03-27 10:08:09 UTC
REVIEW: http://review.gluster.org/9797 (libgfapi: Check the validity of fs object and store and restore THIS) posted (#4) for review on master by Poornima G (pgurusid)

Comment 6 Anand Avati 2015-04-27 11:33:57 UTC
REVIEW: http://review.gluster.org/9797 (libgfapi: Store and restore THIS in every API exposed by libgfapi) posted (#5) for review on master by Poornima G (pgurusid)

Comment 7 Anand Avati 2015-04-29 09:28:53 UTC
REVIEW: http://review.gluster.org/9797 (libgfapi: Store and restore THIS in every API exposed by libgfapi) posted (#6) for review on master by Poornima G (pgurusid)

Comment 8 Poornima G 2015-04-30 04:49:45 UTC

*** This bug has been marked as a duplicate of bug 1210934 ***