[Bugs] [Bug 1347717] removal of file from nfs mount crashs ganesha server
bugzilla at redhat.com
bugzilla at redhat.com
Tue Oct 18 07:00:10 UTC 2016
https://bugzilla.redhat.com/show_bug.cgi?id=1347717
--- Comment #5 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: http://review.gluster.org/15639 committed in release-3.8 by Niels de
Vos (ndevos at redhat.com)
------
commit 8d1b94f6e43175df60ca9067db1811997d3ef4fc
Author: Niels de Vos <ndevos at redhat.com>
Date: Fri Oct 14 12:49:29 2016 +0200
libglusterfs: add gf_get_mem_type()
gfapi needs to provide a function towards applications to free memory
that it allocated. Depending on how the application is compiled/linked,
it could use a different memory allocator than Gluster itself. Therefore
it is not safe for gfapi to request applications to free memory with
'standard' free().
Examples for this are Gluster allocated structures with GF_CALLOC() when
memory accounting is enabled (the default). Some gfapi functions use
malloc() to allocate memory as a workaround, but the free() from the
jemalloc implementation should not be combined with the malloc() from
glibc.
Cherry picked from commit db4e26ed71a01e5f760fbc3c7051962426f102c9:
> Change-Id: I626cd1a60abf8965f9263290f4045d1f69fc2093
> BUG: 1344714
> Signed-off-by: Niels de Vos <ndevos at redhat.com>
> Reviewed-on: http://review.gluster.org/15108
> Smoke: Gluster Build System <jenkins at build.gluster.org>
> Reviewed-by: soumya k <skoduri at redhat.com>
> Reviewed-by: jiffin tony Thottan <jthottan at redhat.com>
> NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
> CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
> Reviewed-by: Shyamsundar Ranganathan <srangana at redhat.com>
This also includes commit da2aabe3 which fixes an unused variable
warning.
Change-Id: I626cd1a60abf8965f9263290f4045d1f69fc2093
BUG: 1347717
Signed-off-by: Niels de Vos <ndevos at redhat.com>
Reviewed-on: http://review.gluster.org/15639
Smoke: Gluster Build System <jenkins at build.gluster.org>
NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
Reviewed-by: jiffin tony Thottan <jthottan at redhat.com>
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=fK75Dm2tfw&a=cc_unsubscribe
More information about the Bugs
mailing list