chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] extras multipath update
[elogind.git]
/
extras
/
multipath
/
main.h
diff --git
a/extras/multipath/main.h
b/extras/multipath/main.h
index a1de1d8d2d0a2627c26a4561efdf1870082249d1..0c5620ff74c0acc01c8fc1dc69df90180f2d8c94 100644
(file)
--- a/
extras/multipath/main.h
+++ b/
extras/multipath/main.h
@@
-46,12
+46,7
@@
#define TUR_CMD_LEN 6
#define MX_ALLOC_LEN 255
#define BLKGETSIZE _IO(0x12,96)
#define TUR_CMD_LEN 6
#define MX_ALLOC_LEN 255
#define BLKGETSIZE _IO(0x12,96)
-#define DM_TARGET "striped"
-/*
#define DM_TARGET "multipath"
#define DM_TARGET "multipath"
-#define DM_POLL_INTERVAL 10
-#define DM_PATH_SELECTOR "latency"
-*/
#define PINDEX(x,y) mp[(x)].pindex[(y)]
#define PINDEX(x,y) mp[(x)].pindex[(y)]
@@
-104,14
+99,16
@@
struct env {
int quiet;
int dry_run;
int with_sysfs;
int quiet;
int dry_run;
int with_sysfs;
+ int dm_path_test_int;
char sysfs_path[FILE_NAME_SIZE];
char sysfs_path[FILE_NAME_SIZE];
+ char hotplugdev[FILE_NAME_SIZE];
};
/* Build version */
#define PROG "multipath"
};
/* Build version */
#define PROG "multipath"
-#define VERSION_CODE 0x0000
09
-#define DATE_CODE 0x0C
0
503
+#define VERSION_CODE 0x0000
10
+#define DATE_CODE 0x0C
1
503
#define MULTIPATH_VERSION(version) \
(version >> 16) & 0xFF, \
#define MULTIPATH_VERSION(version) \
(version >> 16) & 0xFF, \