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 system. > The modification reduces the system co

[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 processing time obviously in sce

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

2017-02-27 Thread tang.junhui
: [dm-devel] [PATCH] multipath-tools: improve processing efficiency for addition and deletion of multipath devices 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 <

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" > > ACK > > Thanks for al

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 > av

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 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) > > > > +{ > > > > + /* > > > > +  * dm uevent do not try to

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

2017-02-16 Thread tang.junhui
36唐文俊10144149 <bart.vanass...@sandisk.com> 日 期 :2017年02月17日 14:27 主 题 :Re: [dm-devel] [PATCH] multipath-tools: improve processing efficiency for addition and deletion of multipath devices On Thu, Feb 16, 2017 at 11:38:36PM -0600, Benjamin Marzinski wrote: Quite possibly, I shouldn't try

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 rep

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 uev

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 co

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 to improve processing efficiency for addition and

[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 automatic testing system. The modification reduces the

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 and deletion > of multipath devices. > > This pa

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

[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 automatic testing system. The modification reduces the