Searched refs:D_INCONSISTENT (Results 1 – 10 of 10) sorted by relevance
/linux-6.1.9/drivers/block/drbd/ |
D | drbd_state.c | 860 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 …]
|
D | drbd_strings.c | 55 [D_INCONSISTENT] = "Inconsistent",
|
D | drbd_receiver.c | 2672 if (device->state.pdsk < D_INCONSISTENT) { in receive_Data() 3478 if ((mydisk == D_INCONSISTENT && peer_disk > D_INCONSISTENT) || in drbd_sync_handshake() 3479 (peer_disk == D_INCONSISTENT && mydisk > D_INCONSISTENT)) { in drbd_sync_handshake() 3481 hg = mydisk > D_INCONSISTENT ? 1 : -1; in drbd_sync_handshake() 3548 if (hg > 0 && mydisk <= D_INCONSISTENT) { in drbd_sync_handshake() 4203 if (device->state.pdsk >= D_INCONSISTENT && in receive_sizes() 4204 device->state.disk >= D_INCONSISTENT) { in receive_sizes() 4241 device->state.disk < D_INCONSISTENT && in receive_uuids() 4269 } else if (device->state.disk < D_INCONSISTENT && in receive_uuids() 4282 if (device->state.conn >= C_CONNECTED && device->state.disk < D_INCONSISTENT) in receive_uuids() [all …]
|
D | drbd_worker.c | 946 ns.disk = D_INCONSISTENT; in drbd_resync_finished() 950 ns.pdsk = D_INCONSISTENT; in drbd_resync_finished() 1131 if (likely(device->state.pdsk >= D_INCONSISTENT)) { in w_e_end_rsdata_req() 1809 ns.disk = D_INCONSISTENT; in drbd_start_resync() 1811 ns.pdsk = D_INCONSISTENT; in drbd_start_resync()
|
D | drbd_int.h | 1723 if (device->state.disk > D_INCONSISTENT) in __drbd_chk_io_error_() 1724 _drbd_set_state(_NS(device, disk, D_INCONSISTENT), CS_HARD, NULL); in __drbd_chk_io_error_() 2078 #define get_ldev(_device) get_ldev_if_state(_device, D_INCONSISTENT) 2191 case D_INCONSISTENT: in drbd_state_is_stable()
|
D | drbd_req.c | 898 if (device->state.disk != D_INCONSISTENT) in drbd_may_do_local_read() 1082 (s.pdsk >= D_INCONSISTENT && in drbd_should_do_remote()
|
D | drbd_nl.c | 525 val.pdsk = D_INCONSISTENT; in conn_try_outdate_peer() 655 device->state.disk >= D_INCONSISTENT)) { in drbd_set_role() 2046 ns.disk = D_INCONSISTENT; in drbd_adm_attach() 2959 retcode = drbd_request_state(device, NS(disk, D_INCONSISTENT)); in drbd_adm_invalidate() 3038 retcode = drbd_request_state(device, NS(pdsk, D_INCONSISTENT)); in drbd_adm_invalidate_peer()
|
D | drbd_actlog.c | 414 if (device->state.disk < D_INCONSISTENT) { in al_write_transaction()
|
D | drbd_main.c | 845 uuid_flags |= device->new_state_tmp.disk == D_INCONSISTENT ? 4 : 0; in _drbd_send_uuids() 1915 if (device->state.pdsk >= D_INCONSISTENT && device->state.conn >= C_CONNECTED) { in drbd_queue_unplug()
|
/linux-6.1.9/include/linux/ |
D | drbd.h | 237 D_INCONSISTENT, enumerator
|