Searched refs:lastrep (Results 1 – 1 of 1) sorted by relevance
/illumos-gate/usr/src/cmd/zpool/ |
H A D | zpool_vdev.c | 599 replication_level_t lastrep = {0}; in get_replication() local 786 if (lastrep.zprl_type != NULL) { in get_replication() 787 if (is_raidz_mirror(&lastrep, &rep, &raidz, &mirror) || in get_replication() 788 is_raidz_mirror(&rep, &lastrep, &raidz, &mirror)) { in get_replication() 814 } else if (strcmp(lastrep.zprl_type, rep.zprl_type) != in get_replication() 824 lastrep.zprl_type, rep.zprl_type); in get_replication() 827 } else if (lastrep.zprl_parity != rep.zprl_parity) { in get_replication() 836 lastrep.zprl_parity, in get_replication() 841 } else if (lastrep.zprl_children != rep.zprl_children) { in get_replication() 850 lastrep.zprl_children, in get_replication() [all …]
|