Skip to contentSkip to conversation

Add cciss_tur checker

PATCH New Hannes Reinecke 1 participant 1 message Apr 30, 2008 Device mapper

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add cciss_tur checker

The 'normal' SG_IO tur checker has some issues with cciss, so we'd better use a dedicated path checker here.

---
 libmultipath/checkers.h           |    1 +
 libmultipath/checkers/Makefile    |    1 +
 libmultipath/checkers/cciss.h     |  142 +++++++++++++++++++++++++++++++++++++
 libmultipath/checkers/cciss_tur.c |  137 +++++++++++++++++++++++++++++++++++
 4 files changed, 281 insertions(+), 0 deletions(-)
 create mode 100644 libmultipath/checkers/cciss.h
 create mode 100644 libmultipath/checkers/cciss_tur.c
libmultipath/checkers.h +1 -0
index 93337f1..4ff475d 100644
@@ -61,6 +61,7 @@
 #define RDAC         "rdac"
 #define EMC_CLARIION "emc_clariion"
 #define READSECTOR0  "readsector0"
+#define CCISS_TUR    "cciss_tur"
 
 #define DEFAULT_CHECKER DIRECTIO
 
libmultipath/checkers/Makefile +1 -0
index f37a0f9..9b517f2 100644
@@ -5,6 +5,7 @@
 include ../../Makefile.inc
 
 LIBS= \
+	libcheckcciss_tur.so \
 	libcheckreadsector0.so \
 	libchecktur.so \
 	libcheckdirectio.so \
libmultipath/checkers/cciss.h new file +142 -0

142 lines not on this page · raw message

libmultipath/checkers/cciss_tur.c new file +137 -0

137 lines not on this page · raw message

Signature · 1 line
1.5.2.4