Lines Matching refs:real_peer_disk
3174 enum drbd_disk_state real_peer_disk; in receive_state() local
3180 real_peer_disk = peer_state.disk; in receive_state()
3182 real_peer_disk = mdev->p_uuid[UI_FLAGS] & 4 ? D_INCONSISTENT : D_CONSISTENT; in receive_state()
3183 dev_info(DEV, "real peer disk state = %s\n", drbd_disk_str(real_peer_disk)); in receive_state()
3193 if (os.pdsk == D_INCONSISTENT && real_peer_disk == D_UP_TO_DATE && in receive_state()
3203 real_peer_disk = D_INCONSISTENT; in receive_state()
3221 if (os.pdsk == D_UP_TO_DATE && real_peer_disk == D_INCONSISTENT && in receive_state()
3223 real_peer_disk = D_UP_TO_DATE; in receive_state()
3252 ns.conn = drbd_sync_handshake(mdev, peer_state.role, real_peer_disk); in receive_state()
3262 real_peer_disk = D_DISKLESS; in receive_state()
3278 ns.pdsk = real_peer_disk; in receive_state()