Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/block/drbd/
Ddrbd_state.c860 else if (ns.role == R_PRIMARY && ns.disk <= D_INCONSISTENT && ns.pdsk <= D_INCONSISTENT) in is_valid_state()
863 else if (ns.conn > C_CONNECTED && ns.disk < D_INCONSISTENT) in is_valid_state()
866 else if (ns.conn > C_CONNECTED && ns.pdsk < D_INCONSISTENT) in is_valid_state()
1073 if (ns.pdsk > D_UNKNOWN || ns.pdsk < D_INCONSISTENT) in sanitize_state()
1116 pdsk_min = D_INCONSISTENT; in sanitize_state()
1124 disk_min = D_INCONSISTENT; in sanitize_state()
1148 pdsk_min = D_INCONSISTENT; in sanitize_state()
1152 disk_min = D_INCONSISTENT; in sanitize_state()
1153 disk_max = D_INCONSISTENT; in sanitize_state()
1160 pdsk_min = D_INCONSISTENT; in sanitize_state()
[all …]
Ddrbd_strings.c55 [D_INCONSISTENT] = "Inconsistent",
Ddrbd_receiver.c2691 if (device->state.pdsk < D_INCONSISTENT) { in receive_Data()
3493 if ((mydisk == D_INCONSISTENT && peer_disk > D_INCONSISTENT) || in drbd_sync_handshake()
3494 (peer_disk == D_INCONSISTENT && mydisk > D_INCONSISTENT)) { in drbd_sync_handshake()
3496 hg = mydisk > D_INCONSISTENT ? 1 : -1; in drbd_sync_handshake()
3563 if (hg > 0 && mydisk <= D_INCONSISTENT) { in drbd_sync_handshake()
4218 if (device->state.pdsk >= D_INCONSISTENT && in receive_sizes()
4219 device->state.disk >= D_INCONSISTENT) { in receive_sizes()
4256 device->state.disk < D_INCONSISTENT && in receive_uuids()
4284 } else if (device->state.disk < D_INCONSISTENT && in receive_uuids()
4297 if (device->state.conn >= C_CONNECTED && device->state.disk < D_INCONSISTENT) in receive_uuids()
[all …]
Ddrbd_int.h1658 if (device->state.disk > D_INCONSISTENT) in __drbd_chk_io_error_()
1659 _drbd_set_state(_NS(device, disk, D_INCONSISTENT), CS_HARD, NULL); in __drbd_chk_io_error_()
2007 #define get_ldev(_device) get_ldev_if_state(_device, D_INCONSISTENT)
2120 case D_INCONSISTENT: in drbd_state_is_stable()
Ddrbd_worker.c950 ns.disk = D_INCONSISTENT; in drbd_resync_finished()
954 ns.pdsk = D_INCONSISTENT; in drbd_resync_finished()
1135 if (likely(device->state.pdsk >= D_INCONSISTENT)) { in w_e_end_rsdata_req()
1815 ns.disk = D_INCONSISTENT; in drbd_start_resync()
1817 ns.pdsk = D_INCONSISTENT; in drbd_start_resync()
Ddrbd_req.c902 if (device->state.disk != D_INCONSISTENT) in drbd_may_do_local_read()
1086 (s.pdsk >= D_INCONSISTENT && in drbd_should_do_remote()
Ddrbd_nl.c525 val.pdsk = D_INCONSISTENT; in conn_try_outdate_peer()
655 device->state.disk >= D_INCONSISTENT)) { in drbd_set_role()
2058 ns.disk = D_INCONSISTENT; in drbd_adm_attach()
2972 retcode = drbd_request_state(device, NS(disk, D_INCONSISTENT)); in drbd_adm_invalidate()
3052 retcode = drbd_request_state(device, NS(pdsk, D_INCONSISTENT)); in drbd_adm_invalidate_peer()
Ddrbd_actlog.c414 if (device->state.disk < D_INCONSISTENT) { in al_write_transaction()
Ddrbd_main.c835 uuid_flags |= device->new_state_tmp.disk == D_INCONSISTENT ? 4 : 0; in _drbd_send_uuids()
1913 if (device->state.pdsk >= D_INCONSISTENT && device->state.conn >= C_CONNECTED) { in drbd_queue_unplug()
/linux-6.12.1/include/linux/
Ddrbd.h230 D_INCONSISTENT, enumerator