[dm-devel] [PATCH] crypto: fix typo in doc

2017-02-13 Thread Gilad Ben-Yossef
Fix a single letter typo in api-skcipher.rst. Signed-off-by: Gilad Ben-Yossef --- Documentation/crypto/api-skcipher.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/crypto/api-skcipher.rst b/Documentation/crypto/api-skcipher.rst index b20028a..4eec4a9 100644

[dm-devel] [PATCH v2 2/7] libmultipath: add detect_checker option

2017-02-13 Thread Benjamin Marzinski
This patch adds a detect_checker option that works just like the detect_prio option. It currently only detects ALUA devices, and if it finds ALUA support, it sets the priortizier to TUR. This is useful for devices like the VNX2, where it should be using the TUR checker when in ALUA mode (or so I h

[dm-devel] [PATCH v2 3/7] libmultipath: cleanup orphan device states

2017-02-13 Thread Benjamin Marzinski
After a path device is orphaned, multipathd stops checking its state. However, multipathd show state still shows its old state. It should display "undef unknown" instead. Signed-off-by: Benjamin Marzinski --- libmultipath/print.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --

[dm-devel] [PATCH v2 0/7] misc patches

2017-02-13 Thread Benjamin Marzinski
Here's a couple of minor features bugfixes and cleanups. The biggest change is that the detect_checker option now sets the checker for devices with detected ALUA to TUR. Also, udev wasn't correctly disabling rules for multipath devices that lost their last usable path through a table reload. This w

[dm-devel] [PATCH v2 1/7] kpartx: don't keep creating recursive partitions

2017-02-13 Thread Benjamin Marzinski
If the dos partition table is corrupted, kpartx can just keep creating the same partitions until it runs out of partition numbers. This check catches the recursion. Signed-off-by: Cedric Buissart Signed-off-by: Benjamin Marzinski --- kpartx/dos.c | 2 +- 1 file changed, 1 insertion(+), 1 deleti

[dm-devel] [PATCH v2 5/7] multipathd: add messages on delayed path addition

2017-02-13 Thread Benjamin Marzinski
When multipath delays adding a path because the device is waiting for udev to finish initialization, it now logs a message, so the users know what happened to the path. Signed-off-by: Benjamin Marzinski --- multipathd/main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/multipathd/main.

[dm-devel] [PATCH v2 4/7] multipathd: don't update priority of failed paths

2017-02-13 Thread Benjamin Marzinski
Multipathd shouldn't be updating the priority of failed paths in the checkerloop. The current avoids this in almost all cases, but not all. Close the loophole. Signed-off-by: Benjamin Marzinski --- multipathd/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/multipathd

[dm-devel] [PATCH v2 6/7] multipathd: allow resetting stats

2017-02-13 Thread Benjamin Marzinski
This patch adds two multipathd interactive commands: multipathd reset maps stats and multipathd reset map stats to reset the statistics that are shown with the "show stats" commands. Signed-off-by: Benjamin Marzinski --- multipathd/cli.c | 2 ++ multipathd/cli_handlers.c | 44

[dm-devel] [PATCH v2 7/7] fix udev rules for failed multipath devices

2017-02-13 Thread Benjamin Marzinski
11-dm-mpath.rules was only correctly dealing with the case where the multipath device was unusable because the last path had failed. If instead, the last working path was removed from the device on a table reload, it was not correctly marking the device as unusable. One problem with fixing this is

Re: [dm-devel] [PATCH v4 1/1] DM: inplace compressed DM target

2017-02-13 Thread kbuild test robot
Hi Ram, [auto build test WARNING on dm/for-next] [also build test WARNING on v4.10-rc8 next-20170213] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Ram-Pai/DM-inplace-compressed-DM-target

Re: [dm-devel] [PATCH v4 1/1] DM: inplace compressed DM target

2017-02-13 Thread kbuild test robot
Hi Ram, [auto build test WARNING on dm/for-next] [also build test WARNING on v4.10-rc8 next-20170213] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Ram-Pai/DM-inplace-compressed-DM-target

[dm-devel] [PATCH v4] DM: dm-inplace-compress: inplace compressed DM target

2017-02-13 Thread Ram Pai
This patch provides a generic device-mapper compression device. Originally written by Shaohua Li. https://www.redhat.com/archives/dm-devel/2013-December/msg00143.html I have optimized and hardened the code. Testing: --- This compression block device is tested in the following sc

[dm-devel] [PATCH v4 1/1] DM: inplace compressed DM target

2017-02-13 Thread Ram Pai
This is a simple DM target supporting inplace compression. Its best suited for SSD. The underlying disk must support 512B sector size. The target only supports 4k sector size. Disk layout: |super|...meta...|..data...| Store unit is 4k (a block). Super is 1 block, which stores meta and data size

Re: [dm-devel] [PATCH 7/7] fix udev rules for failed multipath devices

2017-02-13 Thread Benjamin Marzinski
On Mon, Feb 13, 2017 at 04:46:07PM +0100, Peter Rajnoha wrote: > On 02/11/2017 06:28 AM, Benjamin Marzinski wrote: > > diff --git a/multipath/11-dm-mpath.rules b/multipath/11-dm-mpath.rules > > index 5559af3..b253433 100644 > > --- a/multipath/11-dm-mpath.rules > > +++ b/multipath/11-dm-mpath.rules

Re: [dm-devel] [PATCH 7/7] fix udev rules for failed multipath devices

2017-02-13 Thread Peter Rajnoha
On 02/11/2017 06:28 AM, Benjamin Marzinski wrote: > diff --git a/multipath/11-dm-mpath.rules b/multipath/11-dm-mpath.rules > index 5559af3..b253433 100644 > --- a/multipath/11-dm-mpath.rules > +++ b/multipath/11-dm-mpath.rules > @@ -2,39 +2,66 @@ ACTION!="add|change", GOTO="mpath_end" > ENV{DM_UDE

Re: [dm-devel] [PATCH 2/7] libmultipath: add detect_checker option

2017-02-13 Thread Benjamin Marzinski
On Mon, Feb 13, 2017 at 07:51:21AM +0100, Hannes Reinecke wrote: > On 02/11/2017 06:28 AM, Benjamin Marzinski wrote: > > This patch adds a detect_checker option that works just like the > > detect_prio option. It currently only detects ALUA devices, and > > if it finds ALUA support, it sets the pr

[dm-devel] how to deploy the latest multipath utility

2017-02-13 Thread Muneendra Kumar M
Hi, Can you plz kindly help me with this query? There are lot of features and issues fixed in the latest multipath tool. Some of our customers want the latest multipath utility which is available in the git. However, how would the customers deploy if they use different versions of linux? How a

Re: [dm-devel] [PATCH] multipath-tools: improve processing efficiency for addition and deletion of multipath devices

2017-02-13 Thread tang.junhui
Hello Christophe, Ben, Hannes, Martin, Could you have a review for this patch? Any comment would be wellcome! Thanks, Tang Junhui-- dm-devel mailing list dm-devel@redhat.com https://www.redhat.com/mailman/listinfo/dm-devel