Lines Matching refs:s_mds
953 if (s->s_mds >= mdsc->max_sessions || in __verify_registered_session()
954 mdsc->sessions[s->s_mds] != s) in __verify_registered_session()
998 s->s_mds = mds; in register_session()
1039 doutc(mdsc->fsc->client, "mds%d %p\n", s->s_mds, s); in __unregister_session()
1040 BUG_ON(mdsc->sessions[s->s_mds] != s); in __unregister_session()
1041 mdsc->sessions[s->s_mds] = NULL; in __unregister_session()
1419 mds = cap->session->s_mds; in __choose_mds()
1666 int mds = session->s_mds; in __open_session()
1734 int i, mds = session->s_mds; in __open_export_target_sessions()
1741 doutc(cl, "for mds%d (%d targets)\n", session->s_mds, in __open_export_target_sessions()
1771 doutc(cl, "mds%d\n", session->s_mds); in detach_cap_releases()
1793 doutc(cl, "mds%d\n", session->s_mds); in cleanup_session_requests()
1812 req->r_session->s_mds == session->s_mds) in cleanup_session_requests()
1835 doutc(cl, "%p mds%d\n", session, session->s_mds); in ceph_iterate_session_caps()
2011 doutc(cl, "session %p mds%d\n", session, session->s_mds); in wake_up_session_caps()
2031 pr_info_client(cl, "mds%d caps stale\n", session->s_mds); in send_renew_caps()
2036 state = ceph_mdsmap_get_state(mdsc->mdsmap, session->s_mds); in send_renew_caps()
2038 doutc(cl, "ignoring mds%d (%s)\n", session->s_mds, in send_renew_caps()
2043 doutc(cl, "to mds%d (%s)\n", session->s_mds, in send_renew_caps()
2059 doutc(cl, "to mds%d (%s)s seq %lld\n", session->s_mds, in send_flushmsg_ack()
2090 session->s_mds); in renewed_caps()
2094 session->s_mds); in renewed_caps()
2097 doutc(cl, "mds%d ttl now %lu, was %s, now %s\n", session->s_mds, in renewed_caps()
2114 doutc(cl, "mds%d state %s seq %lld\n", session->s_mds, in request_close_session()
2258 doutc(cl, "mds%d start: %d / %d, trim %d\n", session->s_mds, in ceph_trim_caps()
2265 session->s_mds, session->s_nr_caps, max_caps, in ceph_trim_caps()
2377 doutc(cl, "mds%d %p\n", session->s_mds, msg); in ceph_send_cap_releases()
2397 doutc(cl, "mds%d %p\n", session->s_mds, msg); in ceph_send_cap_releases()
2403 session->s_mds); in ceph_send_cap_releases()
2972 int mds = session->s_mds; in create_request_message()
3261 int mds = session->s_mds; in __prepare_send_request()
3560 cap->session->s_mds, session->s_mds); in __do_request()
3636 req->r_session->s_mds == mds) { in kick_requests()
3803 int mds = session->s_mds; in handle_reply()
3826 tid, session->s_mds, in handle_reply()
3827 req->r_session ? req->r_session->s_mds : -1); in handle_reply()
4110 int mds = session->s_mds; in handle_session()
4161 session->s_mds); in handle_session()
4277 pr_info_client(cl, "mds%d came back\n", session->s_mds); in handle_session()
4284 session->s_mds); in handle_session()
4289 session->s_mds); in handle_session()
4319 session->s_mds); in handle_session()
4329 session->s_mds); in handle_session()
4360 session->s_mds); in handle_session()
4433 doutc(mdsc->fsc->client, "mds%d\n", session->s_mds); in replay_unsafe_requests()
4453 if (req->r_session->s_mds != session->s_mds) in replay_unsafe_requests()
4842 int mds = session->s_mds; in send_mds_reconnect()
5097 s->s_mds); in check_new_map()
5195 int mds = session->s_mds; in handle_lease()
5307 session->s_mds); in ceph_mdsc_lease_send_msg()
5364 pr_info_client(cl, "mds%d hung\n", s->s_mds); in check_session_state()
5393 doutc(cl, "resending session close request for mds%d\n", s->s_mds); in inc_session_sequence()
5397 s->s_mds, ret); in inc_session_sequence()
5598 s->s_mds, ceph_session_state_name(s->s_state), s->s_seq); in send_flush_mdlog()
5603 s->s_mds, ceph_session_state_name(s->s_state), s->s_seq); in send_flush_mdlog()
6217 s->s_mds); in mds_peer_reset()
6219 ceph_mdsmap_get_state(mdsc->mdsmap, s->s_mds) >= CEPH_MDS_STATE_RECONNECT) in mds_peer_reset()