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

2017-02-28 Thread Christophe Varoqui
Applied. Thanks. On Tue, Feb 28, 2017 at 8:05 AM, wrote: > From: "tang.junhui" > > This patch used to improve processing efficiency for addition and deletion > of multipath devices. > > This patch is tested pass by ZTE multipath automatic testing

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

2017-02-27 Thread tang . junhui
From: "tang.junhui" This patch used to improve processing efficiency for addition and deletion of multipath devices. This patch is tested pass by ZTE multipath automatic testing system. The modification reduces the system consumption(such as CPU) and shortens the

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

2017-02-27 Thread tang.junhui
Hi Christophe, OK, I'll post it later. regards, Tang Junhui 原始邮件 发件人: <christophe.varo...@opensvc.com> 收件人: <bmarz...@redhat.com> 抄送人:唐文俊10144149唐军辉10074136张凯10072500 <dm-devel@redhat.com> <bart.vanass...@sandisk.com> <mwi...@suse.com> 日 期 :2017年02月27日 14:22 主 题 :Re:

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

2017-02-26 Thread Christophe Varoqui
Hi Junhui, It seems I did not receive the patch version Acked by Ben, Can you rebase and post please ? Thanks. On Thu, Feb 16, 2017 at 5:27 PM, Benjamin Marzinski wrote: > On Thu, Feb 16, 2017 at 02:54:01PM +0800, tang.jun...@zte.com.cn wrote: > > From: "tang.junhui"

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

2017-02-17 Thread Benjamin Marzinski
On Fri, Feb 17, 2017 at 10:48:44AM +0100, Martin Wilck wrote: > On Fri, 2017-02-17 at 00:21 -0600, Benjamin Marzinski wrote: > > On Thu, Feb 16, 2017 at 11:38:36PM -0600, Benjamin Marzinski wrote: > > > > > + > > > > > +bool > > > > > +merge_need_stop(struct uevent *earlier, struct uevent *later)

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

2017-02-17 Thread Martin Wilck
On Fri, 2017-02-17 at 15:41 +0800, tang.jun...@zte.com.cn wrote: > > Hello Ben, > > It's too later now,  I think you'd better go bed, haha. > > > > > The first case should have been reduced to "remove path1 | > remove path2 > > > > | add path3" by filtering beforehand. I suppose you want to >

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

2017-02-16 Thread tang.junhui
Hello Ben, It's too later now, I think you'd better go bed, haha. > > > The first case should have been reduced to "remove path1 | remove path2 > > > | add path3" by filtering beforehand. I suppose you want to avoid this > > > sequence because it could leave us without paths

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

2017-02-16 Thread Benjamin Marzinski
On Thu, Feb 16, 2017 at 11:38:36PM -0600, Benjamin Marzinski wrote: Quite possibly, I shouldn't try responding to email at 11:30 PM. It appears that my brain has already given up for the day. > On Thu, Feb 16, 2017 at 10:17:35PM +0100, Martin Wilck wrote: > > Hello Tang, > > > > I'm sorry to

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

2017-02-16 Thread Benjamin Marzinski
On Thu, Feb 16, 2017 at 10:17:35PM +0100, Martin Wilck wrote: > Hello Tang, > > I'm sorry to reply so late. Thanks a lot for your work, I agree with > Ben that the patch is in pretty good shape now. But I have some > remarks left, please see below. > > > +bool > > +uevent_can_discard(struct

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

2017-02-16 Thread Martin Wilck
Hello Tang, I'm sorry to reply so late. Thanks a lot for your work, I agree with Ben that the patch is in pretty good shape now. But I have some remarks left, please see below. > +bool > +uevent_can_discard(struct uevent *uev) > +{ > + char *tmp; > + char a[11], b[11]; > + struct

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

2017-02-16 Thread Benjamin Marzinski
On Thu, Feb 16, 2017 at 02:54:01PM +0800, tang.jun...@zte.com.cn wrote: > From: "tang.junhui" ACK Thanks for all your work on this. -Ben > > Change-Id: I3f81a55fff389f991f915927000b281d7e263cc5 > Signed-off-by: tang.junhui > > This patch used

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

2017-02-15 Thread tang . junhui
From: "tang.junhui" Change-Id: I3f81a55fff389f991f915927000b281d7e263cc5 Signed-off-by: tang.junhui This patch used to improve processing efficiency for addition and deletion of multipath devices. This patch is tested pass by ZTE multipath

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

2017-02-15 Thread Benjamin Marzinski
On Wed, Jan 18, 2017 at 03:38:33PM +0800, tang.jun...@zte.com.cn wrote: > From: "tang.junhui" > > Change-Id: I3f81a55fff389f991f915927000b281d7e263cc5 > Signed-off-by: tang.junhui > > This patch used to improve processing efficiency for addition

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

2017-01-17 Thread tang . junhui
From: "tang.junhui" Change-Id: I3f81a55fff389f991f915927000b281d7e263cc5 Signed-off-by: tang.junhui This patch used to improve processing efficiency for addition and deletion of multipath devices. This patch is tested pass by ZTE multipath