Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Functions
dm-mpath.c File Reference
#include <linux/device-mapper.h>
#include "dm-path-selector.h"
#include "dm-uevent.h"
#include <linux/ctype.h>
#include <linux/init.h>
#include <linux/mempool.h>
#include <linux/module.h>
#include <linux/pagemap.h>
#include <linux/slab.h>
#include <linux/time.h>
#include <linux/workqueue.h>
#include <linux/delay.h>
#include <scsi/scsi_dh.h>
#include <linux/atomic.h>

Go to the source code of this file.

Data Structures

struct  pgpath
 
struct  priority_group
 
struct  multipath
 
struct  dm_mpath_io
 

Macros

#define DM_MSG_PREFIX   "multipath"
 
#define DM_PG_INIT_DELAY_MSECS   2000
 
#define DM_PG_INIT_DELAY_DEFAULT   ((unsigned) -1)
 
#define path_to_pgpath(__pgp)   container_of((__pgp), struct pgpath, path)
 
#define MIN_IOS   256 /* Mempool size */
 

Typedefs

typedef int(* action_fn )(struct pgpath *pgpath)
 

Functions

 module_init (dm_multipath_init)
 
 module_exit (dm_multipath_exit)
 
 MODULE_DESCRIPTION (DM_NAME" multipath target")
 
 MODULE_AUTHOR ("Sistina Software <[email protected]>")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define DM_MSG_PREFIX   "multipath"

Definition at line 25 of file dm-mpath.c.

#define DM_PG_INIT_DELAY_DEFAULT   ((unsigned) -1)

Definition at line 27 of file dm-mpath.c.

#define DM_PG_INIT_DELAY_MSECS   2000

Definition at line 26 of file dm-mpath.c.

#define MIN_IOS   256 /* Mempool size */

Definition at line 119 of file dm-mpath.c.

#define path_to_pgpath (   __pgp)    container_of((__pgp), struct pgpath, path)

Definition at line 41 of file dm-mpath.c.

Typedef Documentation

typedef int(* action_fn)(struct pgpath *pgpath)

Definition at line 117 of file dm-mpath.c.

Function Documentation

MODULE_AUTHOR ( "Sistina Software <[email protected]>"  )
MODULE_DESCRIPTION ( DM_NAME" multipath target )
module_exit ( dm_multipath_exit  )
module_init ( dm_multipath_init  )
MODULE_LICENSE ( "GPL"  )