Home
last modified time | relevance | path

Searched refs:ndist (Results 1 – 3 of 3) sorted by relevance

/fs/ceph/
Dinode.c173 frag->ndist = 0; in __get_or_create_frag()
273 int ndist = le32_to_cpu(dirinfo->ndist); in ceph_fill_dirfrag() local
287 if (ndist == 0 && mds == diri_auth) { in ceph_fill_dirfrag()
303 frag->ndist = 0; in ceph_fill_dirfrag()
321 frag->ndist = min_t(u32, ndist, CEPH_MAX_DIRFRAG_REP); in ceph_fill_dirfrag()
322 for (i = 0; i < frag->ndist; i++) in ceph_fill_dirfrag()
325 ceph_vinop(inode), frag->frag, frag->ndist); in ceph_fill_dirfrag()
Dsuper.h254 int ndist; /* >0 if replicated */ member
Dmds_client.c254 *p += sizeof(**dirfrag) + sizeof(u32) * le32_to_cpu((*dirfrag)->ndist); in parse_reply_info_dir()
1102 if (mode == USE_ANY_MDS && frag.ndist > 0) { in __choose_mds()
1107 r %= frag.ndist; in __choose_mds()
1111 frag.frag, mds, (int)r, frag.ndist); in __choose_mds()