Lines Matching refs:disk
309 * transactions, local disk or peer. 32 bit "jiffies" are good enough,
316 /* local disk */
484 MD_DIRTY, /* current uuids and flags not yet on disk */
498 WAS_IO_ERROR, /* Local disk failed, returned IO error */
499 WAS_READ_ERROR, /* Local disk READ failed (set additionally to the above) */
500 FORCE_DETACH, /* Force-detach from local disk, aborting any pending local IO */
836 /* things that are stored as / read from meta data on disk */
842 sector_t p_size; /* partner's disk size */
854 /* Used after attach while negotiating new disk state. */
929 struct list_head active_ee; /* IO in progress (P_DATA gets written to disk) */
930 struct list_head sync_ee; /* IO in progress (P_RS_DATA_REPLY gets written to disk) */
1238 * Example: 1GB disk @ 4096 byte blocks ==> we need 32 KB bitmap.
1300 /* we have a certain meta data variant that has a fixed on-disk size of 128
1731 if (device->state.disk > D_INCONSISTENT)
1732 _drbd_set_state(_NS(device, disk, D_INCONSISTENT), CS_HARD, NULL);
1763 if (device->state.disk > D_FAILED) {
1764 _drbd_set_state(_NS(device, disk, D_FAILED), CS_HARD, NULL);
1778 * See also drbd_main.c:after_state_ch() if (os.disk > D_FAILED && ns.disk == D_FAILED)
2091 enum drbd_disk_state disk_state = device->state.disk;
2121 if (device->state.disk == D_DISKLESS)
2125 io_allowed = (device->state.disk >= mins);
2198 switch ((enum drbd_disk_state)s.disk) {
2205 /* disk state is stable as well. */
2240 /* no new io accepted when attaching or detaching the disk */