Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/block/drbd/
Ddrbd_state.c1056 enum drbd_disk_state disk_min, disk_max, pdsk_min, pdsk_max; in sanitize_state() local
1117 pdsk_max = D_UNKNOWN; in sanitize_state()
1127 pdsk_max = D_UP_TO_DATE; in sanitize_state()
1134 pdsk_max = D_UP_TO_DATE; in sanitize_state()
1140 pdsk_max = D_UP_TO_DATE; in sanitize_state()
1149 pdsk_max = D_CONSISTENT; /* D_OUTDATED would be nice. But explicit outdate necessary*/ in sanitize_state()
1155 pdsk_max = D_UP_TO_DATE; in sanitize_state()
1161 pdsk_max = D_INCONSISTENT; in sanitize_state()
1184 if (ns.pdsk > pdsk_max) in sanitize_state()
1185 ns.pdsk = pdsk_max; in sanitize_state()