[Pkg-ceph-commits] [ceph] 02/02: new patch [#7980] to fix MDS crash on client wake-up from suspend.
Dmitry Smirnov
onlyjob at moszumanska.debian.org
Fri Apr 4 18:25:55 UTC 2014
This is an automated email from the git hooks/post-receive script.
onlyjob pushed a commit to branch experimental
in repository ceph.
commit da66d34 (experimental)
Author: Dmitry Smirnov <onlyjob at member.fsf.org>
Date: Fri Apr 4 07:24:43 2014
new patch [#7980] to fix MDS crash on client wake-up from suspend.
---
debian/patches/7980.patch | 33 +++++++++++++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 34 insertions(+)
diff --git a/debian/patches/7980.patch b/debian/patches/7980.patch
new file mode 100644
index 0000000..b691a3c
--- /dev/null
+++ b/debian/patches/7980.patch
@@ -0,0 +1,33 @@
+Last-Update: 2014-04-04
+Forwarded: not-needed
+Origin: upstream, https://github.com/ceph/ceph/commit/fb72330fb3514be690dc60598242036aa560e023
+Bug-Ceph: http://tracker.ceph.com/issues/7980
+Author: Yan, Zheng <zheng.z.yan at intel.com>
+Description: fix MDS crash (segmentation fault) on client wake-up from suspend.
+
+ mds: reset connection priv after connection's session is removed
+
+ Signed-off-by: Yan, Zheng <zheng.z.yan at intel.com>
+
+--- a/src/mds/MDS.cc
++++ b/src/mds/MDS.cc
+@@ -2096,8 +2096,9 @@
+ if (session) {
+ if (session->is_closed()) {
+ dout(3) << "ms_handle_reset closing connection for session " << session->info.inst << dendl;
+ messenger->mark_down(con);
++ con->set_priv(NULL);
+ sessionmap.remove_session(session);
+ }
+ session->put();
+ } else {
+@@ -2124,8 +2125,9 @@
+ if (session) {
+ if (session->is_closed()) {
+ dout(3) << "ms_handle_remote_reset closing connection for session " << session->info.inst << dendl;
+ messenger->mark_down(con);
++ con->set_priv(NULL);
+ sessionmap.remove_session(session);
+ }
+ session->put();
+ }
diff --git a/debian/patches/series b/debian/patches/series
index f6d3344..3e75fc1 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
+7980.patch
ceph-conf-no-log.patch
#defaults-leveldb-osd.patch
fix-defaultweight.patch
--
Alioth's hooks/post-receive on /srv/git.debian.org/git/pkg-ceph/ceph.git
More information about the Pkg-ceph-commits
mailing list