Lines Matching refs:disk
236 * transactions, local disk or peer. 32 bit "jiffies" are good enough,
243 /* local disk */
416 MD_DIRTY, /* current uuids and flags not yet on disk */
430 WAS_IO_ERROR, /* Local disk failed, returned IO error */
431 WAS_READ_ERROR, /* Local disk READ failed (set additionally to the above) */
432 FORCE_DETACH, /* Force-detach from local disk, aborting any pending local IO */
768 /* things that are stored as / read from meta data on disk */
774 sector_t p_size; /* partner's disk size */
786 /* Used after attach while negotiating new disk state. */
861 struct list_head active_ee; /* IO in progress (P_DATA gets written to disk) */
862 struct list_head sync_ee; /* IO in progress (P_RS_DATA_REPLY gets written to disk) */
1175 * Example: 1GB disk @ 4096 byte blocks ==> we need 32 KB bitmap.
1237 /* we have a certain meta data variant that has a fixed on-disk size of 128
1670 if (device->state.disk > D_INCONSISTENT)
1671 _drbd_set_state(_NS(device, disk, D_INCONSISTENT), CS_HARD, NULL);
1702 if (device->state.disk > D_FAILED) {
1703 _drbd_set_state(_NS(device, disk, D_FAILED), CS_HARD, NULL);
1717 * See also drbd_main.c:after_state_ch() if (os.disk > D_FAILED && ns.disk == D_FAILED)
2023 enum drbd_disk_state disk_state = device->state.disk;
2053 if (device->state.disk == D_DISKLESS)
2057 io_allowed = (device->state.disk >= mins);
2130 switch ((enum drbd_disk_state)s.disk) {
2137 /* disk state is stable as well. */
2172 /* no new io accepted when attaching or detaching the disk */