All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH V3 01/18] multipath: default fast_io_fail to 5 seconds
@ 2013-01-12  6:04 Benjamin Marzinski
  2013-01-12  6:04 ` [PATCH V3 02/18] multipath: remove default options from built-in Benjamin Marzinski
                   ` (17 more replies)
  0 siblings, 18 replies; 21+ messages in thread
From: Benjamin Marzinski @ 2013-01-12  6:04 UTC (permalink / raw)
  To: device-mapper development; +Cc: Christophe Varoqui

This patch sets fast_io_fail to 5 seconds in the defaults section.

Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com>
---
 libmultipath/config.c   | 1 +
 libmultipath/defaults.h | 1 +
 2 files changed, 2 insertions(+)

diff --git a/libmultipath/config.c b/libmultipath/config.c
index 0a56cd1..51b4f45 100644
--- a/libmultipath/config.c
+++ b/libmultipath/config.c
@@ -516,6 +516,7 @@ load_config (char * file)
 	conf->reassign_maps = DEFAULT_REASSIGN_MAPS;
 	conf->checkint = DEFAULT_CHECKINT;
 	conf->max_checkint = MAX_CHECKINT(conf->checkint);
+	conf->fast_io_fail = DEFAULT_FAST_IO_FAIL;
 
 	/*
 	 * preload default hwtable
diff --git a/libmultipath/defaults.h b/libmultipath/defaults.h
index 74b236f..f647ee0 100644
--- a/libmultipath/defaults.h
+++ b/libmultipath/defaults.h
@@ -15,6 +15,7 @@
 #define DEFAULT_USER_FRIENDLY_NAMES    0
 #define DEFAULT_VERBOSITY	2
 #define DEFAULT_REASSIGN_MAPS	1
+#define DEFAULT_FAST_IO_FAIL	5
 
 #define DEFAULT_CHECKINT	5
 #define MAX_CHECKINT(a)		(a << 2)
-- 
1.8.0

^ permalink raw reply related	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2013-01-21  5:50 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-12  6:04 [PATCH V3 01/18] multipath: default fast_io_fail to 5 seconds Benjamin Marzinski
2013-01-12  6:04 ` [PATCH V3 02/18] multipath: remove default options from built-in Benjamin Marzinski
2013-01-12  6:04 ` [PATCH V3 03/18] multipath: change default path_selector to Benjamin Marzinski
2013-01-12  6:04 ` [PATCH V3 04/18] multipath: make devt2devname use lstat to check Benjamin Marzinski
2013-01-12  6:04 ` [PATCH V3 05/18] multipath: add support for Benjamin Marzinski
2013-01-12  6:04 ` [PATCH V3 06/18] multipath: remove duplicates from multipath Benjamin Marzinski
2013-01-12  6:04 ` [PATCH V3 07/18] multipath: add detect_prio option to autodetect Benjamin Marzinski
2013-01-12  6:04 ` [PATCH V3 08/18] multipath: update netapp config Benjamin Marzinski
2013-01-12  6:04 ` [PATCH V3 09/18] multipath: fix set_oom_adj Benjamin Marzinski
2013-01-12  6:04 ` [PATCH V3 10/18] multipath: rely on udev device creation for kpartx Benjamin Marzinski
2013-01-12  6:04 ` [PATCH V3 11/18] multipath: update documentation Benjamin Marzinski
2013-01-12  6:04 ` [PATCH V3 12/18] multipath: make multipathd work with new dm/lvm Benjamin Marzinski
2013-01-12  6:04 ` [PATCH V3 13/18] multipath: make reservation_key print out correctly Benjamin Marzinski
2013-01-21  5:50   ` Chauhan, Vijay
2013-01-12  6:04 ` [PATCH V3 14/18] multipath: storagetek 6180 config Benjamin Marzinski
2013-01-12  6:04 ` [PATCH V3 15/18] multipath: Fix kpartx and udevd race Benjamin Marzinski
2013-01-12  6:04 ` [PATCH V3 16/18] multipath: Check blacklists as soon as possible Benjamin Marzinski
2013-01-12  6:04 ` [PATCH V3 17/18] multipath: check for NULL from udev_device_get_* Benjamin Marzinski
2013-01-12  6:04 ` [PATCH V3 18/18] multipath: make path devices readonly again Benjamin Marzinski
2013-01-12 13:16 ` [PATCH V3 01/18] multipath: default fast_io_fail to 5 seconds Christophe Varoqui
2013-01-14  7:03   ` Hannes Reinecke

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.