Lines Matching refs:fsc

498 	ceph_con_init(&s->s_con, s, &mds_con_ops, &mdsc->fsc->client->msgr);  in register_session()
786 if (!dir || dir->i_sb != mdsc->fsc->sb) { in __choose_mds()
937 struct ceph_options *opt = mdsc->fsc->client->options; in create_session_open_msg()
938 struct ceph_mount_options *fsopt = mdsc->fsc->mount_options; in create_session_open_msg()
1230 struct ceph_fs_client *fsc = (struct ceph_fs_client *)arg; in remove_session_caps_cb() local
1242 struct ceph_mds_client *mdsc = fsc->mdsc; in remove_session_caps_cb()
1247 READ_ONCE(fsc->mount_state) == CEPH_MOUNT_SHUTDOWN) in remove_session_caps_cb()
1316 struct ceph_fs_client *fsc = session->s_mdsc->fsc; in remove_session_caps() local
1317 struct super_block *sb = fsc->sb; in remove_session_caps()
1321 iterate_session_caps(session, remove_session_caps_cb, fsc); in remove_session_caps()
1323 wake_up_all(&fsc->mdsc->cap_flushing_wq); in remove_session_caps()
1677 struct ceph_osd_client *osdc = &mdsc->fsc->client->osdc; in ceph_send_cap_releases()
1773 struct ceph_mount_options *opt = req->r_mdsc->fsc->mount_options; in ceph_alloc_readdir_reply_buffer()
1832 req->r_stamp = timespec64_trunc(ts, mdsc->fsc->sb->s_time_gran); in ceph_mdsc_create_request()
2279 if (READ_ONCE(mdsc->fsc->mount_state) == CEPH_MOUNT_SHUTDOWN) { in __do_request()
2284 if (READ_ONCE(mdsc->fsc->mount_state) == CEPH_MOUNT_MOUNTING) { in __do_request()
2295 if (!(mdsc->fsc->mount_options->flags & in __do_request()
2670 err = ceph_fill_trace(mdsc->fsc->sb, req); in handle_reply()
3164 if (mdsc->fsc->sb->s_root) in send_mds_reconnect()
3165 shrink_dcache_parent(mdsc->fsc->sb->s_root); in send_mds_reconnect()
3390 struct super_block *sb = mdsc->fsc->sb; in handle_lease()
3620 int ceph_mdsc_init(struct ceph_fs_client *fsc) in ceph_mdsc_init() argument
3628 mdsc->fsc = fsc; in ceph_mdsc_init()
3636 fsc->mdsc = mdsc; in ceph_mdsc_init()
3670 ceph_adjust_min_caps(mdsc, fsc->min_caps); in ceph_mdsc_init()
3686 struct ceph_options *opts = mdsc->fsc->client->options; in wait_requests()
3779 if (READ_ONCE(mdsc->fsc->mount_state) == CEPH_MOUNT_SHUTDOWN) in ceph_mdsc_sync()
3810 if (READ_ONCE(mdsc->fsc->mount_state) == CEPH_MOUNT_SHUTDOWN) in done_closing_sessions()
3820 struct ceph_options *opts = mdsc->fsc->client->options; in ceph_mdsc_close_sessions()
3911 void ceph_mdsc_destroy(struct ceph_fs_client *fsc) in ceph_mdsc_destroy() argument
3913 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_mdsc_destroy()
3924 fsc->mdsc = NULL; in ceph_mdsc_destroy()
3931 struct ceph_fs_client *fsc = mdsc->fsc; in ceph_mdsc_handle_fsmap() local
3932 const char *mds_namespace = fsc->mount_options->mds_namespace; in ceph_mdsc_handle_fsmap()
3984 ceph_monc_got_map(&fsc->client->monc, CEPH_SUB_FSMAP, epoch); in ceph_mdsc_handle_fsmap()
3986 fsc->client->monc.fs_cluster_id = mount_fscid; in ceph_mdsc_handle_fsmap()
3987 ceph_monc_want_map(&fsc->client->monc, CEPH_SUB_MDSMAP, in ceph_mdsc_handle_fsmap()
3989 ceph_monc_renew_subs(&fsc->client->monc); in ceph_mdsc_handle_fsmap()
4020 if (ceph_check_fsid(mdsc->fsc->client, &fsid) < 0) in ceph_mdsc_handle_mdsmap()
4050 mdsc->fsc->max_file_size = min((loff_t)mdsc->mdsmap->m_max_file_size, in ceph_mdsc_handle_mdsmap()
4054 ceph_monc_got_map(&mdsc->fsc->client->monc, CEPH_SUB_MDSMAP, in ceph_mdsc_handle_mdsmap()
4164 struct ceph_auth_client *ac = mdsc->fsc->client->monc.auth; in get_authorizer()
4192 struct ceph_auth_client *ac = mdsc->fsc->client->monc.auth; in add_authorizer_challenge()
4202 struct ceph_auth_client *ac = mdsc->fsc->client->monc.auth; in verify_authorizer_reply()
4211 struct ceph_auth_client *ac = mdsc->fsc->client->monc.auth; in invalidate_authorizer()
4215 return ceph_monc_validate_auth(&mdsc->fsc->client->monc); in invalidate_authorizer()