Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
dm-service-time.c File Reference
#include "dm.h"
#include "dm-path-selector.h"
#include <linux/slab.h>
#include <linux/module.h>

Go to the source code of this file.

Data Structures

struct  selector
 
struct  path_info
 

Macros

#define DM_MSG_PREFIX   "multipath service-time"
 
#define ST_MIN_IO   1
 
#define ST_MAX_RELATIVE_THROUGHPUT   100
 
#define ST_MAX_RELATIVE_THROUGHPUT_SHIFT   7
 
#define ST_MAX_INFLIGHT_SIZE   ((size_t)-1 >> ST_MAX_RELATIVE_THROUGHPUT_SHIFT)
 
#define ST_VERSION   "0.2.0"
 

Functions

 module_init (dm_st_init)
 
 module_exit (dm_st_exit)
 
 MODULE_DESCRIPTION (DM_NAME" throughput oriented path selector")
 
 MODULE_AUTHOR ("Kiyoshi Ueda <k[email protected]>")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define DM_MSG_PREFIX   "multipath service-time"

Definition at line 17 of file dm-service-time.c.

#define ST_MAX_INFLIGHT_SIZE   ((size_t)-1 >> ST_MAX_RELATIVE_THROUGHPUT_SHIFT)

Definition at line 21 of file dm-service-time.c.

#define ST_MAX_RELATIVE_THROUGHPUT   100

Definition at line 19 of file dm-service-time.c.

#define ST_MAX_RELATIVE_THROUGHPUT_SHIFT   7

Definition at line 20 of file dm-service-time.c.

#define ST_MIN_IO   1

Definition at line 18 of file dm-service-time.c.

#define ST_VERSION   "0.2.0"

Definition at line 22 of file dm-service-time.c.

Function Documentation

MODULE_AUTHOR ( "Kiyoshi Ueda <k[email protected]>"  )
MODULE_DESCRIPTION ( DM_NAME" throughput oriented path selector )
module_exit ( dm_st_exit  )
module_init ( dm_st_init  )
MODULE_LICENSE ( "GPL"  )