Searched refs:D_DISKLESS (Results 1 – 10 of 10) sorted by relevance
303 if (device->state.disk != D_DISKLESS || in conn_all_vols_unconf()369 enum drbd_disk_state disk_state = D_DISKLESS; in conn_highest_disk()401 enum drbd_disk_state disk_state = D_DISKLESS; in conn_highest_pdsk()923 if (ns.disk > D_ATTACHING && os.disk == D_DISKLESS) in is_valid_soft_transition()947 && ns.disk != D_UP_TO_DATE && ns.disk != D_DISKLESS in is_valid_soft_transition()1021 if (ns.disk == D_FAILED && os.disk == D_DISKLESS) in is_valid_transition()1078 if (ns.conn == C_STANDALONE && ns.disk == D_DISKLESS && ns.role == R_SECONDARY) in sanitize_state()1099 ns.disk = D_DISKLESS; in sanitize_state()1114 disk_min = D_DISKLESS; in sanitize_state()1137 disk_min = D_DISKLESS; in sanitize_state()[all …]
51 [D_DISKLESS] = "Diskless",
1538 if (!odev->ldev || odev->state.disk == D_DISKLESS) in _drbd_may_sync_now()1570 if (odev->state.conn == C_STANDALONE && odev->state.disk == D_DISKLESS) in drbd_pause_after()1596 if (odev->state.conn == C_STANDALONE && odev->state.disk == D_DISKLESS) in drbd_resume_next()1646 if (!odev || !odev->ldev || odev->state.disk == D_DISKLESS) in drbd_resync_after_valid()1981 drbd_force_state(device, NS(disk, D_DISKLESS)); in go_diskless()2223 D_ASSERT(device, device->state.disk == D_DISKLESS && device->state.conn == C_STANDALONE); in drbd_worker()
263 state.disk == D_DISKLESS && in drbd_seq_show()
2133 if (disk_state == D_DISKLESS) in put_ldev()2150 if (device->state.disk == D_DISKLESS) in _get_ldev_if_state()2228 case D_DISKLESS: in drbd_state_is_stable()
1822 if (device->state.disk > D_DISKLESS) { in drbd_adm_attach()2194 drbd_force_state(device, NS(disk, D_DISKLESS)); in drbd_adm_attach()3239 if (device->state.disk == D_DISKLESS || device->state.disk == D_FAILED) in drbd_adm_resume_io()4420 if (device->state.disk == D_DISKLESS && in adm_del_minor()
151 if (op != REQ_OP_WRITE && device->state.disk == D_DISKLESS && device->ldev == NULL) in _drbd_md_sync_page_io()
4150 (device->state.conn < C_CONNECTED || device->state.pdsk == D_DISKLESS)) { in receive_sizes()4301 if ((device->state.conn < C_CONNECTED || device->state.pdsk == D_DISKLESS) && in receive_uuids()4576 peer_state.disk = D_DISKLESS; in receive_state()4577 real_peer_disk = D_DISKLESS; in receive_state()
1967 .disk = D_DISKLESS, in drbd_set_defaults()3314 if (device->state.disk != D_DISKLESS) in drbd_md_read()
232 D_DISKLESS, enumerator