| /linux/drivers/block/drbd/ |
| H A D | Kconfig | 3 # DRBD device driver configuration 6 comment "DRBD disabled because PROC_FS or INET not selected" 10 tristate "DRBD Distributed Replicated Block Device support" 19 DRBD is a shared-nothing, synchronously replicated block device. It 31 DRBD can also be used in dual-Primary mode (device writable on both 34 DRBD utilizing a cluster file system is necessary to maintain for 38 See also: https://www.drbd.org/, http://www.linux-ha.org 43 bool "DRBD fault injection" 47 Say Y here if you want to simulate IO errors, in order to test DRBD's 51 /sys/module/drbd/parameters/ [all …]
|
| H A D | Makefile | 2 drbd-y := drbd_buildtag.o drbd_bitmap.o drbd_proc.o 3 drbd-y += drbd_worker.o drbd_receiver.o drbd_req.o drbd_actlog.o 4 drbd-y += drbd_main.o drbd_strings.o drbd_nl.o 5 drbd-y += drbd_interval.o drbd_state.o 6 drbd-y += drbd_nla.o 7 drbd-$(CONFIG_DEBUG_FS) += drbd_debugfs.o 9 obj-$(CONFIG_BLK_DEV_DRBD) += drbd.o
|
| H A D | drbd_polymorph_printk.h | 18 #define __drbd_printk_drbd_device_fmt(fmt) "drbd %s/%u drbd%u: " fmt 28 "drbd %s/%u drbd%u: " fmt 35 #define __drbd_printk_drbd_resource_fmt(fmt) "drbd %s: " fmt 43 "drbd %s: " fmt
|
| H A D | drbd_strings.c | 3 drbd.h 5 This file is part of DRBD by Philipp Reisner and Lars Ellenberg. 14 #include <linux/drbd.h>
|
| H A D | drbd_protocol.h | 58 /* 0x2e to 0x30 reserved, used in drbd 9 */ 73 /* 0x35 already claimed in DRBD 9 */ 76 /* 0x40 .. 0x48 already claimed in DRBD 9 */ 332 /* One incoming bio becomes one DRBD request, 347 * more specifics. If the backend cannot do discards, the DRBD peer 361 u16 queue_order_type; /* not yet implemented in DRBD*/
|
| H A D | drbd_main.c | 3 drbd.c 5 This file is part of DRBD by Philipp Reisner and Lars Ellenberg. 21 #include <linux/drbd.h> 59 MODULE_DESCRIPTION("drbd - Distributed Replicated Block Device v" REL_VERSION); 62 MODULE_PARM_DESC(minor_count, "Approximate number of drbd devices (" 68 * these become boot parameters (e.g., drbd.minor_count) */ 93 int drbd_proc_details; /* Detail level in proc drbd*/ 151 * @connection: DRBD connection. 152 * @barrier_nr: Expected identifier of the DRBD write barrier packet. 241 * @connection: DRBD connection to operate on. [all …]
|
| H A D | drbd_req.h | 5 This file is part of DRBD by Philipp Reisner and Lars Ellenberg. 19 #include <linux/drbd.h> 31 * There are quite a few things that may happen to a drbd request
|
| H A D | drbd_actlog.c | 5 This file is part of DRBD by Philipp Reisner and Lars Ellenberg. 16 #include <linux/drbd.h> 48 /* maximum slot number, "al-extents" in drbd.conf speak. 584 * @device: DRBD device. 957 * @device: DRBD device. 1009 * @peer_device: DRBD device. 1177 * @device: DRBD device. 1195 * @device: DRBD device.
|
| H A D | drbd_buildtag.c | 7 /* DRBD built from external sources has here a reference to the in drbd_buildtag()
|
| H A D | drbd_bitmap.c | 5 This file is part of DRBD by Philipp Reisner and Lars Ellenberg. 18 #include <linux/drbd.h> 247 * @device: DRBD device. 392 * GFP_NOIO, as this is called while drbd IO is "suspended", in bm_realloc_pages() 1215 * @device: DRBD device. 1226 * @device: DRBD device. 1238 * @device: DRBD device. 1250 * @device: DRBD device. 1260 * @device: DRBD device. 1277 * @device: DRBD device.
|
| H A D | drbd_state.h | 9 * DOC: DRBD State macros 149 * @device: DRBD device.
|
| H A D | drbd_state.c | 5 This file is part of DRBD by Philipp Reisner and Lars Ellenberg. 463 * @device: DRBD device. 506 * @device: DRBD device. 554 * @device: DRBD device. 640 * @device: DRBD device. 819 * @device: DRBD device. 905 * This function limits state transitions that may be declined by DRBD. I.e. 909 * @connection: DRBD connection. 1008 * imposed on DRBD by the environment. E.g. disk broke or network broke down. 1044 * @device: DRBD device. [all …]
|
| H A D | drbd_req.c | 5 This file is part of DRBD by Philipp Reisner and Lars Ellenberg. 17 #include <linux/drbd.h> 1061 /* TODO: improve read balancing decisions, take into account drbd in do_remote_read() 1101 /* returns number of connections (== 1, for drbd 8.4) 1114 * which is better mapped to a DRBD P_BARRIER packet, in drbd_process_write_request() 1115 * also for drbd wire protocol compatibility reasons. in drbd_process_write_request() 1363 * they are mapped to drbd barriers already. */ in drbd_send_and_submit() 1653 …"We did not send a P_BARRIER for %ums > ko-count (%u) * timeout (%u * 0.1s); drbd kernel thread bl… in net_timeout_reached() 1668 * completed to upper layers, DRBD should still "feel" responsive. in net_timeout_reached()
|
| H A D | drbd_int.h | 5 This file is part of DRBD by Philipp Reisner and Lars Ellenberg. 36 #include <linux/drbd.h> 233 /* for DRBD internal statistics */ 237 * we don't expect a DRBD request to be stalled for several month. 390 * (not some resync or verify or other DRBD internal request) */ 575 * pending, from drbd worker context. 677 struct drbd_request *req_next; /* DRBD 9: todo.req_next */ 1130 * Which will require some more changes to the DRBD "super block" 1674 * @device: DRBD device. 1972 * @_device: DRBD device.
|
| H A D | drbd_proc.c | 5 This file is part of DRBD by Philipp Reisner and Lars Ellenberg. 21 #include <linux/drbd.h>
|
| H A D | drbd_receiver.c | 5 This file is part of DRBD by Philipp Reisner and Lars Ellenberg. 19 #include <linux/drbd.h> 73 /* GFP_TRY, because we must not cause arbitrary write-out: in a DRBD in __drbd_alloc_pages() 74 * "criss-cross" setup, that might cause write-out on some other DRBD, in __drbd_alloc_pages() 94 * @peer_device: DRBD device. 100 * Possibly retry until DRBD frees sufficient pages somewhere else. 448 * able to use lo: interfaces for drbd. in drbd_try_connect() 1167 * @connection: DRBD connection. 1489 * Plain bio_alloc is good enough here, this is no DRBD internally in drbd_submit_peer_request() 1495 * should have been mapped to a "drbd protocol barrier". in drbd_submit_peer_request() [all …]
|
| H A D | drbd_worker.c | 5 This file is part of DRBD by Philipp Reisner and Lars Ellenberg. 15 #include <linux/drbd.h> 200 …panic("drbd%u %s/%u potential random memory corruption caused by delayed completion of aborted loc… in drbd_panic_after_delayed_completion_of_aborted_request() 1543 * @device: DRBD device. 1569 * @device: DRBD device. 1714 * @device: DRBD device.
|
| /linux/include/linux/ |
| H A D | drbd.h | 3 drbd.h 6 This file is part of DRBD by Philipp Reisner and Lars Ellenberg. 135 ERR_INTEGRITY_ALG = 141, /* DRBD 8.2 only */ 136 ERR_INTEGRITY_ALG_ND = 142, /* DRBD 8.2 only */ 137 ERR_CPU_MASK_PARSE = 143, /* DRBD 8.2 only */ 138 ERR_CSUMS_ALG = 144, /* DRBD 8.2 only */ 139 ERR_CSUMS_ALG_ND = 145, /* DRBD 8.2 only */ 140 ERR_VERIFY_ALG = 146, /* DRBD 8.2 only */ 141 ERR_VERIFY_ALG_ND = 147, /* DRBD 8.2 only */ 142 ERR_CSUMS_RESYNC_RUNNING= 148, /* DRBD 8.2 only */ [all …]
|
| H A D | drbd_genl_api.h | 6 * struct drbd_genlmsghdr - DRBD specific header used in NETLINK_GENERIC requests 49 #include <linux/drbd.h> 51 #define GENL_MAGIC_FAMILY drbd
|
| H A D | drbd_config.h | 4 * DRBD's compile time configuration.
|
| H A D | drbd_limits.h | 4 This file is part of DRBD by Philipp Reisner and Lars Ellenberg. 223 * This is to tell DRBD to not even try. */
|
| H A D | lru_cache.h | 5 This file is part of DRBD by Philipp Reisner and Lars Ellenberg. 137 * DRBD currently (May 2009) only uses 61 elements on the resync lru_cache
|
| /linux/Documentation/admin-guide/blockdev/drbd/ |
| H A D | figures.rst | 8 .. kernel-figure:: DRBD-8.3-data-packets.svg 9 :alt: DRBD-8.3-data-packets.svg 12 .. kernel-figure:: DRBD-data-packets.svg 13 :alt: DRBD-data-packets.svg 17 Sub graphs of DRBD's state transitions
|
| H A D | data-structure-v9.rst | 2 kernel data structure for DRBD-9 5 This describes the in kernel data structure for DRBD-9. Starting with 6 Linux v3.14 we are reorganizing DRBD to use this data structure. 11 A node has a number of DRBD resources. Each such resource has a number of 12 devices (aka volumes) and connections to other nodes ("peer nodes"). Each DRBD 15 The DRBD objects are interconnected to form a matrix as depicted below; a
|
| H A D | index.rst | 2 Distributed Replicated Block Device - DRBD 8 DRBD is a shared-nothing, synchronously replicated block device. It 13 Please visit https://www.drbd.org to find out more.
|