Home
last modified time | relevance | path

Searched refs:mirror_array (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/fs/nfs/flexfilelayout/
H A Dflexfilelayout.c285 if (fl1->mirror_array[i] != fl2->mirror_array[i]) in ff_lseg_match_mirrors()
358 if (fls->mirror_array[i]->efficiency < in ff_layout_sort_mirrors()
359 fls->mirror_array[j]->efficiency) in ff_layout_sort_mirrors()
360 swap(fls->mirror_array[i], in ff_layout_sort_mirrors()
361 fls->mirror_array[j]); in ff_layout_sort_mirrors()
433 if (fls->mirror_array[i] == NULL) { in ff_layout_alloc_lseg()
438 fls->mirror_array[i]->ds_count = ds_count; in ff_layout_alloc_lseg()
464 fls->mirror_array[i]->fh_versions = in ff_layout_alloc_lseg()
515 if (mirror != fls->mirror_array[i]) { in ff_layout_alloc_lseg()
525 fls->mirror_array[i] = mirror; in ff_layout_alloc_lseg()
[all …]
H A Dflexfilelayout.h102 struct nfs4_ff_layout_mirror *mirror_array[]; member
147 return fls->mirror_array[idx]; in FF_LAYOUT_COMP()