Searched refs:D_INCONSISTENT (Results 1 – 10 of 10) sorted by relevance
/Linux-v4.19/drivers/block/drbd/ |
D | drbd_state.c | 874 else if (ns.role == R_PRIMARY && ns.disk <= D_INCONSISTENT && ns.pdsk <= D_INCONSISTENT) in is_valid_state() 877 else if (ns.conn > C_CONNECTED && ns.disk < D_INCONSISTENT) in is_valid_state() 880 else if (ns.conn > C_CONNECTED && ns.pdsk < D_INCONSISTENT) in is_valid_state() 1087 if (ns.pdsk > D_UNKNOWN || ns.pdsk < D_INCONSISTENT) in sanitize_state() 1130 pdsk_min = D_INCONSISTENT; in sanitize_state() 1138 disk_min = D_INCONSISTENT; in sanitize_state() 1162 pdsk_min = D_INCONSISTENT; in sanitize_state() 1166 disk_min = D_INCONSISTENT; in sanitize_state() 1167 disk_max = D_INCONSISTENT; in sanitize_state() 1174 pdsk_min = D_INCONSISTENT; in sanitize_state() [all …]
|
D | drbd_strings.c | 67 [D_INCONSISTENT] = "Inconsistent",
|
D | drbd_receiver.c | 2597 if (device->state.pdsk < D_INCONSISTENT) { in receive_Data() 3403 if ((mydisk == D_INCONSISTENT && peer_disk > D_INCONSISTENT) || in drbd_sync_handshake() 3404 (peer_disk == D_INCONSISTENT && mydisk > D_INCONSISTENT)) { in drbd_sync_handshake() 3406 hg = mydisk > D_INCONSISTENT ? 1 : -1; in drbd_sync_handshake() 3472 if (hg > 0 && mydisk <= D_INCONSISTENT) { in drbd_sync_handshake() 4105 if (device->state.pdsk >= D_INCONSISTENT && in receive_sizes() 4106 device->state.disk >= D_INCONSISTENT) { in receive_sizes() 4145 device->state.disk < D_INCONSISTENT && in receive_uuids() 4173 } else if (device->state.disk < D_INCONSISTENT && in receive_uuids() 4186 if (device->state.conn >= C_CONNECTED && device->state.disk < D_INCONSISTENT) in receive_uuids() [all …]
|
D | drbd_worker.c | 963 ns.disk = D_INCONSISTENT; in drbd_resync_finished() 967 ns.pdsk = D_INCONSISTENT; in drbd_resync_finished() 1148 if (likely(device->state.pdsk >= D_INCONSISTENT)) { in w_e_end_rsdata_req() 1822 ns.disk = D_INCONSISTENT; in drbd_start_resync() 1824 ns.pdsk = D_INCONSISTENT; in drbd_start_resync()
|
D | drbd_int.h | 1775 if (device->state.disk > D_INCONSISTENT) in __drbd_chk_io_error_() 1776 _drbd_set_state(_NS(device, disk, D_INCONSISTENT), CS_HARD, NULL); in __drbd_chk_io_error_() 2131 #define get_ldev(_device) get_ldev_if_state(_device, D_INCONSISTENT) 2244 case D_INCONSISTENT: in drbd_state_is_stable()
|
D | drbd_req.c | 918 if (device->state.disk != D_INCONSISTENT) in drbd_may_do_local_read() 1104 (s.pdsk >= D_INCONSISTENT && in drbd_should_do_remote()
|
D | drbd_nl.c | 509 val.pdsk = D_INCONSISTENT; in conn_try_outdate_peer() 639 device->state.disk >= D_INCONSISTENT)) { in drbd_set_role() 2069 ns.disk = D_INCONSISTENT; in drbd_adm_attach() 2990 retcode = drbd_request_state(device, NS(disk, D_INCONSISTENT)); in drbd_adm_invalidate() 3069 retcode = drbd_request_state(device, NS(pdsk, D_INCONSISTENT)); in drbd_adm_invalidate_peer()
|
D | drbd_actlog.c | 426 if (device->state.disk < D_INCONSISTENT) { in al_write_transaction()
|
D | drbd_main.c | 865 uuid_flags |= device->new_state_tmp.disk == D_INCONSISTENT ? 4 : 0; in _drbd_send_uuids() 1955 if (device->state.pdsk >= D_INCONSISTENT && device->state.conn >= C_CONNECTED) { in drbd_queue_unplug()
|
/Linux-v4.19/include/linux/ |
D | drbd.h | 249 D_INCONSISTENT, enumerator
|