From: Xose Vazquez Perez <xose.vazquez@gmail.com>
Cc: device-mapper development <dm-devel@redhat.com>,
Xose Vazquez Perez <xose.vazquez@gmail.com>
Subject: [PATCH 07/11] multipath-tools: move DEFAULT_PRIO DEFAULT_PRIO_ARGS and DEFAULT_CHECKER to libmultipath/defaults.h
Date: Thu, 11 Aug 2016 20:32:23 +0200 [thread overview]
Message-ID: <1470940345-4441-7-git-send-email-xose.vazquez@gmail.com> (raw)
In-Reply-To: <1470940345-4441-1-git-send-email-xose.vazquez@gmail.com>
Cc: Christophe Varoqui <christophe.varoqui@opensvc.com>
Cc: device-mapper development <dm-devel@redhat.com>
Signed-off-by: Xose Vazquez Perez <xose.vazquez@gmail.com>
---
libmultipath/checkers.h | 3 +--
libmultipath/defaults.h | 3 +++
libmultipath/prio.h | 4 +---
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/libmultipath/checkers.h b/libmultipath/checkers.h
index 502d2d9..4fb97c9 100644
--- a/libmultipath/checkers.h
+++ b/libmultipath/checkers.h
@@ -3,6 +3,7 @@
#include "list.h"
#include "memory.h"
+#include "defaults.h"
/*
*
@@ -86,8 +87,6 @@ enum path_check_state {
#define CCISS_TUR "cciss_tur"
#define RBD "rbd"
-#define DEFAULT_CHECKER TUR
-
#define ASYNC_TIMEOUT_SEC 30
/*
diff --git a/libmultipath/defaults.h b/libmultipath/defaults.h
index 3af85eb..9bf27d6 100644
--- a/libmultipath/defaults.h
+++ b/libmultipath/defaults.h
@@ -28,6 +28,9 @@
#define DEFAULT_RETRIGGER_DELAY 10
#define DEFAULT_RETRIGGER_TRIES 3
#define DEFAULT_UEV_WAIT_TIMEOUT 30
+#define DEFAULT_PRIO "const"
+#define DEFAULT_PRIO_ARGS ""
+#define DEFAULT_CHECKER TUR
#define DEFAULT_CHECKINT 5
#define MAX_CHECKINT(a) (a << 2)
diff --git a/libmultipath/prio.h b/libmultipath/prio.h
index 032028e..261105b 100644
--- a/libmultipath/prio.h
+++ b/libmultipath/prio.h
@@ -12,9 +12,7 @@ struct path;
#include "list.h"
#include "memory.h"
-
-#define DEFAULT_PRIO "const"
-#define DEFAULT_PRIO_ARGS ""
+#include "defaults.h"
/*
* Known prioritizers for use in hwtable.c
--
2.7.4
next prev parent reply other threads:[~2016-08-11 18:32 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-11 18:32 [PATCH 01/11] multipath-tools: add support for all IBM Enterprise Storage Server / Shark family Xose Vazquez Perez
2016-08-11 18:32 ` [PATCH 02/11] multipath-tools: minor edit of multipath/multipath.conf.5 Xose Vazquez Perez
2016-08-11 18:32 ` [PATCH 03/11] multipath-tools: Makefiles housekeeping Xose Vazquez Perez
2016-08-11 18:32 ` [PATCH 04/11] multipath-tools: Edward Goggin no longer works at EMC Xose Vazquez Perez
2016-08-11 18:32 ` [PATCH 05/11] multipath-tools: delete IBM/1745 ghost array Xose Vazquez Perez
2016-08-11 18:32 ` [PATCH 06/11] multipath-tools: request to update man pages if the code is changed Xose Vazquez Perez
2016-08-11 18:32 ` Xose Vazquez Perez [this message]
2016-08-11 18:32 ` [PATCH 08/11] multipath-tools: add KOVE/XPD to hwtable Xose Vazquez Perez
2016-08-11 18:32 ` [PATCH 09/11] multipath-tools: delete failback from IBM/2810XIV Xose Vazquez Perez
2016-08-16 7:50 ` [PATCH 01/11] multipath-tools: add support for all IBM Enterprise Storage Server / Shark family Christophe Varoqui
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1470940345-4441-7-git-send-email-xose.vazquez@gmail.com \
--to=xose.vazquez@gmail.com \
--cc=dm-devel@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).