|
Motr
M0
|
#include <layout.h>

Data Fields | |
| struct m0_dix_linst | dit_linst |
| uint32_t | dit_W |
| uint64_t | dit_unit |
| struct m0_buf | dit_key |
Iterator over targets of index record parity group units.
The order of iteration is: Tn, Tp1 ... Tpk, Ts1, ..., Tsk, where Tn - target for data unit. There is always one data unit; Tp1 ... Tpk - targets for parity units; Ts1 ... Tsk - targets for spare units; 'k' is determined by pool version 'K' attribute. Iterator constructs distributed index layout internally and uses it to calculate successive target on every iteration.
Target in this case is a device index in a pool version.
| struct m0_buf dit_key |
| struct m0_dix_linst dit_linst |