---
dm.c |4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/dm.c b/dm.c
index d846233..b1d455c 100644
--- a/dm.c
+++ b/dm.c
@@ -342,10 +342,12 @@ dm_decode_dm_target_msg(struct tcb *tcp, unsigned long
addr,
offset + target_msg_message_offs <= ioc->data_size) {
---
tests/.gitignore |1 +
tests/Makefile.am |2 +
tests/ioctl_dm-v.c|2 +
tests/ioctl_dm-v.test | 12
tests/ioctl_dm.c | 178 +++--
tests/ioctl_dm.test |2 +-
6 files changed, 160 insertions(+), 37 deletions(-
---
tests/ioctl_dm.c |8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/tests/ioctl_dm.c b/tests/ioctl_dm.c
index 261983c..24232b7 100644
--- a/tests/ioctl_dm.c
+++ b/tests/ioctl_dm.c
@@ -67,12 +67,12 @@ main(void)
init_s(&s.ioc, sizeof(s), offsetof(struct s, u)
---
tests/ioctl_dm.c | 21 +++--
1 file changed, 15 insertions(+), 6 deletions(-)
diff --git a/tests/ioctl_dm.c b/tests/ioctl_dm.c
index 0a3bbf4..5f2689c 100644
--- a/tests/ioctl_dm.c
+++ b/tests/ioctl_dm.c
@@ -1,10 +1,13 @@
#include "tests.h"
-#include
-#include
-#include
-
This enables printing size-limited (expectedly) ASCIZ strings.
---
util.c | 18 +++---
1 file changed, 15 insertions(+), 3 deletions(-)
diff --git a/util.c b/util.c
index 23a5fdb..00148d4 100644
--- a/util.c
+++ b/util.c
@@ -820,13 +820,13 @@ printstr_ex(struct tcb *tcp, long addr,
Hello.
Aside from additional checks themselves, this patchset also contains two
notable changes:
* Fix for the previous patchset - misplaced comma printing ("dm: Fix comma
printing for the case when dm_target_msg structure is inaccessible").
* Update of printstr_ex call, which enables proper
---
tests/ioctl_dm.c |3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tests/ioctl_dm.c b/tests/ioctl_dm.c
index 5f2689c..261983c 100644
--- a/tests/ioctl_dm.c
+++ b/tests/ioctl_dm.c
@@ -24,7 +24,8 @@ static struct s {
} u;
} s;
-static void init_s(struct dm_ioctl
Please have a review for this patch, hope for your comments.
Thanks
发件人: peng.lia...@zte.com.cn
收件人: christophe varoqui ,
抄送: zhang.ka...@zte.com.cn, dm-devel@redhat.com, peng liang
日期: 2016-08-04 15:31
主题: [dm-devel] [PATCH] multipathd: fix issue in 'map $map getprstatu
---
tests/ioctl_dm.c|2 +-
tests/ioctl_dm.test |2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/ioctl_dm.c b/tests/ioctl_dm.c
index 6ad4ea9..0a3bbf4 100644
--- a/tests/ioctl_dm.c
+++ b/tests/ioctl_dm.c
@@ -77,7 +77,7 @@ main(void)
printf("ioctl(-1, DM
---
tests/.gitignore |1 +
1 file changed, 1 insertion(+)
diff --git a/tests/.gitignore b/tests/.gitignore
index a6d014d..9045117 100644
--- a/tests/.gitignore
+++ b/tests/.gitignore
@@ -103,6 +103,7 @@ getxxid
inet-cmsg
ioctl
ioctl_block
+ioctl_dm
ioctl_evdev
ioctl_evdev-v
ioctl_mtd
--
---
tests/ioctl_dm.c | 505 ++
1 file changed, 505 insertions(+)
diff --git a/tests/ioctl_dm.c b/tests/ioctl_dm.c
index 24232b7..0b2c5a7 100644
--- a/tests/ioctl_dm.c
+++ b/tests/ioctl_dm.c
@@ -2,13 +2,26 @@
#ifdef HAVE_LINUX_DM_IOCTL_H
+#
Hi, folks
While we are testing with the latest multipathd, we encounter issue that once
'del map' failed, all the following operation will show 'error -1 receiving
packet'
whatever how long the timeout has been set (we have applied the latest fix which
make sure the poll will last for 10 seconds)
Hi, Michael Wang
This patch looks well for me, cleanup_lock() should be called without
affected by the return value of h->fn().
Regards,
Tang
发件人: Michael Wang
收件人: christophe.varo...@opensvc.com, dm-devel@redhat.com,
日期: 2016/10/12 16:11
主题: [dm-devel] [RFC] unreleased l
Hi, Tang
On 10/12/2016 10:33 AM, tang.jun...@zte.com.cn wrote:
> Hi, Michael Wang
>
> This patch looks well for me, cleanup_lock() should be called without
> affectedby the return value of h->fn().
Thanks for the quick respond, I'll submit a formal patch then :-)
Regards,
Michael Wang
>
> Reg
Inside parse_cmd() the pthread_cleanup_pop() rely on '!r' as the
indicator of locked or not, while this will be overwritten if the
handler return failed, and the unlock will be missing.
This will lead into the situation that all the following operation
will trying to hold a lock which will never
On 10/11/2016 08:22 AM, Hannes Reinecke wrote:
> Autodetection will only work if the hardware handler is loaded.
> If the handler is _not_ loaded autodetection won't work, either.
> And if we add this patch multipath will never load the modules, neither.
> So we need this functionality as a fallba
On 10/11/2016 03:41 PM, Hannes Reinecke wrote:
> On 10/11/2016 02:55 PM, Xose Vazquez Perez wrote:
>> Cc: Hannes Reinecke
>> Cc: Christophe Varoqui
>> Cc: device-mapper development
>> Signed-off-by: Xose Vazquez Perez
>> ---
>> multipathd/multipathd.service | 2 +-
>> 1 file changed, 1 insert
On 10/12/2016 01:37 PM, Xose Vazquez Perez wrote:
On 10/11/2016 03:41 PM, Hannes Reinecke wrote:
On 10/11/2016 02:55 PM, Xose Vazquez Perez wrote:
Cc: Hannes Reinecke
Cc: Christophe Varoqui
Cc: device-mapper development
Signed-off-by: Xose Vazquez Perez
---
multipathd/multipathd.service |
On 10/12/2016 02:43 PM, Hannes Reinecke wrote:
> On 10/12/2016 01:37 PM, Xose Vazquez Perez wrote:
>> scsi_dh_hp_sw is used also for dec/compaq ESA12000 and RA8000 arrays with
>> HSG80 controller.
>> And in HP MSA 1000/1500 and EVA 3000/5000, with old firmware.
>>
> EVA? I sincerely doubt that.
>
On 10/07/2016 04:24 PM, Steffen Maier wrote:
> You'll notice that we from Linux on s390x have a bit different recommendations
> for some of the values (no_path_retry actually depends on whether you have a
> cluster software/filesystem that can cope with EIO on last-path-loss.
> Currently,
> I see
On 10/11/16 20:03, peng.lia...@zte.com.cn wrote:
> From: peng liang
>
> -add missing newline to 'map|multipath $map getprstatus' reply
> -use asprintf instead of sprintf
>
> Signed-off-by: peng liang
> ---
> multipathd/cli_handlers.c | 14 ++
> 1 file changed, 6 insertions(+), 8 dele
On 10/11/2016 08:43 AM, Christophe Varoqui wrote:
> so Xosé, can you confirm the last introduced hwtable entries don't need the
> alua hwhandler :
Yes, defined:
> - tegile
> - nimble
No needed/defined:
> - nexsan
> - nfinidat
- NexGen|Pivot3
--
dm-devel mailing list
dm-devel@redhat.com
https:/
Based on documentation provided by the manufacturer:
https://drive.google.com/file/d/0B_B6YmEmO7cDc201a3ZlcmFvUmM
Cc: Christophe Varoqui
Cc: device-mapper development
Signed-off-by: Xose Vazquez Perez
---
libmultipath/hwtable.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/libmu
On Wed, Oct 12, 2016 at 01:06:10PM +0200, Xose Vazquez Perez wrote:
> On 10/11/2016 08:22 AM, Hannes Reinecke wrote:
>
> > Autodetection will only work if the hardware handler is loaded.
> > If the handler is _not_ loaded autodetection won't work, either.
> > And if we add this patch multipath wi
In case legs of a mirror target fail, any read will cause a new,
operational default leg to be selected and the read be resubmitted
to it. If that new default leg fails the read too, no other still
accessible legs are used to resubmit the read again thus failing
the io.
Fix by allowing the read to
25 matches
Mail list logo