[dm-devel] [PATCH 1/2] multipath-tools: replace static and define default values for config options

2016-10-25 Thread zhou . guichun
From: Xose Vazquez Perez Replace "const" by PRIO_CONST. Replace static force_sync and partition_delim values, and define DEFAULT_FORCE_SYNC and DEFAULT_PARTITION_DELIM Cc: Benjamin Marzinski Cc: Hannes Reinecke Cc: Christophe Varoqui

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

2016-10-25 Thread Xose Vazquez Perez
Cc: Christophe Varoqui Cc: device-mapper development Signed-off-by: Xose Vazquez Perez --- libmultipath/hwtable.c | 13 + 1 file changed, 13 insertions(+) diff --git a/libmultipath/hwtable.c

[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 Cc: device-mapper development Signed-off-by: Xose Vazquez Perez --- libmultipath/hwtable.c | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [dm-devel] dm block manager: use do/while(0) for empty macros

2016-10-25 Thread Mike Snitzer
On Tue, Oct 25 2016 at 11:54am -0400, Arnd Bergmann wrote: > make W=1 reports a new warning for the dm-block-manager: > > drivers/md/persistent-data/dm-block-manager.c: In function ‘dm_bm_unlock’: > drivers/md/persistent-data/dm-block-manager.c:598:3: error: suggest braces >

Re: [dm-devel] [PATCH] multipath-tools: remove hwhandler when it's alua

2016-10-25 Thread Benjamin Marzinski
On Sat, Oct 22, 2016 at 07:58:29PM +0200, Xose Vazquez Perez wrote: > On 10/12/2016 06:20 PM, Benjamin Marzinski wrote: > > > On Wed, Oct 12, 2016 at 01:06:10PM +0200, Xose Vazquez Perez wrote: > > >> RDAC devices also depend *exclusively* on "retain_attached_hw_handler" > >> and "detect_prio"

[dm-devel] [PATCH] dm block manager: use do/while(0) for empty macros

2016-10-25 Thread Arnd Bergmann
make W=1 reports a new warning for the dm-block-manager: drivers/md/persistent-data/dm-block-manager.c: In function ‘dm_bm_unlock’: drivers/md/persistent-data/dm-block-manager.c:598:3: error: suggest braces around empty body in an ‘else’ statement [-Werror=empty-body] This is completely

[dm-devel] [PATCH] brd: remove support for BLKFLSBUF

2016-10-25 Thread Mike Snitzer
On Tue, Oct 25 2016 at 9:07P -0400, Christoph Hellwig wrote: > I think the right fix is to kill off the BLKFLSBUF special case in > brd. Yes, it break compatibility - but in this case the compatibility > breaks more than it helps. Jens, please pick up this patch: From:

Re: [dm-devel] how to refresh LV to apply fstrim online

2016-10-25 Thread Gianluca Cecchi
On Fri, Oct 21, 2016 at 1:32 AM, Gianluca Cecchi wrote: > > On Thu, Oct 20, 2016 at 1:40 PM, Zdenek Kabelac > wrote: > >> >> Hi >> >> Please provide listing of all your 'multipath' leg devices - are >> they support TRIM ? >> Then 'check' dm

Re: [dm-devel] device mapper and the BLKFLSBUF ioctl

2016-10-25 Thread Christoph Hellwig
I think the right fix is to kill off the BLKFLSBUF special case in brd. Yes, it break compatibility - but in this case the compatibility breaks more than it helps. -- dm-devel mailing list dm-devel@redhat.com https://www.redhat.com/mailman/listinfo/dm-devel

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 > Cc: device-mapper development > Signed-off-by: Xose Vazquez

[dm-devel] [PATCH] libmultipath: fix setting of fast_io_fail_tmo

2016-10-25 Thread peng . liang5
From: PengLiang As MP_FAST_IO_FAIL_ZERO define to -2, it means -1 and -2 will be sscanf to *int_ptr in set_fast_io_fail. Then, -1 will be snprintf to 'off' and -2 will be snprintf to '0' in print_fast_io_fail. So it will showing the wrong config if user set