Lines Matching refs:s_mds
372 if (s->s_mds >= mdsc->max_sessions || in __verify_registered_session()
373 mdsc->sessions[s->s_mds] != s) in __verify_registered_session()
391 s->s_mds = mds; in register_session()
455 dout("__unregister_session mds%d %p\n", s->s_mds, s); in __unregister_session()
456 BUG_ON(mdsc->sessions[s->s_mds] != s); in __unregister_session()
457 mdsc->sessions[s->s_mds] = NULL; in __unregister_session()
748 mds = cap->session->s_mds; in __choose_mds()
792 int mds = session->s_mds; in __open_session()
819 int i, mds = session->s_mds; in __open_export_target_sessions()
826 session->s_mds, mi->num_export_targets); in __open_export_target_sessions()
840 dout(" mds%d target mds%d %p is %s\n", session->s_mds, in __open_export_target_sessions()
897 dout("iterate_session_caps %p mds%d\n", session, session->s_mds); in iterate_session_caps()
1032 dout("wake_up_session_caps %p mds%d\n", session, session->s_mds); in wake_up_session_caps()
1051 pr_info("mds%d caps stale\n", session->s_mds); in send_renew_caps()
1056 state = ceph_mdsmap_get_state(mdsc->mdsmap, session->s_mds); in send_renew_caps()
1059 session->s_mds, ceph_mds_state_name(state)); in send_renew_caps()
1063 dout("send_renew_caps to mds%d (%s)\n", session->s_mds, in send_renew_caps()
1092 pr_info("mds%d caps renewed\n", session->s_mds); in renewed_caps()
1095 pr_info("mds%d caps still stale\n", session->s_mds); in renewed_caps()
1099 session->s_mds, session->s_cap_ttl, was_stale ? "stale" : "fresh", in renewed_caps()
1116 session->s_mds, session_state_name(session->s_state), in request_close_session()
1197 session->s_mds, session->s_nr_caps, max_caps, trim_caps); in trim_caps()
1202 session->s_mds, session->s_nr_caps, max_caps, in trim_caps()
1225 dout("add_cap_releases %p mds%d extra %d\n", session, session->s_mds, in ceph_add_cap_releases()
1306 session->s_mds); in check_cap_flush()
1332 dout("send_cap_releases mds%d\n", session->s_mds); in ceph_send_cap_releases()
1340 dout("send_cap_releases mds%d %p\n", session->s_mds, msg); in ceph_send_cap_releases()
1354 dout("discard_cap_releases mds%d\n", session->s_mds); in discard_cap_releases()
1362 dout("discard_cap_releases mds%d %p %u\n", session->s_mds, msg, num); in discard_cap_releases()
1374 dout("discard_cap_releases mds%d %p %u\n", session->s_mds, msg, in discard_cap_releases()
1922 req->r_session->s_mds == mds) { in kick_requests()
2051 int mds = session->s_mds; in handle_reply()
2073 " not mds%d\n", tid, session->s_mds, in handle_reply()
2074 req->r_session ? req->r_session->s_mds : -1); in handle_reply()
2119 req->r_session->s_mds); in handle_reply()
2282 int mds = session->s_mds; in handle_session()
2307 pr_info("mds%d came back\n", session->s_mds); in handle_session()
2313 pr_info("mds%d reconnect success\n", session->s_mds); in handle_session()
2328 pr_info("mds%d reconnect denied\n", session->s_mds); in handle_session()
2337 session->s_mds); in handle_session()
2379 dout("replay_unsafe_requests mds%d\n", session->s_mds); in replay_unsafe_requests()
2383 err = __prepare_send_request(mdsc, req, session->s_mds); in replay_unsafe_requests()
2525 int mds = session->s_mds; in send_mds_reconnect()
2694 pr_info("mds%d recovery completed\n", s->s_mds); in check_new_map()
2742 int mds = session->s_mds; in handle_lease()
2849 inode, dentry, ceph_lease_op_name(action), session->s_mds); in ceph_mdsc_lease_send_msg()
2892 di->lease_session->s_mds < 0 || in ceph_mdsc_lease_release()
2909 inode, dentry, session->s_mds); in ceph_mdsc_lease_release()
2973 s->s_mds); in delayed_work()
2981 pr_info("mds%d hung\n", s->s_mds); in delayed_work()
3361 pr_warning("mds%d closed our session\n", s->s_mds); in peer_reset()