[Bugs] [Bug 1347715] New: removal of file from nfs mount crashs ganesha server
bugzilla at redhat.com
bugzilla at redhat.com
Fri Jun 17 12:51:17 UTC 2016
https://bugzilla.redhat.com/show_bug.cgi?id=1347715
Bug ID: 1347715
Summary: removal of file from nfs mount crashs ganesha server
Product: GlusterFS
Version: 3.7.12
Component: upcall
Keywords: Triaged
Assignee: jthottan at redhat.com
Reporter: jthottan at redhat.com
CC: bugs at gluster.org, ndevos at redhat.com,
skoduri at redhat.com
Depends On: 1344714
+++ This bug was initially created as a clone of Bug #1344714 +++
Description of problem:
The struct callback_inode_arg is a variable used by upcall infra for populating
upcall entries. This variable is allocated using GF_CALLOC in
glfs_h_poll_cache_invalidation(), but it also freedin FSAL_GLUSTER using free.
This will result in a crash when we try to remove a file from mount
Version-Release number of selected component (if applicable):
mainline
How reproducible:
Steps to Reproduce:
1. enable nfs-ganesha and export a volume
2. mount the volume
3. create a file and delete it from the mount
Actual results:
ganesha server crashes
Expected results:
should not crash
Additional info:
--- Additional comment from Vijay Bellur on 2016-06-10 09:17:53 EDT ---
REVIEW: http://review.gluster.org/14701 (libgfapi : Introducing glfs_free()
api) posted (#1) for review on master by jiffin tony Thottan
(jthottan at redhat.com)
--- Additional comment from Vijay Bellur on 2016-06-10 09:17:56 EDT ---
REVIEW: http://review.gluster.org/14702 (libgfapi/upcall : appending glfs to
callback_arg, callback_inode_arg) posted (#1) for review on master by jiffin
tony Thottan (jthottan at redhat.com)
--- Additional comment from Vijay Bellur on 2016-06-10 16:57:16 EDT ---
REVIEW: http://review.gluster.org/14702 (libgfapi/upcall : prepend "glfs_" to
callback_arg, callback_inode_arg) posted (#2) for review on master by Jeff
Darcy (jdarcy at redhat.com)
--- Additional comment from Vijay Bellur on 2016-06-10 17:09:37 EDT ---
COMMIT: http://review.gluster.org/14702 committed in master by Jeff Darcy
(jdarcy at redhat.com)
------
commit 2775dc64101ed37c8d9809bf9852dbf0746ee2b6
Author: Jiffin Tony Thottan <jthottan at redhat.com>
Date: Fri Jun 10 18:23:43 2016 +0530
libgfapi/upcall : prepend "glfs_" to callback_arg, callback_inode_arg
Change-Id: I371525775db4f6a4d69beb94baaa53d17b16fb41
BUG: 1344714
Signed-off-by: Jiffin Tony Thottan <jthottan at redhat.com>
Reviewed-on: http://review.gluster.org/14702
CentOS-regression: Gluster Build System <jenkins at build.gluster.com>
NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
Reviewed-by: Jeff Darcy <jdarcy at redhat.com>
Tested-by: Jeff Darcy <jdarcy at redhat.com>
Smoke: Gluster Build System <jenkins at build.gluster.com>
--- Additional comment from Vijay Bellur on 2016-06-14 04:58:05 EDT ---
REVIEW: http://review.gluster.org/14701 (libgfapi : Introducing
glfs_free_callback_inode_arg() api) posted (#2) for review on master by jiffin
tony Thottan (jthottan at redhat.com)
--- Additional comment from Vijay Bellur on 2016-06-14 06:14:16 EDT ---
REVIEW: http://review.gluster.org/14701 (libgfapi : Introducing
glfs_free_callback_inode_arg() api) posted (#3) for review on master by jiffin
tony Thottan (jthottan at redhat.com)
--- Additional comment from Vijay Bellur on 2016-06-16 09:28:10 EDT ---
REVIEW: http://review.gluster.org/14701 (libgfapi : Introducing
glfs_free_callback_inode_arg() api) posted (#4) for review on master by jiffin
tony Thottan (jthottan at redhat.com)
--- Additional comment from Vijay Bellur on 2016-06-16 09:30:18 EDT ---
REVIEW: http://review.gluster.org/14701 (libgfapi : Introducing
glfs_free_callback_inode_arg() api) posted (#5) for review on master by jiffin
tony Thottan (jthottan at redhat.com)
--- Additional comment from Vijay Bellur on 2016-06-16 09:41:28 EDT ---
REVIEW: http://review.gluster.org/14701 (libgfapi : free
glfs_callback_inode_arg from application layer) posted (#6) for review on
master by jiffin tony Thottan (jthottan at redhat.com)
--- Additional comment from Vijay Bellur on 2016-06-17 08:46:07 EDT ---
REVIEW: http://review.gluster.org/14759 (libgfapi/upcall : use calloc and free
for callback_inode_arg) posted (#1) for review on master by jiffin tony Thottan
(jthottan at redhat.com)
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=1344714
[Bug 1344714] removal of file from nfs mount crashs ganesha server
--
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=REkkb354Mv&a=cc_unsubscribe
More information about the Bugs
mailing list