Linux Kernel
3.7.1
|
#include <scsi/scsi.h>
#include <scsi/scsi_eh.h>
#include <scsi/scsi_dh.h>
#include <linux/workqueue.h>
#include <linux/slab.h>
#include <linux/module.h>
Go to the source code of this file.
Data Structures | |
struct | rdac_mode_6_hdr |
struct | rdac_mode_10_hdr |
struct | rdac_mode_common |
struct | rdac_pg_legacy |
struct | rdac_pg_expanded |
struct | c9_inquiry |
struct | c4_inquiry |
struct | c8_inquiry |
struct | rdac_controller |
struct | c2_inquiry |
struct | rdac_dh_data |
struct | rdac_queue_data |
Macros | |
#define | RDAC_NAME "rdac" |
#define | RDAC_RETRY_COUNT 5 |
#define | RDAC_QUIESCENCE_TIME 20 |
#define | RDAC_PAGE_CODE_REDUNDANT_CONTROLLER 0x2c |
#define | RDAC_MODE_TRANSFER_SPECIFIED_LUNS 0x02 |
#define | RDAC_FORCED_QUIESENCE 0x02 |
#define | RDAC_TIMEOUT (60 * HZ) |
#define | RDAC_RETRIES 3 |
#define | MODE6_MAX_LUN 32 |
#define | SUBSYS_ID_LEN 16 |
#define | SLOT_ID_LEN 2 |
#define | ARRAY_LABEL_LEN 31 |
#define | UNIQUE_ID_LEN 16 |
#define | UNINITIALIZED_LUN (1 << 8) |
#define | RDAC_MODE 0 |
#define | RDAC_MODE_AVT 1 |
#define | RDAC_MODE_IOSHIP 2 |
#define | RDAC_STATE_ACTIVE 0 |
#define | RDAC_STATE_PASSIVE 1 |
#define | RDAC_LUN_UNOWNED 0 |
#define | RDAC_LUN_OWNED 1 |
#define | RDAC_PREFERRED 0 |
#define | RDAC_NON_PREFERRED 1 |
#define | RDAC_LOG_FAILOVER 0 |
#define | RDAC_LOG_SENSE 2 |
#define | RDAC_LOG_BITS 2 |
#define | RDAC_LOG_LEVEL(SHIFT) ((rdac_logging >> (SHIFT)) & ((1 << (RDAC_LOG_BITS)) - 1)) |
#define | RDAC_LOG(SHIFT, sdev, f, arg...) |
Functions | |
module_param (rdac_logging, int, S_IRUGO|S_IWUSR) | |
MODULE_PARM_DESC (rdac_logging,"A bit mask of rdac logging levels, ""Default is 1 - failover logging enabled, ""set it to 0xF to enable all the logs") | |
module_init (rdac_init) | |
module_exit (rdac_exit) | |
MODULE_DESCRIPTION ("Multipath LSI/Engenio/NetApp E-Series RDAC driver") | |
MODULE_AUTHOR ("Mike Christie, Chandra Seetharaman") | |
MODULE_VERSION ("01.00.0000.0000") | |
MODULE_LICENSE ("GPL") | |
#define ARRAY_LABEL_LEN 31 |
Definition at line 118 of file scsi_dh_rdac.c.
#define MODE6_MAX_LUN 32 |
Definition at line 87 of file scsi_dh_rdac.c.
#define RDAC_FORCED_QUIESENCE 0x02 |
Definition at line 53 of file scsi_dh_rdac.c.
Definition at line 256 of file scsi_dh_rdac.c.
#define RDAC_LOG_BITS 2 |
Definition at line 251 of file scsi_dh_rdac.c.
#define RDAC_LOG_FAILOVER 0 |
Definition at line 248 of file scsi_dh_rdac.c.
#define RDAC_LOG_LEVEL | ( | SHIFT | ) | ((rdac_logging >> (SHIFT)) & ((1 << (RDAC_LOG_BITS)) - 1)) |
Definition at line 253 of file scsi_dh_rdac.c.
#define RDAC_LOG_SENSE 2 |
Definition at line 249 of file scsi_dh_rdac.c.
#define RDAC_LUN_OWNED 1 |
Definition at line 198 of file scsi_dh_rdac.c.
#define RDAC_LUN_UNOWNED 0 |
Definition at line 197 of file scsi_dh_rdac.c.
#define RDAC_MODE 0 |
Definition at line 188 of file scsi_dh_rdac.c.
#define RDAC_MODE_AVT 1 |
Definition at line 189 of file scsi_dh_rdac.c.
#define RDAC_MODE_IOSHIP 2 |
Definition at line 190 of file scsi_dh_rdac.c.
#define RDAC_MODE_TRANSFER_SPECIFIED_LUNS 0x02 |
Definition at line 48 of file scsi_dh_rdac.c.
#define RDAC_NAME "rdac" |
Definition at line 29 of file scsi_dh_rdac.c.
#define RDAC_NON_PREFERRED 1 |
Definition at line 202 of file scsi_dh_rdac.c.
#define RDAC_PAGE_CODE_REDUNDANT_CONTROLLER 0x2c |
Definition at line 43 of file scsi_dh_rdac.c.
#define RDAC_PREFERRED 0 |
Definition at line 201 of file scsi_dh_rdac.c.
#define RDAC_QUIESCENCE_TIME 20 |
Definition at line 39 of file scsi_dh_rdac.c.
#define RDAC_RETRIES 3 |
Definition at line 56 of file scsi_dh_rdac.c.
#define RDAC_RETRY_COUNT 5 |
Definition at line 30 of file scsi_dh_rdac.c.
#define RDAC_STATE_ACTIVE 0 |
Definition at line 193 of file scsi_dh_rdac.c.
#define RDAC_STATE_PASSIVE 1 |
Definition at line 194 of file scsi_dh_rdac.c.
#define RDAC_TIMEOUT (60 * HZ) |
Definition at line 55 of file scsi_dh_rdac.c.
#define SLOT_ID_LEN 2 |
Definition at line 117 of file scsi_dh_rdac.c.
#define SUBSYS_ID_LEN 16 |
Definition at line 116 of file scsi_dh_rdac.c.
#define UNINITIALIZED_LUN (1 << 8) |
Definition at line 185 of file scsi_dh_rdac.c.
#define UNIQUE_ID_LEN 16 |
Definition at line 132 of file scsi_dh_rdac.c.
MODULE_AUTHOR | ( | "Mike | Christie, |
Chandra Seetharaman" | |||
) |
module_exit | ( | rdac_exit | ) |
module_init | ( | rdac_init | ) |
MODULE_LICENSE | ( | "GPL" | ) |
MODULE_PARM_DESC | ( | rdac_logging | , |
"A bit mask of rdac logging | levels, | ||
""Default is 1-failover logging | enabled, | ||
""set it to 0xF to enable all the logs" | |||
) |
MODULE_VERSION | ( | "01.00.0000.0000" | ) |