Home
last modified time | relevance | path

Searched refs:mdsmap (Results 1 – 6 of 6) sorted by relevance

/linux-4.19.296/fs/ceph/
Ddebugfs.c26 struct ceph_mdsmap *mdsmap; in mdsmap_show() local
28 if (!fsc->mdsc || !fsc->mdsc->mdsmap) in mdsmap_show()
30 mdsmap = fsc->mdsc->mdsmap; in mdsmap_show()
31 seq_printf(s, "epoch %d\n", mdsmap->m_epoch); in mdsmap_show()
32 seq_printf(s, "root %d\n", mdsmap->m_root); in mdsmap_show()
33 seq_printf(s, "max_mds %d\n", mdsmap->m_max_mds); in mdsmap_show()
34 seq_printf(s, "session_timeout %d\n", mdsmap->m_session_timeout); in mdsmap_show()
35 seq_printf(s, "session_autoclose %d\n", mdsmap->m_session_autoclose); in mdsmap_show()
36 for (i = 0; i < mdsmap->m_num_mds; i++) { in mdsmap_show()
37 struct ceph_entity_addr *addr = &mdsmap->m_info[i].addr; in mdsmap_show()
[all …]
DMakefile10 mds_client.o mdsmap.o strings.o ceph_frag.o \
Dmds_client.c466 if (mds >= mdsc->mdsmap->m_num_mds) in register_session()
524 ceph_mdsmap_get_addr(mdsc->mdsmap, mds)); in register_session()
756 ceph_mdsmap_get_state(mdsc->mdsmap, req->r_resend_mds) > 0)) { in __choose_mds()
835 if (ceph_mdsmap_get_state(mdsc->mdsmap, mds) >= in __choose_mds()
850 if (ceph_mdsmap_get_state(mdsc->mdsmap, mds) >= in __choose_mds()
878 mds = ceph_mdsmap_get_random_mds(mdsc->mdsmap); in __choose_mds()
1021 mstate = ceph_mdsmap_get_state(mdsc->mdsmap, mds); in __open_session()
1079 if (mds >= mdsc->mdsmap->m_num_mds) in __open_export_target_sessions()
1082 mi = &mdsc->mdsmap->m_info[mds]; in __open_export_target_sessions()
1419 state = ceph_mdsmap_get_state(mdsc->mdsmap, session->s_mds); in send_renew_caps()
[all …]
Dioctl.c52 for (i = 0; i < mdsc->mdsmap->m_num_data_pg_pools; i++) in __validate_layout()
53 if (mdsc->mdsmap->m_data_pg_pools[i] == l->data_pool) { in __validate_layout()
Dsuper.c54 if (fsc->mdsc->mdsmap->m_num_data_pg_pools == 1) { in ceph_statfs()
55 data_pool = fsc->mdsc->mdsmap->m_data_pg_pools[0]; in ceph_statfs()
1127 if (!ceph_mdsmap_is_cluster_available(fsc->mdsc->mdsmap)) { in ceph_mount()
Dmds_client.h318 struct ceph_mdsmap *mdsmap; member