[net-next PATCHv2 6/8] macvtap: remove unused parameter in macvtap_do_read()

2013-12-05 Thread Zhi Yong Wu
From: Zhi Yong Wu Signed-off-by: Zhi Yong Wu --- drivers/net/macvtap.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/macvtap.c b/drivers/net/macvtap.c index 4914d85..4a34bcb 100644 --- a/drivers/net/macvtap.c +++ b/drivers/net/macvtap.c @@ -819,7

[net-next PATCHv2 7/8] tun: update file current position

2013-12-05 Thread Zhi Yong Wu
From: Zhi Yong Wu Signed-off-by: Zhi Yong Wu --- drivers/net/tun.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/net/tun.c b/drivers/net/tun.c index 782e38b..e26cbea 100644 --- a/drivers/net/tun.c +++ b/drivers/net/tun.c @@ -1356,6 +1356,8 @@ static ssize_t

[net-next PATCHv2 5/8] macvtap: update file current position

2013-12-05 Thread Zhi Yong Wu
From: Zhi Yong Wu Signed-off-by: Zhi Yong Wu --- drivers/net/macvtap.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/net/macvtap.c b/drivers/net/macvtap.c index f599c47..4914d85 100644 --- a/drivers/net/macvtap.c +++ b/drivers/net/macvtap.c @@ -872,6 +872,8

[net-next PATCHv2 2/8] vhost: adjust vhost_dev_init() to be void

2013-12-05 Thread Zhi Yong Wu
From: Zhi Yong Wu Signed-off-by: Zhi Yong Wu Acked-by: Michael S. Tsirkin --- drivers/vhost/net.c |4 ++-- drivers/vhost/scsi.c |2 +- drivers/vhost/test.c |3 +-- drivers/vhost/vhost.c |4 +--- drivers/vhost/vhost.h |2 +- 5 files changed, 6 insertions(+), 9 deletions

[net-next PATCHv2 8/8] tun: remove unused parameter in tun_do_read()

2013-12-05 Thread Zhi Yong Wu
From: Zhi Yong Wu Signed-off-by: Zhi Yong Wu --- drivers/net/tun.c |7 +++ 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/net/tun.c b/drivers/net/tun.c index e26cbea..fd8cc47 100644 --- a/drivers/net/tun.c +++ b/drivers/net/tun.c @@ -1289,8 +1289,7 @@ done

[net-next PATCHv2 4/8] macvtap: adjust macvtap_skb_to_vnet_hdr() to be void

2013-12-05 Thread Zhi Yong Wu
From: Zhi Yong Wu Signed-off-by: Zhi Yong Wu --- drivers/net/macvtap.c |6 ++ 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/net/macvtap.c b/drivers/net/macvtap.c index d271fb4..f599c47 100644 --- a/drivers/net/macvtap.c +++ b/drivers/net/macvtap.c @@ -588,7

[net-next PATCHv2 0/8] net: some cleanups

2013-12-05 Thread Zhi Yong Wu
From: Zhi Yong Wu Since net-next is open now, it's time to post them out again. Zhi Yong Wu (8): vhost: remove the dead branch vhost: adjust vhost_dev_init() to be void macvtap: remove the dead branch macvtap: adjust macvtap_skb_to_vnet_hdr() to be void macvtap: update file current

Re: [PATCH 1/2] macvtap: update file current position

2013-12-05 Thread Zhi Yong Wu
On Fri, Dec 6, 2013 at 9:44 AM, David Miller wrote: > From: Zhi Yong Wu > Date: Wed, 4 Dec 2013 17:29:00 +0800 > >> From: Zhi Yong Wu >> >> Signed-off-by: Zhi Yong Wu > > The tun driver seems to have the same exact bug, please if you are going > to fix one

[net-next PATCH 1/6] vhost: remove the dead branch

2013-12-05 Thread Zhi Yong Wu
From: Zhi Yong Wu Since vhost_dev_init() forever return 0, some branches are never run, therefore need to be removed. Signed-off-by: Zhi Yong Wu Acked-by: Michael S. Tsirkin --- drivers/vhost/net.c |5 - drivers/vhost/scsi.c |5 - drivers/vhost/test.c |5 - 3 files

[net-next PATCH 3/6] macvtap: remove the dead branch

2013-12-05 Thread Zhi Yong Wu
From: Zhi Yong Wu Signed-off-by: Zhi Yong Wu --- drivers/net/macvtap.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/drivers/net/macvtap.c b/drivers/net/macvtap.c index 9093004..d271fb4 100644 --- a/drivers/net/macvtap.c +++ b/drivers/net/macvtap.c @@ -779,8 +779,6

[net-next PATCH 2/6] vhost: adjust vhost_dev_init() to be void

2013-12-05 Thread Zhi Yong Wu
From: Zhi Yong Wu Signed-off-by: Zhi Yong Wu Acked-by: Michael S. Tsirkin --- drivers/vhost/net.c |4 ++-- drivers/vhost/scsi.c |2 +- drivers/vhost/test.c |3 +-- drivers/vhost/vhost.c |4 +--- drivers/vhost/vhost.h |2 +- 5 files changed, 6 insertions(+), 9 deletions

[net-next PATCH 6/6] macvtap: remove unused paramter in macvtap_do_read()

2013-12-05 Thread Zhi Yong Wu
From: Zhi Yong Wu Signed-off-by: Zhi Yong Wu --- drivers/net/macvtap.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/macvtap.c b/drivers/net/macvtap.c index 4914d85..4a34bcb 100644 --- a/drivers/net/macvtap.c +++ b/drivers/net/macvtap.c @@ -819,7

[net-next PATCH 4/6] macvtap: adjust macvtap_skb_to_vnet_hdr() to be void

2013-12-05 Thread Zhi Yong Wu
From: Zhi Yong Wu Signed-off-by: Zhi Yong Wu --- drivers/net/macvtap.c |6 ++ 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/net/macvtap.c b/drivers/net/macvtap.c index d271fb4..f599c47 100644 --- a/drivers/net/macvtap.c +++ b/drivers/net/macvtap.c @@ -588,7

[net-next PATCH 0/6] some cleanups

2013-12-05 Thread Zhi Yong Wu
From: Zhi Yong Wu Since net-next is open now, it's time to post them out again. Zhi Yong Wu (6): vhost: remove the dead branch vhost: adjust vhost_dev_init() to be void macvtap: remove the dead branch macvtap: adjust macvtap_skb_to_vnet_hdr() to be void macvtap: update file current

[net-next PATCH 5/6] macvtap: update file current position

2013-12-05 Thread Zhi Yong Wu
From: Zhi Yong Wu Signed-off-by: Zhi Yong Wu --- drivers/net/macvtap.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/net/macvtap.c b/drivers/net/macvtap.c index f599c47..4914d85 100644 --- a/drivers/net/macvtap.c +++ b/drivers/net/macvtap.c @@ -872,6 +872,8

[net-next PATCH 5/6] macvtap: update file current position

2013-12-05 Thread Zhi Yong Wu
From: Zhi Yong Wu wu...@linux.vnet.ibm.com Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com --- drivers/net/macvtap.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/net/macvtap.c b/drivers/net/macvtap.c index f599c47..4914d85 100644 --- a/drivers/net

[net-next PATCH 2/6] vhost: adjust vhost_dev_init() to be void

2013-12-05 Thread Zhi Yong Wu
From: Zhi Yong Wu wu...@linux.vnet.ibm.com Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com Acked-by: Michael S. Tsirkin m...@redhat.com --- drivers/vhost/net.c |4 ++-- drivers/vhost/scsi.c |2 +- drivers/vhost/test.c |3 +-- drivers/vhost/vhost.c |4 +--- drivers/vhost

[net-next PATCH 6/6] macvtap: remove unused paramter in macvtap_do_read()

2013-12-05 Thread Zhi Yong Wu
From: Zhi Yong Wu wu...@linux.vnet.ibm.com Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com --- drivers/net/macvtap.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/macvtap.c b/drivers/net/macvtap.c index 4914d85..4a34bcb 100644 --- a/drivers/net

[net-next PATCH 4/6] macvtap: adjust macvtap_skb_to_vnet_hdr() to be void

2013-12-05 Thread Zhi Yong Wu
From: Zhi Yong Wu wu...@linux.vnet.ibm.com Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com --- drivers/net/macvtap.c |6 ++ 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/net/macvtap.c b/drivers/net/macvtap.c index d271fb4..f599c47 100644 --- a/drivers/net

[net-next PATCH 0/6] some cleanups

2013-12-05 Thread Zhi Yong Wu
From: Zhi Yong Wu wu...@linux.vnet.ibm.com Since net-next is open now, it's time to post them out again. Zhi Yong Wu (6): vhost: remove the dead branch vhost: adjust vhost_dev_init() to be void macvtap: remove the dead branch macvtap: adjust macvtap_skb_to_vnet_hdr() to be void macvtap

[net-next PATCH 1/6] vhost: remove the dead branch

2013-12-05 Thread Zhi Yong Wu
From: Zhi Yong Wu wu...@linux.vnet.ibm.com Since vhost_dev_init() forever return 0, some branches are never run, therefore need to be removed. Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com Acked-by: Michael S. Tsirkin m...@redhat.com --- drivers/vhost/net.c |5 - drivers/vhost

[net-next PATCH 3/6] macvtap: remove the dead branch

2013-12-05 Thread Zhi Yong Wu
From: Zhi Yong Wu wu...@linux.vnet.ibm.com Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com --- drivers/net/macvtap.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/drivers/net/macvtap.c b/drivers/net/macvtap.c index 9093004..d271fb4 100644 --- a/drivers/net

Re: [PATCH 1/2] macvtap: update file current position

2013-12-05 Thread Zhi Yong Wu
On Fri, Dec 6, 2013 at 9:44 AM, David Miller da...@davemloft.net wrote: From: Zhi Yong Wu zwu.ker...@gmail.com Date: Wed, 4 Dec 2013 17:29:00 +0800 From: Zhi Yong Wu wu...@linux.vnet.ibm.com Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com The tun driver seems to have the same exact

[net-next PATCHv2 0/8] net: some cleanups

2013-12-05 Thread Zhi Yong Wu
From: Zhi Yong Wu wu...@linux.vnet.ibm.com Since net-next is open now, it's time to post them out again. Zhi Yong Wu (8): vhost: remove the dead branch vhost: adjust vhost_dev_init() to be void macvtap: remove the dead branch macvtap: adjust macvtap_skb_to_vnet_hdr() to be void macvtap

[net-next PATCHv2 4/8] macvtap: adjust macvtap_skb_to_vnet_hdr() to be void

2013-12-05 Thread Zhi Yong Wu
From: Zhi Yong Wu wu...@linux.vnet.ibm.com Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com --- drivers/net/macvtap.c |6 ++ 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/net/macvtap.c b/drivers/net/macvtap.c index d271fb4..f599c47 100644 --- a/drivers/net

[net-next PATCHv2 5/8] macvtap: update file current position

2013-12-05 Thread Zhi Yong Wu
From: Zhi Yong Wu wu...@linux.vnet.ibm.com Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com --- drivers/net/macvtap.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/net/macvtap.c b/drivers/net/macvtap.c index f599c47..4914d85 100644 --- a/drivers/net

[net-next PATCHv2 2/8] vhost: adjust vhost_dev_init() to be void

2013-12-05 Thread Zhi Yong Wu
From: Zhi Yong Wu wu...@linux.vnet.ibm.com Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com Acked-by: Michael S. Tsirkin m...@redhat.com --- drivers/vhost/net.c |4 ++-- drivers/vhost/scsi.c |2 +- drivers/vhost/test.c |3 +-- drivers/vhost/vhost.c |4 +--- drivers/vhost

[net-next PATCHv2 8/8] tun: remove unused parameter in tun_do_read()

2013-12-05 Thread Zhi Yong Wu
From: Zhi Yong Wu wu...@linux.vnet.ibm.com Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com --- drivers/net/tun.c |7 +++ 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/net/tun.c b/drivers/net/tun.c index e26cbea..fd8cc47 100644 --- a/drivers/net/tun.c +++ b

[net-next PATCHv2 7/8] tun: update file current position

2013-12-05 Thread Zhi Yong Wu
From: Zhi Yong Wu wu...@linux.vnet.ibm.com Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com --- drivers/net/tun.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/net/tun.c b/drivers/net/tun.c index 782e38b..e26cbea 100644 --- a/drivers/net/tun.c +++ b/drivers

[net-next PATCHv2 6/8] macvtap: remove unused parameter in macvtap_do_read()

2013-12-05 Thread Zhi Yong Wu
From: Zhi Yong Wu wu...@linux.vnet.ibm.com Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com --- drivers/net/macvtap.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/macvtap.c b/drivers/net/macvtap.c index 4914d85..4a34bcb 100644 --- a/drivers/net

[net-next PATCHv2 1/8] vhost: remove the dead branch

2013-12-05 Thread Zhi Yong Wu
From: Zhi Yong Wu wu...@linux.vnet.ibm.com Since vhost_dev_init() forever return 0, some branches are never run, therefore need to be removed. Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com Acked-by: Michael S. Tsirkin m...@redhat.com --- drivers/vhost/net.c |5 - drivers/vhost

[net-next PATCHv2 3/8] macvtap: remove the dead branch

2013-12-05 Thread Zhi Yong Wu
From: Zhi Yong Wu wu...@linux.vnet.ibm.com Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com --- drivers/net/macvtap.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/drivers/net/macvtap.c b/drivers/net/macvtap.c index 9093004..d271fb4 100644 --- a/drivers/net

Re: [net-next PATCH 3/6] macvtap: remove the dead branch

2013-12-05 Thread Zhi Yong Wu
On Fri, Dec 6, 2013 at 2:08 PM, Guenter Roeck li...@roeck-us.net wrote: On 12/05/2013 02:28 PM, Zhi Yong Wu wrote: From: Zhi Yong Wu wu...@linux.vnet.ibm.com Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com --- drivers/net/macvtap.c |2 -- 1 files changed, 0 insertions(+), 2

[PATCH 1/2] macvtap: update file current position

2013-12-05 Thread Zhi Yong Wu
From: Zhi Yong Wu wu...@linux.vnet.ibm.com Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com --- drivers/net/macvtap.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/net/macvtap.c b/drivers/net/macvtap.c index 9093004..957cc5c 100644 --- a/drivers/net

[PATCH 2/2] tun: update file current position

2013-12-05 Thread Zhi Yong Wu
From: Zhi Yong Wu wu...@linux.vnet.ibm.com Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com --- drivers/net/tun.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/net/tun.c b/drivers/net/tun.c index 782e38b..e26cbea 100644 --- a/drivers/net/tun.c +++ b/drivers

[net-next PATCH v3 0/6] net: some cleanups

2013-12-05 Thread Zhi Yong Wu
From: Zhi Yong Wu wu...@linux.vnet.ibm.com Since net-next is open now, it's time to post them again. Zhi Yong Wu (6): vhost: remove the dead branch vhost: adjust vhost_dev_init() to be void macvtap: remove the dead branch macvtap: adjust macvtap_skb_to_vnet_hdr() to be void macvtap

[net-next PATCH v3 1/6] vhost: remove the dead branch

2013-12-05 Thread Zhi Yong Wu
From: Zhi Yong Wu wu...@linux.vnet.ibm.com Since vhost_dev_init() forever return 0, some branches are never run, therefore need to be removed. Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com Acked-by: Michael S. Tsirkin m...@redhat.com --- drivers/vhost/net.c |5 - drivers/vhost

[net-next PATCH v3 6/6] tun: remove unused parameter in tun_do_read()

2013-12-05 Thread Zhi Yong Wu
From: Zhi Yong Wu wu...@linux.vnet.ibm.com Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com --- drivers/net/tun.c |7 +++ 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/net/tun.c b/drivers/net/tun.c index 782e38b..f9c935a 100644 --- a/drivers/net/tun.c +++ b

[net-next PATCH v3 5/6] macvtap: remove unused parameter in macvtap_do_read()

2013-12-05 Thread Zhi Yong Wu
From: Zhi Yong Wu wu...@linux.vnet.ibm.com Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com --- drivers/net/macvtap.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/macvtap.c b/drivers/net/macvtap.c index f599c47..4c6f84c 100644 --- a/drivers/net

[net-next PATCH v3 4/6] macvtap: adjust macvtap_skb_to_vnet_hdr() to be void

2013-12-05 Thread Zhi Yong Wu
From: Zhi Yong Wu wu...@linux.vnet.ibm.com Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com --- drivers/net/macvtap.c |6 ++ 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/net/macvtap.c b/drivers/net/macvtap.c index d271fb4..f599c47 100644 --- a/drivers/net

[net-next PATCH v3 2/6] vhost: adjust vhost_dev_init() to be void

2013-12-05 Thread Zhi Yong Wu
From: Zhi Yong Wu wu...@linux.vnet.ibm.com Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com Acked-by: Michael S. Tsirkin m...@redhat.com --- drivers/vhost/net.c |4 ++-- drivers/vhost/scsi.c |2 +- drivers/vhost/test.c |3 +-- drivers/vhost/vhost.c |4 +--- drivers/vhost

[net-next PATCH v3 3/6] macvtap: remove the dead branch

2013-12-05 Thread Zhi Yong Wu
From: Zhi Yong Wu wu...@linux.vnet.ibm.com Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com --- drivers/net/macvtap.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/drivers/net/macvtap.c b/drivers/net/macvtap.c index 9093004..d271fb4 100644 --- a/drivers/net

[PATCH 2/2] macvtap: remove unused paramter in macvtap_do_read()

2013-12-04 Thread Zhi Yong Wu
From: Zhi Yong Wu Signed-off-by: Zhi Yong Wu --- drivers/net/macvtap.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/macvtap.c b/drivers/net/macvtap.c index 957cc5c..c0d412e 100644 --- a/drivers/net/macvtap.c +++ b/drivers/net/macvtap.c @@ -823,7

[PATCH 1/2] macvtap: update file current position

2013-12-04 Thread Zhi Yong Wu
From: Zhi Yong Wu Signed-off-by: Zhi Yong Wu --- drivers/net/macvtap.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/net/macvtap.c b/drivers/net/macvtap.c index 9093004..957cc5c 100644 --- a/drivers/net/macvtap.c +++ b/drivers/net/macvtap.c @@ -876,6 +876,8

[PATCH 1/2] macvtap: update file current position

2013-12-04 Thread Zhi Yong Wu
From: Zhi Yong Wu wu...@linux.vnet.ibm.com Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com --- drivers/net/macvtap.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/net/macvtap.c b/drivers/net/macvtap.c index 9093004..957cc5c 100644 --- a/drivers/net

[PATCH 2/2] macvtap: remove unused paramter in macvtap_do_read()

2013-12-04 Thread Zhi Yong Wu
From: Zhi Yong Wu wu...@linux.vnet.ibm.com Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com --- drivers/net/macvtap.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/macvtap.c b/drivers/net/macvtap.c index 957cc5c..c0d412e 100644 --- a/drivers/net

Re: [PATCH v6 00/11] VFS hot tracking

2013-12-03 Thread Zhi Yong Wu
Ping 6, any reason why this patchset can't get reviewed so far? If no comments, pls merge them. Please don't force me to be impolite, thanks. On Sat, Nov 30, 2013 at 5:55 PM, Zhi Yong Wu wrote: > HI, > > Ping again > > On Thu, Nov 21, 2013 at 9:57 PM, Zhi Yong Wu wrote: >

Re: [PATCH v6 00/11] VFS hot tracking

2013-12-03 Thread Zhi Yong Wu
Ping 6, any reason why this patchset can't get reviewed so far? If no comments, pls merge them. Please don't force me to be impolite, thanks. On Sat, Nov 30, 2013 at 5:55 PM, Zhi Yong Wu zwu.ker...@gmail.com wrote: HI, Ping again On Thu, Nov 21, 2013 at 9:57 PM, Zhi Yong Wu zwu.ker

Re: [PATCH v6 00/11] VFS hot tracking

2013-11-30 Thread Zhi Yong Wu
HI, Ping again On Thu, Nov 21, 2013 at 9:57 PM, Zhi Yong Wu wrote: > HI, Maintainers > > Ping again > > On Thu, Nov 14, 2013 at 2:33 AM, Zhi Yong Wu wrote: >> Ping >> >> On Wed, Nov 6, 2013 at 9:45 PM, Zhi Yong Wu wrote: >>> From: Zhi

Re: [PATCH v6 00/11] VFS hot tracking

2013-11-30 Thread Zhi Yong Wu
HI, Ping again On Thu, Nov 21, 2013 at 9:57 PM, Zhi Yong Wu zwu.ker...@gmail.com wrote: HI, Maintainers Ping again On Thu, Nov 14, 2013 at 2:33 AM, Zhi Yong Wu zwu.ker...@gmail.com wrote: Ping On Wed, Nov 6, 2013 at 9:45 PM, Zhi Yong Wu zwu.ker...@gmail.com wrote: From: Zhi

Re: [RESEND PATCH net-next 0/4] net: several cleanups

2013-11-27 Thread Zhi Yong Wu
On Thu, Nov 28, 2013 at 12:43 PM, David Miller wrote: > From: Zhi Yong Wu > Date: Thu, 28 Nov 2013 09:31:29 +0800 > >> Per David's request, it's time to resend them now. > > No, it is not the time. > > You should not submit these kinds of patches until the net-next

[RESEND PATCH net-next 1/4] vhost: remove the dead branch

2013-11-27 Thread Zhi Yong Wu
From: Zhi Yong Wu Since vhost_dev_init() forever return 0, some branches are never run, therefore need to be removed. Signed-off-by: Zhi Yong Wu Acked-by: Michael S. Tsirkin --- drivers/vhost/net.c |5 - drivers/vhost/scsi.c |5 - drivers/vhost/test.c |5 - 3 files

[RESEND PATCH net-next 4/4] macvtap: adjust macvtap_skb_to_vnet_hdr() to be void

2013-11-27 Thread Zhi Yong Wu
From: Zhi Yong Wu Signed-off-by: Zhi Yong Wu --- drivers/net/macvtap.c |6 ++ 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/net/macvtap.c b/drivers/net/macvtap.c index eeb1a97..155d60e 100644 --- a/drivers/net/macvtap.c +++ b/drivers/net/macvtap.c @@ -588,7

[RESEND PATCH net-next 3/4] macvtap: remove the dead branch

2013-11-27 Thread Zhi Yong Wu
From: Zhi Yong Wu Signed-off-by: Zhi Yong Wu --- drivers/net/macvtap.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/drivers/net/macvtap.c b/drivers/net/macvtap.c index dc76670..eeb1a97 100644 --- a/drivers/net/macvtap.c +++ b/drivers/net/macvtap.c @@ -780,8 +780,6

[RESEND PATCH net-next 0/4] net: several cleanups

2013-11-27 Thread Zhi Yong Wu
From: Zhi Yong Wu Per David's request, it's time to resend them now. Zhi Yong Wu (4): vhost: remove the dead branch vhost: adjust vhost_dev_init() to be void macvtap: remove the dead branch macvtap: adjust macvtap_skb_to_vnet_hdr() to be void drivers/net/macvtap.c |8

[RESEND PATCH net-next 2/4] vhost: adjust vhost_dev_init() to be void

2013-11-27 Thread Zhi Yong Wu
From: Zhi Yong Wu Signed-off-by: Zhi Yong Wu Acked-by: Michael S. Tsirkin --- drivers/vhost/net.c |4 ++-- drivers/vhost/scsi.c |2 +- drivers/vhost/test.c |3 +-- drivers/vhost/vhost.c |4 +--- drivers/vhost/vhost.h |2 +- 5 files changed, 6 insertions(+), 9 deletions

[RESEND PATCH net-next 0/4] net: several cleanups

2013-11-27 Thread Zhi Yong Wu
From: Zhi Yong Wu wu...@linux.vnet.ibm.com Per David's request, it's time to resend them now. Zhi Yong Wu (4): vhost: remove the dead branch vhost: adjust vhost_dev_init() to be void macvtap: remove the dead branch macvtap: adjust macvtap_skb_to_vnet_hdr() to be void drivers/net

[RESEND PATCH net-next 2/4] vhost: adjust vhost_dev_init() to be void

2013-11-27 Thread Zhi Yong Wu
From: Zhi Yong Wu wu...@linux.vnet.ibm.com Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com Acked-by: Michael S. Tsirkin m...@redhat.com --- drivers/vhost/net.c |4 ++-- drivers/vhost/scsi.c |2 +- drivers/vhost/test.c |3 +-- drivers/vhost/vhost.c |4 +--- drivers/vhost

[RESEND PATCH net-next 4/4] macvtap: adjust macvtap_skb_to_vnet_hdr() to be void

2013-11-27 Thread Zhi Yong Wu
From: Zhi Yong Wu wu...@linux.vnet.ibm.com Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com --- drivers/net/macvtap.c |6 ++ 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/net/macvtap.c b/drivers/net/macvtap.c index eeb1a97..155d60e 100644 --- a/drivers/net

[RESEND PATCH net-next 3/4] macvtap: remove the dead branch

2013-11-27 Thread Zhi Yong Wu
From: Zhi Yong Wu wu...@linux.vnet.ibm.com Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com --- drivers/net/macvtap.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/drivers/net/macvtap.c b/drivers/net/macvtap.c index dc76670..eeb1a97 100644 --- a/drivers/net

[RESEND PATCH net-next 1/4] vhost: remove the dead branch

2013-11-27 Thread Zhi Yong Wu
From: Zhi Yong Wu wu...@linux.vnet.ibm.com Since vhost_dev_init() forever return 0, some branches are never run, therefore need to be removed. Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com Acked-by: Michael S. Tsirkin m...@redhat.com --- drivers/vhost/net.c |5 - drivers/vhost

Re: [RESEND PATCH net-next 0/4] net: several cleanups

2013-11-27 Thread Zhi Yong Wu
On Thu, Nov 28, 2013 at 12:43 PM, David Miller da...@davemloft.net wrote: From: Zhi Yong Wu zwu.ker...@gmail.com Date: Thu, 28 Nov 2013 09:31:29 +0800 Per David's request, it's time to resend them now. No, it is not the time. You should not submit these kinds of patches until the net-next

[PATCH] net, virtio_net: replace the magic value

2013-11-18 Thread Zhi Yong Wu
From: Zhi Yong Wu It is more appropriate to use # of queue pairs currently used by the driver instead of a magic value. Signed-off-by: Zhi Yong Wu Acked-by: Michael S. Tsirkin --- drivers/net/virtio_net.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net

[PATCH 2/2] vhost: adjust vhost_dev_init() to be void

2013-11-18 Thread Zhi Yong Wu
From: Zhi Yong Wu Signed-off-by: Zhi Yong Wu Acked-by: Michael S. Tsirkin --- drivers/vhost/net.c |4 ++-- drivers/vhost/scsi.c |2 +- drivers/vhost/test.c |3 +-- drivers/vhost/vhost.c |4 +--- drivers/vhost/vhost.h |2 +- 5 files changed, 6 insertions(+), 9 deletions

[PATCH 1/2] vhost: remove the dead branch

2013-11-18 Thread Zhi Yong Wu
From: Zhi Yong Wu Since vhost_dev_init() forever return 0, some branches are never run, therefore need to be removed. Signed-off-by: Zhi Yong Wu Acked-by: Michael S. Tsirkin --- drivers/vhost/net.c |5 - drivers/vhost/scsi.c |5 - drivers/vhost/test.c |5 - 3 files

Re: [PATCH 4/4] net, virtio_net: replace the magic value

2013-11-18 Thread Zhi Yong Wu
On Mon, Nov 18, 2013 at 6:15 PM, Michael S. Tsirkin wrote: > On Mon, Nov 18, 2013 at 06:07:45PM +0800, Zhi Yong Wu wrote: >> On Mon, Nov 18, 2013 at 5:50 PM, Michael S. Tsirkin wrote: >> > On Mon, Nov 18, 2013 at 04:46:20PM +0800, Zhi Yong Wu wrote: >&

Re: [PATCH 4/4] net, virtio_net: replace the magic value

2013-11-18 Thread Zhi Yong Wu
On Mon, Nov 18, 2013 at 5:50 PM, Michael S. Tsirkin wrote: > On Mon, Nov 18, 2013 at 04:46:20PM +0800, Zhi Yong Wu wrote: >> From: Zhi Yong Wu >> >> It is more appropriate to use # of queue pairs currently used by >> the driver instead of a magic value. >> >

[PATCH 4/4] net, virtio_net: replace the magic value

2013-11-18 Thread Zhi Yong Wu
From: Zhi Yong Wu It is more appropriate to use # of queue pairs currently used by the driver instead of a magic value. Signed-off-by: Zhi Yong Wu --- drivers/net/virtio_net.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/virtio_net.c b/drivers/net

[PATCH 4/4] net, virtio_net: replace the magic value

2013-11-18 Thread Zhi Yong Wu
From: Zhi Yong Wu wu...@linux.vnet.ibm.com It is more appropriate to use # of queue pairs currently used by the driver instead of a magic value. Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com --- drivers/net/virtio_net.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff

Re: [PATCH 4/4] net, virtio_net: replace the magic value

2013-11-18 Thread Zhi Yong Wu
On Mon, Nov 18, 2013 at 5:50 PM, Michael S. Tsirkin m...@redhat.com wrote: On Mon, Nov 18, 2013 at 04:46:20PM +0800, Zhi Yong Wu wrote: From: Zhi Yong Wu wu...@linux.vnet.ibm.com It is more appropriate to use # of queue pairs currently used by the driver instead of a magic value. Signed-off

Re: [PATCH 4/4] net, virtio_net: replace the magic value

2013-11-18 Thread Zhi Yong Wu
On Mon, Nov 18, 2013 at 6:15 PM, Michael S. Tsirkin m...@redhat.com wrote: On Mon, Nov 18, 2013 at 06:07:45PM +0800, Zhi Yong Wu wrote: On Mon, Nov 18, 2013 at 5:50 PM, Michael S. Tsirkin m...@redhat.com wrote: On Mon, Nov 18, 2013 at 04:46:20PM +0800, Zhi Yong Wu wrote: From: Zhi Yong Wu wu

[PATCH 1/2] vhost: remove the dead branch

2013-11-18 Thread Zhi Yong Wu
From: Zhi Yong Wu wu...@linux.vnet.ibm.com Since vhost_dev_init() forever return 0, some branches are never run, therefore need to be removed. Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com Acked-by: Michael S. Tsirkin m...@redhat.com --- drivers/vhost/net.c |5 - drivers/vhost

[PATCH] net, virtio_net: replace the magic value

2013-11-18 Thread Zhi Yong Wu
From: Zhi Yong Wu wu...@linux.vnet.ibm.com It is more appropriate to use # of queue pairs currently used by the driver instead of a magic value. Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com Acked-by: Michael S. Tsirkin m...@redhat.com --- drivers/net/virtio_net.c |4 ++-- 1 files

[PATCH 2/2] vhost: adjust vhost_dev_init() to be void

2013-11-18 Thread Zhi Yong Wu
From: Zhi Yong Wu wu...@linux.vnet.ibm.com Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com Acked-by: Michael S. Tsirkin m...@redhat.com --- drivers/vhost/net.c |4 ++-- drivers/vhost/scsi.c |2 +- drivers/vhost/test.c |3 +-- drivers/vhost/vhost.c |4 +--- drivers/vhost

Re: [PATCH v6 00/11] VFS hot tracking

2013-11-13 Thread Zhi Yong Wu
Ping On Wed, Nov 6, 2013 at 9:45 PM, Zhi Yong Wu wrote: > From: Zhi Yong Wu > > The patchset is trying to introduce hot tracking function in > VFS layer, which will keep track of real disk I/O in memory. > By it, you will easily know more details about disk I/O, and >

Re: [PATCH v6 00/11] VFS hot tracking

2013-11-13 Thread Zhi Yong Wu
Ping On Wed, Nov 6, 2013 at 9:45 PM, Zhi Yong Wu zwu.ker...@gmail.com wrote: From: Zhi Yong Wu wu...@linux.vnet.ibm.com The patchset is trying to introduce hot tracking function in VFS layer, which will keep track of real disk I/O in memory. By it, you will easily know more details

Re: [PATCH v6 07/11] VFS hot tracking: Add a /proc interface to control memory usage

2013-11-12 Thread Zhi Yong Wu
On Wed, Nov 13, 2013 at 5:02 AM, Dave Hansen wrote: > On 11/12/2013 12:38 PM, Zhi Yong Wu wrote: >> On Wed, Nov 13, 2013 at 1:05 AM, Dave Hansen wrote: >>> The on/off knob seems to me to be something better left to a mount >>> option, not a global tunable. >>

Re: [PATCH v6 07/11] VFS hot tracking: Add a /proc interface to control memory usage

2013-11-12 Thread Zhi Yong Wu
On Wed, Nov 13, 2013 at 1:05 AM, Dave Hansen wrote: > On 11/11/2013 02:45 PM, Zhi Yong Wu wrote: >> On Tue, Nov 12, 2013 at 6:15 AM, Dave Hansen wrote: >>> In general, why do you have to control the number of these statically? >> It gives the user or admin one op

Re: [PATCH v6 07/11] VFS hot tracking: Add a /proc interface to control memory usage

2013-11-12 Thread Zhi Yong Wu
On Wed, Nov 13, 2013 at 1:05 AM, Dave Hansen dave.han...@intel.com wrote: On 11/11/2013 02:45 PM, Zhi Yong Wu wrote: On Tue, Nov 12, 2013 at 6:15 AM, Dave Hansen dave.han...@intel.com wrote: In general, why do you have to control the number of these statically? It gives the user or admin one

Re: [PATCH v6 07/11] VFS hot tracking: Add a /proc interface to control memory usage

2013-11-12 Thread Zhi Yong Wu
On Wed, Nov 13, 2013 at 5:02 AM, Dave Hansen dave.han...@intel.com wrote: On 11/12/2013 12:38 PM, Zhi Yong Wu wrote: On Wed, Nov 13, 2013 at 1:05 AM, Dave Hansen dave.han...@intel.com wrote: The on/off knob seems to me to be something better left to a mount option, not a global tunable

Re: [PATCH v6 07/11] VFS hot tracking: Add a /proc interface to control memory usage

2013-11-11 Thread Zhi Yong Wu
On Tue, Nov 12, 2013 at 6:15 AM, Dave Hansen wrote: > On 11/06/2013 05:45 AM, Zhi Yong Wu wrote: >> Introduce a /proc interface hot-mem-high-thresh and >> to cap the memory which is consumed by hot_inode_item >> and hot_range_item, and they will be in the unit of >> 1

Re: [PATCH v6 00/11] VFS hot tracking

2013-11-11 Thread Zhi Yong Wu
ping? any plan to review? On Wed, Nov 6, 2013 at 9:45 PM, Zhi Yong Wu wrote: > From: Zhi Yong Wu > > The patchset is trying to introduce hot tracking function in > VFS layer, which will keep track of real disk I/O in memory. > By it, you will easily know more details

Re: [PATCH v6 00/11] VFS hot tracking

2013-11-11 Thread Zhi Yong Wu
ping? any plan to review? On Wed, Nov 6, 2013 at 9:45 PM, Zhi Yong Wu zwu.ker...@gmail.com wrote: From: Zhi Yong Wu wu...@linux.vnet.ibm.com The patchset is trying to introduce hot tracking function in VFS layer, which will keep track of real disk I/O in memory. By it, you will easily know

Re: [PATCH v6 07/11] VFS hot tracking: Add a /proc interface to control memory usage

2013-11-11 Thread Zhi Yong Wu
On Tue, Nov 12, 2013 at 6:15 AM, Dave Hansen dave.han...@intel.com wrote: On 11/06/2013 05:45 AM, Zhi Yong Wu wrote: Introduce a /proc interface hot-mem-high-thresh and to cap the memory which is consumed by hot_inode_item and hot_range_item, and they will be in the unit of 1M bytes. You

Re: [PATCH] update xfs maintainers

2013-11-08 Thread Zhi Yong Wu
ve as maintainer of XFS. > > Signed-off-by: Ben Myers > --- > MAINTAINERS |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > Index: b/MAINTAINERS > =========== > --- a/MAINTAINERS 2013-11-08 15:2

[PATCH 2/3] mm, slub: fix the typo in mm/slub.c

2013-11-08 Thread Zhi Yong Wu
From: Zhi Yong Wu Signed-off-by: Zhi Yong Wu --- mm/slub.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mm/slub.c b/mm/slub.c index c3eb3d3..7a64327 100644 --- a/mm/slub.c +++ b/mm/slub.c @@ -155,7 +155,7 @@ static inline bool kmem_cache_has_cpu_partial(struct

[PATCH 3/3] mm, memory-failure: fix the typo in me_pagecache_dirty()

2013-11-08 Thread Zhi Yong Wu
From: Zhi Yong Wu Signed-off-by: Zhi Yong Wu --- mm/memory-failure.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/mm/memory-failure.c b/mm/memory-failure.c index bf3351b..d8ec181 100644 --- a/mm/memory-failure.c +++ b/mm/memory-failure.c @@ -611,7 +611,7 @@ static

[PATCH 1/3] mm, slub: fix the typo in include/linux/slub_def.h

2013-11-08 Thread Zhi Yong Wu
From: Zhi Yong Wu Signed-off-by: Zhi Yong Wu --- include/linux/slub_def.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/linux/slub_def.h b/include/linux/slub_def.h index cc0b67e..f56bfa9 100644 --- a/include/linux/slub_def.h +++ b/include/linux/slub_def.h

[PATCH 3/3] mm, memory-failure: fix the typo in me_pagecache_dirty()

2013-11-08 Thread Zhi Yong Wu
From: Zhi Yong Wu wu...@linux.vnet.ibm.com Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com --- mm/memory-failure.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/mm/memory-failure.c b/mm/memory-failure.c index bf3351b..d8ec181 100644 --- a/mm/memory-failure.c +++ b

[PATCH 1/3] mm, slub: fix the typo in include/linux/slub_def.h

2013-11-08 Thread Zhi Yong Wu
From: Zhi Yong Wu wu...@linux.vnet.ibm.com Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com --- include/linux/slub_def.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/linux/slub_def.h b/include/linux/slub_def.h index cc0b67e..f56bfa9 100644 --- a/include

[PATCH 2/3] mm, slub: fix the typo in mm/slub.c

2013-11-08 Thread Zhi Yong Wu
From: Zhi Yong Wu wu...@linux.vnet.ibm.com Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com --- mm/slub.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mm/slub.c b/mm/slub.c index c3eb3d3..7a64327 100644 --- a/mm/slub.c +++ b/mm/slub.c @@ -155,7 +155,7

Re: [PATCH] update xfs maintainers

2013-11-08 Thread Zhi Yong Wu
, Zhi Yong Wu -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH v6 03/11] VFS hot tracking: Add a workqueue to move items between hot maps

2013-11-06 Thread Zhi Yong Wu
From: Zhi Yong Wu Add a workqueue per superblock and a delayed_work to run periodic work to update map info on each superblock. Two arrays of map list are defined, one is for hot inode items, and the other is for hot extent items. The hot items in the RB-tree will be at first distilled

[PATCH v6 01/11] VFS hot tracking: Define basic data structures and functions

2013-11-06 Thread Zhi Yong Wu
From: Zhi Yong Wu This patch includes the basic data structure and functions needed for VFS hot tracking. It adds hot_inode_tree struct to keep track of frequently accessed files, and is keyed by {inode, offset}. Trees contain hot_inode_items representing those files and hot_range_items

[PATCH v6 09/11] VFS hot tracking, btrfs: Add hot tracking support

2013-11-06 Thread Zhi Yong Wu
From: Zhi Yong Wu Introduce one new mount option '-o hot_track', and add its parsing support. Its usage looks like: mount -o hot_track mount -o nouser,hot_track mount -o nouser,hot_track,loop mount -o hot_track,nouser Reviewed-by: David Sterba Signed-off-by: Chandra Seetharaman

[PATCH v6 10/11] VFS hot tracking, xfs: Add hot tracking support

2013-11-06 Thread Zhi Yong Wu
From: Dave Chinner Connect up the VFS hot tracking support so XFS filesystem can make use of it. Signed-off-by: Dave Chinner Signed-off-by: Zhi Yong Wu --- fs/xfs/xfs_mount.h | 1 + fs/xfs/xfs_super.c | 18 ++ 2 files changed, 19 insertions(+) diff --git a/fs/xfs

[PATCH v6 08/11] VFS hot tracking: Add documentation

2013-11-06 Thread Zhi Yong Wu
From: Zhi Yong Wu Add Documentation for VFS hot tracking feature Signed-off-by: Chandra Seetharaman Signed-off-by: Zhi Yong Wu --- Documentation/filesystems/00-INDEX | 2 + Documentation/filesystems/hot_tracking.txt | 207 + 2 files changed, 209

[PATCH v6 11/11] MAINTAINERS: add the maintainers for VFS hot tracking

2013-11-06 Thread Zhi Yong Wu
From: Zhi Yong Wu This patch adds maintainer information for VFS hot tracking into the MAINTAINERS file. Signed-off-by: Zhi Yong Wu Signed-off-by: Chandra Seetharaman --- MAINTAINERS | 12 1 file changed, 12 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index ffcaf97

[PATCH v6 06/11] VFS hot tracking: Add a /proc interface to make the interval tunable

2013-11-06 Thread Zhi Yong Wu
From: Zhi Yong Wu Add a /proc interface hot-update-interval under the dir /proc/sys/fs/ in order to turn HOT_UPDATE_INTERVAL into a tunable parameter. Signed-off-by: Chandra Seetharaman Signed-off-by: Zhi Yong Wu --- fs/hot_tracking.c| 6 -- fs/hot_tracking.h| 2

[PATCH v6 07/11] VFS hot tracking: Add a /proc interface to control memory usage

2013-11-06 Thread Zhi Yong Wu
From: Zhi Yong Wu Introduce a /proc interface hot-mem-high-thresh and to cap the memory which is consumed by hot_inode_item and hot_range_item, and they will be in the unit of 1M bytes. Signed-off-by: Chandra Seetharaman Signed-off-by: Zhi Yong Wu --- fs/hot_tracking.c| 29

<    1   2   3   4   5   >