Package: ceph / 10.2.5-6~bpo8+1

sleep-recover.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Last-Update: 2014-05-12
Forwarded: not-needed
Bug-Ceph: http://tracker.ceph.com/issues/8291
Author: Yan, Zheng <ukernel@gmail.com>
Description: fix fuse-client hang after wake-up from suspend.

--- a/src/client/Client.cc
+++ b/src/client/Client.cc
@@ -12020,6 +12020,7 @@ void Client::ms_handle_remote_reset(Conn
 	case MetaSession::STATE_OPEN:
 	  ldout(cct, 1) << "reset from mds we were open; mark session as stale" << dendl;
 	  s->state = MetaSession::STATE_STALE;
+	  _closed_mds_session(s);
 	  break;
 
 	case MetaSession::STATE_NEW: