[dm-devel] [PATCH] multipath-tools: add support for all arrays from Sun StorEdge 3000 family

2017-08-10 Thread Xose Vazquez Perez
They were made by Dot Hill. Cc: Christophe Varoqui <christophe.varo...@opensvc.com> Cc: device-mapper development <dm-devel@redhat.com> Signed-off-by: Xose Vazquez Perez <xose.vazq...@gmail.com> --- libmultipath/hwtable.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deleti

[dm-devel] [PATCH] multipath-tools: remove Sun StorEdge T4(6020, 6120, 6320) arrays from hwtable

2017-08-09 Thread Xose Vazquez Perez
varo...@opensvc.com> Cc: device-mapper development <dm-devel@redhat.com> Signed-off-by: Xose Vazquez Perez <xose.vazq...@gmail.com> --- libmultipath/hwtable.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libmultipath/hwtable.c b/libmultipath/hwtab

Re: [dm-devel] [PATCH] libmultipath: update 3PARdata builtin config

2017-08-05 Thread Xose Vazquez Perez
Christophe Varoqui wrote: > (And version bumped to 0.7.2) untagged: https://git.opensvc.com/gitweb.cgi?p=multipath-tools/.git;a=tags -- dm-devel mailing list dm-devel@redhat.com https://www.redhat.com/mailman/listinfo/dm-devel

[dm-devel] [PATCH] multipath-tools: fix format in multipath.conf.5

2017-08-04 Thread Xose Vazquez Perez
multipath/multipath.conf.5:408: warning: can't find font `,' Cc: Christophe Varoqui <christophe.varo...@opensvc.com> Cc: device-mapper development <dm-devel@redhat.com> Signed-off-by: Xose Vazquez Perez <xose.vazq...@gmail.com> --- multipath/multipath.conf.5 | 2 +- 1 file ch

Re: [dm-devel] [PATCH] multipath-tools: beautify path_latency.c code

2017-08-04 Thread Xose Vazquez Perez
On 06/22/2017 06:46 PM, Xose Vazquez Perez wrote: > Mainly running scripts/Lindent, from kernel dir, to replace indent spaces > by tabs. Patch missing in last merge. > Cc: Yang Feng <philip.y...@huawei.com> > Cc: Christophe Varoqui <christophe.varo...@opensvc.com

Re: [dm-devel] [PATCH v2] libmultipath: update 3PARdata builtin config

2017-08-04 Thread Xose Vazquez Perez
On 07/31/2017 01:38 PM, Xose Vazquez Perez wrote: > From: Benjamin Marzinski <bmarz...@redhat.com>> > This updated config comes from hp. > > Here I what I got from HP: > Patch missing in last merge. > > > We will be changing the recommendatio

Re: [dm-devel] [PATCH] libmultipath: update 3PARdata builtin config

2017-07-31 Thread Xose Vazquez Perez
On 07/29/2017 12:37 AM, Benjamin Marzinski wrote: > Here I what I got from HP: > > We will be changing the recommendation in the next version of the 3PAR > Implementation Guide. I am the owner for these guides. > > The reason we want the dev_loss_tmo "infinity" is to help in a feature >

[dm-devel] [PATCH v2] libmultipath: update 3PARdata builtin config

2017-07-31 Thread Xose Vazquez Perez
ristophe Varoqui <christophe.varo...@opensvc.com> Cc: device-mapper development <dm-devel@redhat.com> Signed-off-by: Benjamin Marzinski <bmarz...@redhat.com> Signed-off-by: Xose Vazquez Perez <xose.vazq...@gmail.com> --- libmultipath/hwtable.c | 2 ++ 1 file changed, 2 insertions(+

[dm-devel] [PATCH] multipath-tools: add/change fujitsu arrays

2017-07-21 Thread Xose Vazquez Perez
E[234]000 are a/a asymmetric with alua support E[68]000 are a/a symmetric Cc: Christophe Varoqui <christophe.varo...@opensvc.com> Cc: device-mapper development <dm-devel@redhat.com> Signed-off-by: Xose Vazquez Perez <xose.vazq...@gmail.com> --- libmultipath/hwtable.c |

Re: [dm-devel] [PATCH] libmultipath: update 3PARdata builtin config

2017-07-13 Thread Xose Vazquez Perez
On 06/29/2017 04:57 PM, Benjamin Marzinski wrote: >>> + .fast_io_fail = 10, >>> + .dev_loss = MAX_DEV_LOSS_TMO, > On Wed, Jun 28, 2017 at 07:48:38PM +0200, Xose Vazquez Perez wrote: > >> It would be nice to have more information. >>

Re: [dm-devel] [PATCH 0/2] multipath-tools/libmultipath: Support for the native NVMe Ioctl command and add args min_avg_latency for path_latency.

2017-07-13 Thread Xose Vazquez Perez
On 07/13/2017 09:51 AM, Yang Feng wrote: > [...] >In the checkers, delete the file tur.c and create the new file ping.c: > ping.c can support the native NVMe Keep Alive Ioctl command to the nvme > device, and can support the SG TUR Ioctl command to the scsi device. > [...] > delete mode

[dm-devel] [PATCH] multipath-tools: add HPE MSA 2050/2052 to hwtable

2017-07-08 Thread Xose Vazquez Perez
Cc: Christophe Varoqui <christophe.varo...@opensvc.com> Cc: device-mapper development <dm-devel@redhat.com> Signed-off-by: Xose Vazquez Perez <xose.vazq...@gmail.com> --- libmultipath/hwtable.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libmul

Re: [dm-devel] [PATCH] libmultipath: update 3PARdata builtin config

2017-06-28 Thread Xose Vazquez Perez
On 06/26/2017 09:03 PM, Benjamin Marzinski wrote: > This updated config comes from hp. It would be nice to have more information. Why and when is this needed? BTW: HPE 'MSA 205x' and 'StoreVirtual 3200'(LeftHand) are missing. > Signed-off-by: Benjamin Marzinski > --- >

[dm-devel] [PATCH] multipath-tools: delete libdmmp/docs/man directory in make clean

2017-06-25 Thread Xose Vazquez Perez
CC: Gris Ge <f...@redhat.com> Cc: Christophe Varoqui <christophe.varo...@opensvc.com> Cc: device-mapper development <dm-devel@redhat.com> Signed-off-by: Xose Vazquez Perez <xose.vazq...@gmail.com> --- libdmmp/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(

[dm-devel] [PATCH] multipath-tools: move up TEMPLATE in hwtable

2017-06-23 Thread Xose Vazquez Perez
and the 'MD Series' comment to the right place. Cc: Christophe Varoqui <christophe.varo...@opensvc.com> Cc: device-mapper development <dm-devel@redhat.com> Signed-off-by: Xose Vazquez Perez <xose.vazq...@gmail.com> --- libmultip

Re: [dm-devel] [PATCH v4 09/11] libmultipath: retain_attached_hw_handler obsolete with 4.3+

2017-06-23 Thread Xose Vazquez Perez
On 06/22/2017 04:59 PM, Martin Wilck wrote: > Kernels 4.3 and newer (commit 1bab0de0 "dm-mpath, scsi_dh: don't > let dm detach device handlers") imply "retain_attached_hw_handler yes". > > Clarify this in the propsel code, log messages, and documentation. > > Signed-off-by: Martin Wilck

Re: [dm-devel] [PATCH] multipath-tools: beautify path_latency.c code

2017-06-23 Thread Xose Vazquez Perez
On 06/22/2017 06:59 PM, Bart Van Assche wrote: > Why do you think this kind of changes is useful? Are you aware that > whitespace-only changes are very annoying to anyone else who is preparing > changes on the same file because such changes result in a huge number of > annoying rebase conflicts?

[dm-devel] [PATCH] multipath-tools: beautify path_latency.c code

2017-06-22 Thread Xose Vazquez Perez
Mainly running scripts/Lindent, from kernel dir, to replace indent spaces by tabs. Cc: Yang Feng <philip.y...@huawei.com> Cc: Christophe Varoqui <christophe.varo...@opensvc.com> Cc: device-mapper development <dm-devel@redhat.com> Signed-off-by: Xose Vazquez Perez <x

[dm-devel] [PATCH] multipath-tools: sync third-party headers with 3.13 upstream

2017-06-21 Thread Xose Vazquez Perez
Cc: Bart Van Assche <bart.vanass...@sandisk.com> Cc: Christophe Varoqui <christophe.varo...@opensvc.com> Cc: device-mapper development <dm-devel@redhat.com> Signed-off-by: Xose Vazquez Perez <xose.vazq...@gmail.com> --- third-party/valgrind/drd.h | 2 +- third-p

Re: [dm-devel] [PATCH] multipath-tools: replace 64bit archs macros by __LP64__

2017-06-11 Thread Xose Vazquez Perez
On 05/19/2017 05:31 AM, Bart Van Assche wrote: > On Fri, 2017-05-19 at 03:38 +0200, Xose Vazquez Perez wrote: >> Rationale: https://gcc.gnu.org/onlinedocs/cpp/Common-Predefined-Macros.html >> >> __LP64__ >> _LP64 >> These macros are defined, with value 1,

Re: [dm-devel] [PATCH v3 1/1] multipath-tools: Prioritizer based on a latency algorithm

2017-06-06 Thread Xose Vazquez Perez
On 06/05/2017 04:43 AM, Yang Feng wrote: > diff --git a/libmultipath/prioritizers/path_latency.c > b/libmultipath/prioritizers/path_latency.c > new file mode 100644 > index 000..081f546 > --- /dev/null > +++ b/libmultipath/prioritizers/path_latency.c > @@ -0,0 +1,272 @@ > +/* > + * (C)

[dm-devel] [PATCH] multipath-tools: fix a format warning in multipathd.8

2017-05-26 Thread Xose Vazquez Perez
warning: macro `list' not defined Cc: Christophe Varoqui <christophe.varo...@opensvc.com> Cc: device-mapper development <dm-devel@redhat.com> Signed-off-by: Xose Vazquez Perez <xose.vazq...@gmail.com> --- multipathd/multipathd.8 | 3 +-- 1 file changed, 1 insertion(+), 2 deleti

[dm-devel] [PATCH] multipath-tools: replace hidden tabs by spaces in .vendor

2017-05-20 Thread Xose Vazquez Perez
Cc: Christophe Varoqui <christophe.varo...@opensvc.com> Cc: device-mapper development <dm-devel@redhat.com> Signed-off-by: Xose Vazquez Perez <xose.vazq...@gmail.com> --- libmultipath/hwtable.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libmul

[dm-devel] [PATCH] multipath-tools: replace 64bit archs macros by __LP64__

2017-05-18 Thread Xose Vazquez Perez
aro...@opensvc.com> Cc: device-mapper development <dm-devel@redhat.com> Signed-off-by: Xose Vazquez Perez <xose.vazq...@gmail.com> --- kpartx/lopart.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/kpartx/lopart.c b/kpartx/lopart.c index 4e6dab4..3c16eb0 100644 ---

Re: [dm-devel] [PATCH] multipath-tools: Replace multipath configuration output

2017-05-17 Thread Xose Vazquez Perez
On 04/18/2017 02:07 AM, Xose Vazquez Perez wrote: > Cc: Christophe Varoqui <christophe.varo...@opensvc.com> > Cc: device-mapper development <dm-devel@redhat.com> > Signed-off-by: Xose Vazquez Perez <xose.vazq...@gmail.com> This is missing. > --- > libmultipa

[dm-devel] [PATCH] multipath-tools: add limits.h to kpartx/lopart.c

2017-05-17 Thread Xose Vazquez Perez
musl libc complains of lopart.c:76:12: error: ‘PATH_MAX’ undeclared (first use in this function) Cc: Martin Wilck <mwi...@suse.com> Cc: Christophe Varoqui <christophe.varo...@opensvc.com> Cc: device-mapper development <dm-devel@redhat.com> Signed-off-by: Xose Vazquez Perez <x

[dm-devel] [PATCH] multipath-tools: document uid_attribute for NVME devices

2017-05-11 Thread Xose Vazquez Perez
Cc: Christophe Varoqui <christophe.varo...@opensvc.com> Cc: device-mapper development <dm-devel@redhat.com> Signed-off-by: Xose Vazquez Perez <xose.vazq...@gmail.com> --- multipath/multipath.conf.5 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/multipath/

Re: [dm-devel] [PATCH 4/5] kpartx: default to running in sync mode

2017-05-10 Thread Xose Vazquez Perez
On 04/25/2017 12:39 AM, Benjamin Marzinski wrote: > When users run kpartx, they would naturally assume that when it > completes, the devices have been created. However, kpartx runs in async > mode by default. This seems like it is likely to trip up users. So, > switch the default to sync mode,

Re: [dm-devel] [PATCH] multipath-tools:Prioritizer based on a time-delay algorithm

2017-05-10 Thread Xose Vazquez Perez
On 05/08/2017 05:58 AM, Yang Feng wrote: > Prioritizer for device mapper multipath, where the corresponding priority > values of specific paths are provided by a time-delay algorithm. And the > time-delay algorithm is dependent on the following arguments(delay_interval, > cons_num). This new

Re: [dm-devel] [BUG] multipath-tools: missing internal values (multipath -t)

2017-05-06 Thread Xose Vazquez Perez
On 04/27/2017 09:10 AM, Christophe Varoqui wrote: > The config outputed should be usable, so a comment could be printed for the > keywords you suggest printing as the default for. > > Example: > > # no_path_retry > > or simply > > # no_path_retry Undefined

Re: [dm-devel] [PATCH 1/2] multipath: Merge the DELL MD3xxx device configs

2017-05-06 Thread Xose Vazquez Perez
N, can be consolidated: grep -B7 -A2 "PRIO_RDAC" libmultipath/hwtable.c BTW, I did send time ago a kernel patch related to RDAC arrays and it's still waiting for ACK: https://marc.info/?l=linux-scsi=147585935707470 > Cc: Xose Vazquez Perez <xose.vazq...@gmail.com> > Signed-off-b

[dm-devel] [BUG] multipath-tools: redefined devices, with regex, in multipath.conf appear twice

2017-04-25 Thread Xose Vazquez Perez
Hi, Redefined devices, with a regex in product/vendor, in multipath.conf appear twice in multipath config. Place attached multipath.conf in /etc, and run multipath -t. For NETAPP/LUN it works OK. Only one is displayed. But "^DGC"/"^(RAID|DISK|VRAID)" appears twice. Thank you. devices {

[dm-devel] [BUG] multipath-tools: missing internal values (multipath -t)

2017-04-25 Thread Xose Vazquez Perez
Hi, These values: no_path_retry dev_loss_tmo reservation_key partition_delimite delay_watch_checks delay_wait_checks are missing from the "defaults section" of multipath -t output. -- dm-devel mailing list dm-devel@redhat.com https://www.redhat.com/mailman/listinfo/dm-devel

Re: [dm-devel] [PATCH 10/10] set retrigger_tries to 0 for multipath

2017-04-25 Thread Xose Vazquez Perez
On 12/06/2016 04:22 PM, Benjamin Marzinski wrote: > On Tue, Dec 06, 2016 at 04:11:42PM +0100, Xose Vazquez Perez wrote: >> On 10/29/2016 04:55 AM, Benjamin Marzinski wrote: >> >>> Multipathd uses retrigger_tries to give udev more chances to to fill in >>> th

Re: [dm-devel] [PATCH 3/3] Add options to multipathd to turn off queueing

2017-04-25 Thread Xose Vazquez Perez
On 03/12/2009 07:38 PM, Benjamin Marzinski wrote: Old patch. > Even when the last path of a multipath device is deleted, it can't be > removed until all the queued IO is flushed. For devices that have > no_path_retry set to queue, this doesn't automatically happen. > > This patch

[dm-devel] [PATCH] multipath-tools: Replace multipath configuration output

2017-04-17 Thread Xose Vazquez Perez
Cc: Christophe Varoqui <christophe.varo...@opensvc.com> Cc: device-mapper development <dm-devel@redhat.com> Signed-off-by: Xose Vazquez Perez <xose.vazq...@gmail.com> --- libmultipath/propsel.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libmul

Re: [dm-devel] [PATCH] multipath-tools: replace multipath configuration output

2017-04-13 Thread Xose Vazquez Perez
On 04/12/2017 09:35 AM, Christophe Varoqui wrote: > Merged, No, it's missing. > On Sat, Apr 8, 2017 at 3:30 PM, Xose Vazquez Perez <xose.vazq...@gmail.com > <mailto:xose.vazq...@gmail.com>> wrote: > > Cc: Christophe Varoqui <christophe.varo...@opensvc.

[dm-devel] [PATCH] multipath-tools: replace multipath configuration output

2017-04-08 Thread Xose Vazquez Perez
Cc: Christophe Varoqui <christophe.varo...@opensvc.com> Cc: device-mapper development <dm-devel@redhat.com> Signed-off-by: Xose Vazquez Perez <xose.vazq...@gmail.com> --- libmultipath/propsel.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/libm

[dm-devel] [PATCH] multipath-tools: amend text from multipath/multipath.conf.5

2017-03-28 Thread Xose Vazquez Perez
Cc: Christophe Varoqui <christophe.varo...@opensvc.com> Cc: device-mapper development <dm-devel@redhat.com> Signed-off-by: Xose Vazquez Perez <xose.vazq...@gmail.com> --- multipath/multipath.conf.5 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/multip

[dm-devel] multipath-tools (patch): Do not select sysfs prioritizer for RDAC arrays (was Re: [PATCH 00/33] multipath-tools fixes from SUSE)

2017-03-23 Thread Xose Vazquez Perez
On 03/01/2017 09:12 AM, Martin Wilck wrote: > On Tue, 2017-02-28 at 23:44 +0100, Xose Vazquez Perez wrote: >> >> There is a recent one missing: >> --- >> Subject: libmultipath/propsel: Do not select sysfs prioritizer for >> RDAC arrays > > Well observed :-

Re: [dm-devel] [PATCH] multipath-tools: arrange compilation options for binaries

2017-03-23 Thread Xose Vazquez Perez
On 03/23/2017 10:09 AM, Christophe Varoqui wrote: > And reverted: > hh > From http://eli.thegreenplace.net/2013/07/09/library-order-in-static-linking: > > If object or library AA needs a symbol from library BB, then AA should > come /before/ library BB in the command-line invocation of

Re: [dm-devel] [PATCH 00/33] multipath-tools fixes from SUSE

2017-03-22 Thread Xose Vazquez Perez
On 02/28/2017 05:22 PM, Martin Wilck wrote: > As announced previously, here comes a collection of multipath-tools patches > that SUSE is using for SLES12 SP2. >From this bundle, only 19 of them were merged. 14 are missing, or ...pending? -- dm-devel mailing list dm-devel@redhat.com

[dm-devel] [PATCH] multipath-tools: arrange compilation options for shared libs/objects

2017-03-18 Thread Xose Vazquez Perez
Cc: Christophe Varoqui <christophe.varo...@opensvc.com> Cc: device-mapper development <dm-devel@redhat.com> Signed-off-by: Xose Vazquez Perez <xose.vazq...@gmail.com> --- libdmmp/Makefile | 2 +- libmpathcmd/Makefile | 2 +- libmpathpersist/Make

[dm-devel] [PATCH] multipath-tools: arrange compilation options for binaries

2017-03-17 Thread Xose Vazquez Perez
Cc: Christophe Varoqui <christophe.varo...@opensvc.com> Cc: device-mapper development <dm-devel@redhat.com> Signed-off-by: Xose Vazquez Perez <xose.vazq...@gmail.com> --- kpartx/Makefile | 2 +- mpathpersist/Makefile | 2 +- multipath/Makefile| 2 +- multipathd/Ma

[dm-devel] [PATCH] multipath-tools: build objects for libdmmp and libmpathpersist independently

2017-03-17 Thread Xose Vazquez Perez
nction-declaration -Werror=format-security -Wno-sign-compare -Wno-unused-parameter -Wno-clobbered -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -DLIB_STRING=\"lib64\" -DRUN_DIR=\"run\" -fvisibility=hidden -I../libdmmp -I../libmpathcmd

[dm-devel] [PATCH] multipath-tools: add missing "-l" flag for pthread in libdmmp/Makefile

2017-03-17 Thread Xose Vazquez Perez
Cc: Gris Ge <f...@redhat.com> Cc: Christophe Varoqui <christophe.varo...@opensvc.com> Cc: device-mapper development <dm-devel@redhat.com> Signed-off-by: Xose Vazquez Perez <xose.vazq...@gmail.com> --- libdmmp/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(

[dm-devel] [PATCH] multipath-tools: Remove trailing whitespaces

2017-03-16 Thread Xose Vazquez Perez
Cc: Christophe Varoqui <christophe.varo...@opensvc.com> Cc: device-mapper development <dm-devel@redhat.com> Signed-off-by: Xose Vazquez Perez <xose.vazq...@gmail.com> --- libdmmp/docs/kernel-doc| 2 +- libmultipath/uevent.c | 12 ++-- multipath/multipath.conf.

[dm-devel] [PATCH] multipath-tools: clean up libdmmp/Makefile

2017-03-13 Thread Xose Vazquez Perez
Replace LDFLAGS with LIBDEPS, build libdmmp shared library without CFLAGS Cc: Gris Ge <f...@redhat.com> Cc: Christophe Varoqui <christophe.varo...@opensvc.com> Cc: device-mapper development <dm-devel@redhat.com> Signed-off-by: Xose Vazquez Perez <xose.vazq...@gmail.com> --

[dm-devel] multipath-tools: Fixes/features for upstream

2017-02-22 Thread Xose Vazquez Perez
On 12/07/2016 11:48 PM, Xose Vazquez Perez wrote: > On 12/02/2016 04:52 AM, Benjamin Marzinski wrote: > >> I don't really see the need for this change. But we wouldn't be pulling >> it in until the next major RHEL release [...] > > BTW, do you(SUSE/RH) have any distr

Re: [dm-devel] [PATCHv2] Fill NVMe specific path info

2017-02-21 Thread Xose Vazquez Perez
On 02/21/2017 11:12 PM, Keith Busch wrote: multipath-tools project does not use Patchwork. CC: Christophe Varoqui > Signed-off-by: Keith Busch > --- > v1->v2: > Removed explicitly setting the wwid path information. We get that with > through exported udev attributes.

[dm-devel] [PATCH v2] multipath-tools: add availability of service-time and queue-length to multipath.conf.5

2017-02-21 Thread Xose Vazquez Perez
https://kernelnewbies.org/Linux_2_6_31#head-7a4afa809f53cf9a2df884c745f4f8150e24645a Cc: Christophe Varoqui <christophe.varo...@opensvc.com> Cc: device-mapper development <dm-devel@redhat.com> Signed-off-by: Xose Vazquez Perez <xose.vazq...@gmail.com> --- v2 - remove XXX t

[dm-devel] [PATCH] multipath-tools: sync valgrind.h with 3.12 upstream

2017-02-20 Thread Xose Vazquez Perez
Cc: Bart Van Assche <bart.vanass...@sandisk.com> Cc: Christophe Varoqui <christophe.varo...@opensvc.com> Cc: device-mapper development <dm-devel@redhat.com> Signed-off-by: Xose Vazquez Perez <xose.vazq...@gmail.com> --- third-party/

[dm-devel] [PATCH] multipath-tools: fix misspellings

2017-02-16 Thread Xose Vazquez Perez
debuging->debugging Cc: Christophe Varoqui <christophe.varo...@opensvc.com> Cc: device-mapper development <dm-devel@redhat.com> Signed-off-by: Xose Vazquez Perez <xose.vazq...@gmail.com> --- multipathd/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) di

[dm-devel] [PATCH] multipath-tools: git should ignore rej and orig files

2017-02-16 Thread Xose Vazquez Perez
Cc: Christophe Varoqui <christophe.varo...@opensvc.com> Cc: device-mapper development <dm-devel@redhat.com> Signed-off-by: Xose Vazquez Perez <xose.vazq...@gmail.com> --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index aee4e

[dm-devel] multipath-tools: Standardization of no_path_retry

2017-02-12 Thread Xose Vazquez Perez
Hi, There are plenty of arbitrary values: 1 .no_path_retry = 5, 1 .no_path_retry = 6, 3 .no_path_retry = 10, 8 .no_path_retry = 12, 2 .no_path_retry = 15, 6

Re: [dm-devel] [PATCH] multipath-tools: Remove trailing and leading whitespaces

2017-02-10 Thread Xose Vazquez Perez
On 02/10/2017 03:21 PM, Xose Vazquez Perez wrote: > On 02/10/2017 02:49 PM, Christophe Varoqui wrote: > >> Applied. >> Thanks. > > BTW, some patches from Anthony Ryan are missing: > https://marc.info/?l=dm-devel=148362960727218 > https://marc.info/?l=dm-deve

Re: [dm-devel] [PATCH] multipath-tools: Remove trailing and leading whitespaces

2017-02-10 Thread Xose Vazquez Perez
On 02/10/2017 02:49 PM, Christophe Varoqui wrote: > Applied. > Thanks. BTW, some patches from Anthony Ryan are missing: https://marc.info/?l=dm-devel=148362960727218 https://marc.info/?l=dm-devel=148352341629223 -- dm-devel mailing list dm-devel@redhat.com

[dm-devel] [PATCH] multipath-tools: Remove trailing and leading whitespaces

2017-02-10 Thread Xose Vazquez Perez
Cc: Christophe Varoqui <christophe.varo...@opensvc.com> Cc: device-mapper development <dm-devel@redhat.com> Signed-off-by: Xose Vazquez Perez <xose.vazq...@gmail.com> --- kpartx/kpartx_id | 6 +++--- libmultipath/dict.c| 18 libmultipath/

Re: [dm-devel] [PATCH] multipath-tools: remove old multipath/{01_udev, 02_multipath} scripts

2016-12-15 Thread Xose Vazquez Perez
On 11/05/2016 12:48 AM, Xose Vazquez Perez wrote: > Irrelevant nowadays. You can delete these two files safely. They are pretty old, unmaintained and unused by distributions. > Cc: Christophe Varoqui <christophe.varo...@opensvc.com> > Cc: device-mapper development <dm-devel@re

[dm-devel] [PATCH] multipath-tools: add .skip_kpartx and .max_sectors_kb to template in hwtable

2016-12-08 Thread Xose Vazquez Perez
Cc: Benjamin Marzinski <bmarz...@redhat.com> Cc: Christophe Varoqui <christophe.varo...@opensvc.com> Cc: device-mapper development <dm-devel@redhat.com> Signed-off-by: Xose Vazquez Perez <xose.vazq...@gmail.com> --- libmultipath/hwtable.c | 2 ++ 1 file changed, 2 i

Re: [dm-devel] [PATCH] multipath-tools: replace multipath configuration output

2016-12-07 Thread Xose Vazquez Perez
On 12/02/2016 04:52 AM, Benjamin Marzinski wrote: > I don't really see the need for this change. But we wouldn't be pulling > it in until the next major RHEL release [...] BTW, do you(SUSE/RH) have any distro fixes/features pending for upstream? -- dm-devel mailing list dm-devel@redhat.com

Re: [dm-devel] [PATCH 3/3] multipathd: Add 'sysfs' prioritizer

2016-12-07 Thread Xose Vazquez Perez
On 11/09/2016 07:49 AM, Hannes Reinecke wrote: > On 11/08/2016 07:52 PM, Xose Vazquez Perez wrote: >> On 07/15/2016 08:48 AM, Hannes Reinecke wrote: >> >>> Recent kernels have an 'access_state' attribute which allows >>> us to read the asymmetric access state dir

Re: [dm-devel] [PATCH] multipath-tools: replace multipath configuration output

2016-12-07 Thread Xose Vazquez Perez
old habits. I really don't care the marker name, "setting:" "conf:" ... But a standard one should be used. > On Thu, 2016-11-24 at 23:44 +0100, Xose Vazquez Perez wrote: >> sysfs setting -> setting: kernel sysfs >> >> detected setting

Re: [dm-devel] [PATCH 10/10] set retrigger_tries to 0 for multipath

2016-12-06 Thread Xose Vazquez Perez
On 10/29/2016 04:55 AM, Benjamin Marzinski wrote: > Multipathd uses retrigger_tries to give udev more chances to to fill in > the uid_attribute, so that the path device is correctly set up in the > udev database. However the multipath command can't do this, so it should > just immediately give up

Re: [dm-devel] [PATCH] multipath-tools: add CFLAGS to compilation options for prioritizers and checkers

2016-12-06 Thread Xose Vazquez Perez
On 11/27/2016 12:00 AM, Bart Van Assche wrote: > On 11/26/16 14:26, Xose Vazquez Perez wrote: >> Is there anything else missing or leftover? >> $ git grep "(CC)" >> Makefile.inc: $(CC) $(CFLAGS) -c -o $@ $< >> kpartx/Makefile:$(CC) $(CFLAGS) $(O

[dm-devel] [PATCH 0/2] multipath-tools: Add security hardening build flags

2016-12-05 Thread Xose Vazquez Perez
Xose Vazquez Perez (2): multipath-tools: Replace -fstack-protector with -fstack-protector-strong multipath-tools: Add -Werror compilation flags Makefile.inc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) Cc: Christophe Varoqui <christophe.varo...@opensvc.com> Cc: device-

[dm-devel] [PATCH 2/2] multipath-tools: Add -Werror compilation flags

2016-12-05 Thread Xose Vazquez Perez
://fedoraproject.org/wiki/Changes/FormatSecurity https://fedoraproject.org/wiki/Format-Security-FAQ https://fedoraproject.org/wiki/Changes/Fedora26CFlags Cc: Christophe Varoqui <christophe.varo...@opensvc.com> Cc: device-mapper development <dm-devel@redhat.com> Signed-off-by: Xose Vazqu

[dm-devel] [PATCH 1/2] multipath-tools: Replace -fstack-protector with -fstack-protector-strong

2016-12-05 Thread Xose Vazquez Perez
/fesco/issue/1128 Cc: Christophe Varoqui <christophe.varo...@opensvc.com> Cc: device-mapper development <dm-devel@redhat.com> Signed-off-by: Xose Vazquez Perez <xose.vazq...@gmail.com> --- Makefile.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.

Re: [dm-devel] [PATCH] multipath-tools: add CFLAGS to compilation options for prioritizers and checkers

2016-12-05 Thread Xose Vazquez Perez
On 11/26/2016 11:26 PM, Xose Vazquez Perez wrote: > Is there anything else missing or leftover? Please, drop this patch. Thank you. > $ git grep "(CC)" > Makefile.inc: $(CC) $(CFLAGS) -c -o $@ $< > kpartx/Makefile:$(CC) $(CFLAGS) $(OBJS) -o $(EXEC

[dm-devel] [PATCH] multipath-tools: replace "Default value" with "The default" in multipath/multipath.conf.5

2016-11-27 Thread Xose Vazquez Perez
Cc: Christophe Varoqui <christophe.varo...@opensvc.com> Cc: device-mapper development <dm-devel@redhat.com> Signed-off-by: Xose Vazquez Perez <xose.vazq...@gmail.com> --- multipath/multipath.conf.5 | 100 ++--- 1 file changed, 50 insertion

[dm-devel] [PATCH] multipath-tools: add CFLAGS to compilation options for prioritizers and checkers

2016-11-26 Thread Xose Vazquez Perez
GS) $(LIBDEPS) multipathd/Makefile:$(CC) $(CFLAGS) $(OBJS) $(LDFLAGS) -o $(EXEC) $(LIBDEPS) Cc: Christophe Varoqui <christophe.varo...@opensvc.com> Cc: device-mapper development <dm-devel@redhat.com> Signed-off-by: Xose Vazquez Perez <xose.vazq...@gmail.com> --- libmult

[dm-devel] [PATCH] multipath-tools: fix misspellings

2016-11-25 Thread Xose Vazquez Perez
m> Cc: device-mapper development <dm-devel@redhat.com> Signed-off-by: Xose Vazquez Perez <xose.vazq...@gmail.com> --- kpartx/dasd.c | 2 +- libmpathpersist/mpath_persist.h | 2 +- libmultipath/checkers/directio.c | 2 +- libmultipath/discovery.c | 2 +- libmul

[dm-devel] [PATCH] multipath-tools: replace multipath configuration output

2016-11-24 Thread Xose Vazquez Perez
t;christophe.varo...@opensvc.com> Cc: device-mapper development <dm-devel@redhat.com> Signed-off-by: Xose Vazquez Perez <xose.vazq...@gmail.com> --- libmultipath/propsel.c | 66 +- 1 file changed, 33 insertions(+), 33 deletions(-)

[dm-devel] [PATCH] multipath-tools: identify DataCore SANsymphony in hwtable

2016-11-22 Thread Xose Vazquez Perez
Cc: Christophe Varoqui <christophe.varo...@opensvc.com> Cc: device-mapper development <dm-devel@redhat.com> Signed-off-by: Xose Vazquez Perez <xose.vazq...@gmail.com> --- libmultipath/hwtable.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libmultipath/hwtable.c b/libm

[dm-devel] [PATCH] multipath-tools: convert Promise/VTrak to ALUA

2016-11-21 Thread Xose Vazquez Perez
It's also supported. Cc: Christophe Varoqui <christophe.varo...@opensvc.com> Cc: device-mapper development <dm-devel@redhat.com> Signed-off-by: Xose Vazquez Perez <xose.vazq...@gmail.com> --- libmultipath/hwtable.c | 5 - 1 file changed, 4 insertions(+), 1 delet

[dm-devel] [PATCH] multipath-tools: add Promise/Vess to hwtable

2016-11-21 Thread Xose Vazquez Perez
Cc: Christophe Varoqui <christophe.varo...@opensvc.com> Cc: device-mapper development <dm-devel@redhat.com> Signed-off-by: Xose Vazquez Perez <xose.vazq...@gmail.com> --- libmultipath/hwtable.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/libmultipath/hwtabl

[dm-devel] [PATCH] multipath-tools: remove NO_PATH_RETRY_FAIL from hwtable

2016-11-21 Thread Xose Vazquez Perez
It's the default value. Cc: Christophe Varoqui <christophe.varo...@opensvc.com> Cc: device-mapper development <dm-devel@redhat.com> Signed-off-by: Xose Vazquez Perez <xose.vazq...@gmail.com> --- libmultipath/hwtable.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libmul

[dm-devel] [PATCH] multipath-tools: enable exec bit for kpartx/kpartx_id script

2016-11-20 Thread Xose Vazquez Perez
Cc: Christophe Varoqui <christophe.varo...@opensvc.com> Cc: device-mapper development <dm-devel@redhat.com> Signed-off-by: Xose Vazquez Perez <xose.vazq...@gmail.com> --- kpartx/kpartx_id | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 k

[dm-devel] [PATCH] multipath-tools: update bl info for nvme in multipath.conf.5

2016-11-16 Thread Xose Vazquez Perez
Cc: Christophe Varoqui <christophe.varo...@opensvc.com> Cc: device-mapper development <dm-devel@redhat.com> Signed-off-by: Xose Vazquez Perez <xose.vazq...@gmail.com> --- multipath/multipath.conf.5 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/multipath/

[dm-devel] [PATCH] multipath-tools: merge nvme in similar blacklist regex

2016-11-16 Thread Xose Vazquez Perez
Similar patterns, /dev/nvme[0-9] . Cc: Christophe Varoqui <christophe.varo...@opensvc.com> Cc: device-mapper development <dm-devel@redhat.com> Signed-off-by: Xose Vazquez Perez <xose.vazq...@gmail.com> --- libmultipath/blacklist.c | 8 +--- 1 file changed, 1 inserti

[dm-devel] [PATCH] multipath-tools: document exclusive_pref_bit for sysfs

2016-11-10 Thread Xose Vazquez Perez
Cc: Christophe Varoqui <christophe.varo...@opensvc.com> Cc: device-mapper development <dm-devel@redhat.com> Signed-off-by: Xose Vazquez Perez <xose.vazq...@gmail.com> --- multipath/multipath.conf.5 | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/multipat

[dm-devel] [PATCH] scsi_devinfo: remove synchronous ALUA for NETAPP/RDAC devices

2016-11-08 Thread Xose Vazquez Perez
inecke <h...@suse.de> Cc: Christophe Varoqui <christophe.varo...@opensvc.com> Cc: James E.J. Bottomley <j...@linux.vnet.ibm.com> Cc: Martin K. Petersen <martin.peter...@oracle.com> Cc: SCSI ML <linux-s...@vger.kernel.org> Cc: device-mapper development <dm-devel@redhat.com&g

Re: [dm-devel] [PATCH 3/3] multipathd: Add 'sysfs' prioritizer

2016-11-08 Thread Xose Vazquez Perez
On 07/15/2016 08:48 AM, Hannes Reinecke wrote: > Recent kernels have an 'access_state' attribute which allows > us to read the asymmetric access state directly from sysfs. Hi Hannes, with this patch it's impossible to select/autodetect ALUA. sysfs always takes precedence over alua.

[dm-devel] no_path_retry: NO_PATH_RETRY_FAIL vs NO_PATH_RETRY_UNDEF

2016-11-07 Thread Xose Vazquez Perez
Hi, NO_PATH_RETRY_UNDEF is 0 no_path_retrySpecify what to do when all paths are down. Possible values are: value > 0 number of retries until disable I/O queueing. failfor immediate failure (no I/O queueing). queue

Re: [dm-devel] [PATCH 09/10] add disable_changed_wwids option

2016-11-05 Thread Xose Vazquez Perez
On 10/29/2016 04:55 AM, Benjamin Marzinski wrote: > If a LUN on a storage device gets remapped while in-use by multipath, > it's possible that the multipath device will continue writing to this > new LUN, causing corruption. This is not multipath's fault (users > should go remapping in-use

[dm-devel] [PATCH] multipath-tools: Remove trailing whitespace

2016-11-05 Thread Xose Vazquez Perez
Cc: Christophe Varoqui <christophe.varo...@opensvc.com> Cc: device-mapper development <dm-devel@redhat.com> Signed-off-by: Xose Vazquez Perez <xose.vazq...@gmail.com> --- multipath/multipath.conf.5 | 2 +- multipathd/main.c | 2 +- 2 files changed, 2 insertions(+), 2

[dm-devel] [PATCH] multipath-tools: fix indent and replace spaces with tab

2016-11-05 Thread Xose Vazquez Perez
Cc: Christophe Varoqui <christophe.varo...@opensvc.com> Cc: device-mapper development <dm-devel@redhat.com> Signed-off-by: Xose Vazquez Perez <xose.vazq...@gmail.com> --- libmultipath/checkers.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libmult

[dm-devel] [PATCH] multipath-tools: clean up and organize libmpathpersist/mpath_persistent_reserve_{out, in}.3

2016-11-01 Thread Xose Vazquez Perez
Cc: Christophe Varoqui <christophe.varo...@opensvc.com> Cc: device-mapper development <dm-devel@redhat.com> Signed-off-by: Xose Vazquez Perez <xose.vazq...@gmail.com> --- libmpathpersist/mpath_persistent_reserve_in.3 | 172 - libmpathpersist/mpath_persis

[dm-devel] [PATCH] multipath-tools: clean up and organize multipathd/multipathd.8

2016-10-30 Thread Xose Vazquez Perez
Cc: Christophe Varoqui <christophe.varo...@opensvc.com> Cc: device-mapper development <dm-devel@redhat.com> Signed-off-by: Xose Vazquez Perez <xose.vazq...@gmail.com> --- multipathd/multipathd.8 | 271 1 file changed, 180

[dm-devel] [PATCH] multipath-tools: alua: add prefix with device name for asymmetric access state and reported target port group messages

2016-10-27 Thread Xose Vazquez Perez
cke <h...@suse.de> Cc: Christophe Varoqui <christophe.varo...@opensvc.com> Cc: device-mapper development <dm-devel@redhat.com> Signed-off-by: Xose Vazquez Perez <xose.vazq...@gmail.com> --- libmultipath/prioritizers/alua.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions

[dm-devel] [PATCH] multipath-tools: clean up and organize multipath/multipath.8

2016-10-27 Thread Xose Vazquez Perez
Cc: Christophe Varoqui <christophe.varo...@opensvc.com> Cc: device-mapper development <dm-devel@redhat.com> Signed-off-by: Xose Vazquez Perez <xose.vazq...@gmail.com> --- multipath/multipath.8 | 159 ++ 1 file changed, 109

[dm-devel] [PATCH] multipath-tools: alua: replace output for reserved return codes

2016-10-26 Thread Xose Vazquez Perez
t;dm-devel@redhat.com> Signed-off-by: Xose Vazquez Perez <xose.vazq...@gmail.com> --- libmultipath/prioritizers/alua.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmultipath/prioritizers/alua.c b/libmultipath/prioritizers/alua.c index 5636974..cfbf7df 100644 --- a/li

[dm-devel] [PATCH] multipath-tools: add SUN ZFS Storage Appliances to hwtable

2016-10-26 Thread Xose Vazquez Perez
Cc: Christophe Varoqui <christophe.varo...@opensvc.com> Cc: device-mapper development <dm-devel@redhat.com> Signed-off-by: Xose Vazquez Perez <xose.vazq...@gmail.com> --- libmultipath/hwtable.c | 9 + 1 file changed, 9 insertions(+) diff --git a/libmultipath/hwtabl

[dm-devel] [PATCH] multipath-tools: add StorageTek BladeStore to hwtable

2016-10-25 Thread Xose Vazquez Perez
Cc: Christophe Varoqui <christophe.varo...@opensvc.com> Cc: device-mapper development <dm-devel@redhat.com> Signed-off-by: Xose Vazquez Perez <xose.vazq...@gmail.com> --- libmultipath/hwtable.c | 13 + 1 file changed, 13 insertions(+) diff --git a/libmul

[dm-devel] [PATCH] multipath-tools: identify STK/SUN array

2016-10-25 Thread Xose Vazquez Perez
FlexLine FLX380 was renamed to StorageTek 6540 Cc: Christophe Varoqui <christophe.varo...@opensvc.com> Cc: device-mapper development <dm-devel@redhat.com> Signed-off-by: Xose Vazquez Perez <xose.vazq...@gmail.com> --- libmultipath/hwtable.c | 1 + 1 file changed, 1 insert

Re: [dm-devel] [PATCH] multipath-tools: add support all STK OPENstorage rdac arrays

2016-10-25 Thread Xose Vazquez Perez
On 10/25/2016 02:57 PM, Xose Vazquez Perez wrote: > 9176, D173, D178, D210, D220, D240 and D280. Please, drop this one. v2 with comments. Thank you. > Cc: Christophe Varoqui <christophe.varo...@opensvc.com> > Cc: device-mapper development <dm-devel@redhat.com> > Sig

[dm-devel] [PATCH] multipath-tools: identify SUN/T4 as 6020 and 6120

2016-10-24 Thread Xose Vazquez Perez
Cc: Christophe Varoqui <christophe.varo...@opensvc.com> Cc: device-mapper development <dm-devel@redhat.com> Signed-off-by: Xose Vazquez Perez <xose.vazq...@gmail.com> --- libmultipath/hwtable.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libmultipath/hwtable.c b/libm

[dm-devel] [PATCH] multipath-tools: identify more arrays in hwtable

2016-10-23 Thread Xose Vazquez Perez
Cc: Christophe Varoqui <christophe.varo...@opensvc.com> Cc: device-mapper development <dm-devel@redhat.com> Signed-off-by: Xose Vazquez Perez <xose.vazq...@gmail.com> --- libmultipath/hwtable.c | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) diff --

[dm-devel] [PATCH] multipath-tools: convert kpartx/lopart.c to UTF-8 to fix Arkadiusz's name

2016-10-23 Thread Xose Vazquez Perez
Cc: Arkadiusz Miśkiewicz <ar...@maven.pl> Cc: Arkadiusz Miśkiewicz <mis...@pld.org.pl> Cc: Christophe Varoqui <christophe.varo...@opensvc.com> Cc: device-mapper development <dm-devel@redhat.com> Signed-off-by: Xose Vazquez Perez <xose.vazq...@gmail.com> --- kpartx/l

Re: [dm-devel] [PATCH] scsi: update rdac devices at scsi_dh_rdac

2016-10-22 Thread Xose Vazquez Perez
Sean has to confirm this. It already was done, all changes are already included in multipath-tools. See below. > On 10/18/2016 10:11 AM, Xose Vazquez Perez wrote: >> On 10/07/2016 06:55 PM, Xose Vazquez Perez wrote: >> >> This patch is pending, ACK is needed! >> The part

<    1   2   3   4   5   6   7   >