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 */
766 /* things that are stored as / read from meta data on disk */
772 sector_t p_size; /* partner's disk size */
784 /* Used after attach while negotiating new disk state. */
859 struct list_head active_ee; /* IO in progress (P_DATA gets written to disk) */
860 struct list_head sync_ee; /* IO in progress (P_RS_DATA_REPLY gets written to disk) */
1173 * Example: 1GB disk @ 4096 byte blocks ==> we need 32 KB bitmap.
1235 /* we have a certain meta data variant that has a fixed on-disk size of 128
1668 if (device->state.disk > D_INCONSISTENT)
1669 _drbd_set_state(_NS(device, disk, D_INCONSISTENT), CS_HARD, NULL);
1700 if (device->state.disk > D_FAILED) {
1701 _drbd_set_state(_NS(device, disk, D_FAILED), CS_HARD, NULL);
1715 * See also drbd_main.c:after_state_ch() if (os.disk > D_FAILED && ns.disk == D_FAILED)
2021 enum drbd_disk_state disk_state = device->state.disk;
2051 if (device->state.disk == D_DISKLESS)
2055 io_allowed = (device->state.disk >= mins);
2128 switch ((enum drbd_disk_state)s.disk) {
2135 /* disk state is stable as well. */
2170 /* no new io accepted when attaching or detaching the disk */