From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christophe Varoqui Subject: Re: [PATCH V3 01/18] multipath: default fast_io_fail to 5 seconds Date: Sat, 12 Jan 2013 14:16:50 +0100 Message-ID: <1357996610.4263.17.camel@lapoo.opensvc.com> References: <1357970695-3396-1-git-send-email-bmarzins@redhat.com> Reply-To: christophe.varoqui@opensvc.com, device-mapper development Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1357970695-3396-1-git-send-email-bmarzins@redhat.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: Benjamin Marzinski Cc: device-mapper development , Christophe Varoqui List-Id: dm-devel.ids On sam., 2013-01-12 at 00:04 -0600, Benjamin Marzinski wrote: > This patch sets fast_io_fail to 5 seconds in the defaults section. > Merged 1-18. Thanks. I also imported the log_thread_flush() and log_reset() missing functions from Hannes tree. Which makes the tree buildable again. Best regards, Christophe Varoqui www.opensvc.com > Signed-off-by: Benjamin Marzinski > --- > 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)