Searched refs:mdsmap (Results 1 – 8 of 8) sorted by relevance
/linux-6.6.21/fs/ceph/ |
D | debugfs.c | 29 struct ceph_mdsmap *mdsmap; in mdsmap_show() local 31 if (!fsc->mdsc || !fsc->mdsc->mdsmap) in mdsmap_show() 33 mdsmap = fsc->mdsc->mdsmap; in mdsmap_show() 34 seq_printf(s, "epoch %d\n", mdsmap->m_epoch); in mdsmap_show() 35 seq_printf(s, "root %d\n", mdsmap->m_root); in mdsmap_show() 36 seq_printf(s, "max_mds %d\n", mdsmap->m_max_mds); in mdsmap_show() 37 seq_printf(s, "session_timeout %d\n", mdsmap->m_session_timeout); in mdsmap_show() 38 seq_printf(s, "session_autoclose %d\n", mdsmap->m_session_autoclose); in mdsmap_show() 39 for (i = 0; i < mdsmap->possible_max_rank; i++) { in mdsmap_show() 40 struct ceph_entity_addr *addr = &mdsmap->m_info[i].addr; in mdsmap_show() [all …]
|
D | mds_client.c | 965 if (mds >= mdsc->mdsmap->possible_max_rank) in register_session() 1017 ceph_mdsmap_get_addr(mdsc->mdsmap, mds)); in register_session() 1291 ceph_mdsmap_get_state(mdsc->mdsmap, req->r_resend_mds) > 0)) { in __choose_mds() 1368 if (ceph_mdsmap_get_state(mdsc->mdsmap, mds) >= in __choose_mds() 1370 !ceph_mdsmap_is_laggy(mdsc->mdsmap, mds)) in __choose_mds() 1383 if (ceph_mdsmap_get_state(mdsc->mdsmap, mds) >= in __choose_mds() 1385 if (!ceph_mdsmap_is_laggy(mdsc->mdsmap, in __choose_mds() 1418 mds = ceph_mdsmap_get_random_mds(mdsc->mdsmap); in __choose_mds() 1644 mstate = ceph_mdsmap_get_state(mdsc->mdsmap, mds); in __open_session() 1706 if (mds >= mdsc->mdsmap->possible_max_rank) in __open_export_target_sessions() [all …]
|
D | Makefile | 10 mds_client.o mdsmap.o strings.o ceph_frag.o \
|
D | ioctl.c | 53 for (i = 0; i < mdsc->mdsmap->m_num_data_pg_pools; i++) in __validate_layout() 54 if (mdsc->mdsmap->m_data_pg_pools[i] == l->data_pool) { in __validate_layout()
|
D | super.c | 62 if (fsc->mdsc->mdsmap->m_num_data_pg_pools == 1) { in ceph_statfs() 63 data_pool = fsc->mdsc->mdsmap->m_data_pg_pools[0]; in ceph_statfs() 1347 if (!ceph_mdsmap_is_cluster_available(fsc->mdsc->mdsmap)) { in ceph_get_tree()
|
D | mds_client.h | 416 struct ceph_mdsmap *mdsmap; member
|
D | metric.c | 41 if (ceph_mdsmap_get_state(mdsc->mdsmap, s->s_mds) != CEPH_MDS_STATE_ACTIVE) { in ceph_mdsc_send_metrics()
|
D | xattr.c | 1222 (required_blob_size > mdsc->mdsmap->m_max_xattr_size)) { in __ceph_setxattr() 1225 mdsc->mdsmap->m_max_xattr_size); in __ceph_setxattr()
|