Re: [Devel] [PATCH rh7 0/7] ub: resurrect blkio prio/stats

2015-06-10 Thread Dmitry Monakhov
Konstantin Khorenko writes: > Dima, please review the patchset. > > -- > Best regards, > > Konstantin Khorenko, > Virtuozzo Linux Kernel Team > > On 06/09/2015 05:06 PM, Vladimir Davydov wrote: >> https://jira.sw.ru/browse/PSBM-34007 >> >> Vladimir Davydov (7): >> ioprio: move IOPRIO_WHO_UBC h

[Devel] [PATCH RHEL7 COMMIT] debugfs: drop set_exec_ub in file create

2015-06-10 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-123.1.2-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-123.1.2.vz7.5.12 --> commit f1e7469789e5791c6e97457a60f9ef9cc0c1802e Author: Vladimir Davydov Date: Wed Jun 10 20:33:00 2015 +0400 debugfs: drop set_e

[Devel] [PATCH RHEL7 COMMIT] ub: drop ub_cachep

2015-06-10 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-123.1.2-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-123.1.2.vz7.5.12 --> commit c5638848e39180bd9110d4ab8371b7dd518e52d1 Author: Vladimir Davydov Date: Wed Jun 10 20:15:35 2015 +0400 ub: drop ub_cachep

[Devel] [PATCH RHEL7 COMMIT] ub: hide dcachesize and oomguarpages in ub cgroup

2015-06-10 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-123.1.2-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-123.1.2.vz7.5.12 --> commit 464d12b5ffb3f2c1cc8dba58b3b6a3ca8de43b24 Author: Vladimir Davydov Date: Wed Jun 10 20:05:25 2015 +0400 ub: hide dcachesize

Re: [Devel] [PATCH rh7] ub: resurrect sync accounting

2015-06-10 Thread Dmitry Monakhov
Konstantin Khorenko writes: Acked-by > Dima, please review. > > -- > Best regards, > > Konstantin Khorenko, > Virtuozzo Linux Kernel Team > > On 06/10/2015 11:16 AM, Vladimir Davydov wrote: >> Related to https://jira.sw.ru/browse/PSBM-34007 >> >> Signed-off-by: Vladimir Davydov >> --- >> fs/s

[Devel] [PATCH RHEL7 COMMIT] ve/net: Track netfilter modules per net-namespace-v3

2015-06-10 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-123.1.2-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-123.1.2.vz7.5.12 --> commit c158fe3fdf4a6961ba5a010fb03c4c365ca3e9bd Author: Kirill Tkhai Date: Wed Jun 10 19:15:01 2015 +0400 ve/net: Track netfilter

[Devel] [PATCH RH7] net: tun: don't loose NETIF_F_VIRTUAL device feature

2015-06-10 Thread Pavel Tikhomirov
else there would be no permission to use tun inside CT https://jira.sw.ru/browse/PSBM-34066 Signed-off-by: Pavel Tikhomirov --- drivers/net/tun.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/tun.c b/drivers/net/tun.c index 9c57c11..d89daf6 100644 --- a/drivers/

[Devel] [PATCH RHEL7 COMMIT] ms/bridge: superfluous skb->nfct check in br_nf_dev_queue_xmit

2015-06-10 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-123.1.2-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-123.1.2.vz7.5.12 --> commit 30783dd54918702cd893d1faf28a210c6558502b Author: Kirill Tkhai Date: Wed Jun 10 19:09:09 2015 +0400 ms/bridge: superfluous

[Devel] [PATCH RHEL7 COMMIT] ve/ipset: prohibit ipset from the inside CT

2015-06-10 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-123.1.2-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-123.1.2.vz7.5.12 --> commit 845504788d862ed3f094e4ce65b1cfaa1f4e0a48 Author: Kirill Tkhai Date: Wed Jun 10 19:08:47 2015 +0400 ve/ipset: prohibit ipse

[Devel] [PATCH RHEL7 COMMIT] ve/ip_gre: containerize per-net devices

2015-06-10 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-123.1.2-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-123.1.2.vz7.5.12 --> commit 41b5319e8d1f66cb250f012b39c619f946bddc67 Author: Kirill Tkhai Date: Wed Jun 10 19:08:35 2015 +0400 ve/ip_gre: containerize

[Devel] [PATCH RHEL7 COMMIT] venet: prevent to change network namespaces

2015-06-10 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-123.1.2-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-123.1.2.vz7.5.12 --> commit 4a413a71bcd791df4e8cdcb7cb960c52d0549add Author: Kirill Tkhai Date: Wed Jun 10 19:08:23 2015 +0400 venet: prevent to chang

Re: [Devel] [PATCH 04/14] Subject: ve/net/bridge: don't set NULL in skb->dev

2015-06-10 Thread Kirill Tkhai
В Ср, 10/06/2015 в 17:37 +0300, Konstantin Khorenko пишет: > On 06/10/2015 11:42 AM, Kirill Tkhai wrote: > > В Ср, 10/06/2015 в 11:35 +0300, Konstantin Khorenko пишет: > >> JFYI: this patch is related to via_phys_dev feature, > >> we've dropped it => no need for this patch. > > > > When you did th

[Devel] [PATCH RHEL7 COMMIT] ve/netfilter: Add permittion check in iptable_raw pernet

2015-06-10 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-123.1.2-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-123.1.2.vz7.5.12 --> commit 26c7893dfc97569f718e6390afe0db26f9078376 Author: Kirill Tkhai Date: Wed Jun 10 18:49:21 2015 +0400 ve/netfilter: Add permi

[Devel] [PATCH RHEL7 COMMIT] ve/net/iptables: Add ipv6 bits into VE_IP_DEFAULT

2015-06-10 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-123.1.2-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-123.1.2.vz7.5.12 --> commit 8bd6c3e703515b86677c16238383ba16a5fd0c49 Author: Kirill Tkhai Date: Wed Jun 10 18:47:11 2015 +0400 ve/net/iptables: Add ip

Re: [Devel] [PATCH rh7] tswap: fix panic on store if page exists

2015-06-10 Thread Pavel Tikhomirov
Seam ok for me. No longer able to reproduce crash. Reviewed-by: Pavel Tikhomirov On 06/09/2015 07:56 PM, Vladimir Davydov wrote: frontswap_store can be called on a page even if there is already one cached in frontswap at the same offset. This can happen e.g. if vmscan fails to free a swap cach

[Devel] [PATCH RHEL7 COMMIT] ve/net: CAP_VE_NET_ADMIN must be a subset of CAP_NET_ADMIN

2015-06-10 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-123.1.2-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-123.1.2.vz7.5.12 --> commit ab8432f1e8a5e4361a045228616a99605bf851b7 Author: Kirill Tkhai Date: Wed Jun 10 18:42:41 2015 +0400 ve/net: CAP_VE_NET_ADMI

[Devel] [PATCH RHEL7 COMMIT] netfilter: MARK -- drop off @table entity to support rhel5 containers, v2

2015-06-10 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-123.1.2-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-123.1.2.vz7.5.12 --> commit 1794ab839e406052da53afbf6871d29baea27802 Author: Kirill Tkhai Date: Wed Jun 10 18:39:09 2015 +0400 netfilter: MARK -- drop

Re: [Devel] [PATCH 04/14] Subject: ve/net/bridge: don't set NULL in skb->dev

2015-06-10 Thread Konstantin Khorenko
On 06/10/2015 11:42 AM, Kirill Tkhai wrote: > В Ср, 10/06/2015 в 11:35 +0300, Konstantin Khorenko пишет: >> JFYI: this patch is related to via_phys_dev feature, >> we've dropped it => no need for this patch. > > When you did that? My git tree is about to be fresh updated, > but I'm still seeing vi

[Devel] [PATCH RHEL7 COMMIT] ub: drop ub_debug* macros

2015-06-10 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-123.1.2-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-123.1.2.vz7.5.12 --> commit a327fdcdfa2a978f027fe39ad54b4b9ffd26170f Author: Vladimir Davydov Date: Wed Jun 10 18:16:33 2015 +0400 ub: drop ub_debug*

[Devel] [PATCH RHEL7 COMMIT] ub: Makefile: drop net.o

2015-06-10 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-123.1.2-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-123.1.2.vz7.5.12 --> commit f7cb3aeb99e5a9ca4ea06461058bec3bd32dc584 Author: Vladimir Davydov Date: Wed Jun 10 18:20:33 2015 +0400 ub: Makefile: drop

[Devel] [PATCH RHEL7 COMMIT] cgroup: unexport css_refcnt

2015-06-10 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-123.1.2-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-123.1.2.vz7.5.12 --> commit dd45f6e68af3fa0002e263400a6b9d0c83d117c1 Author: Vladimir Davydov Date: Wed Jun 10 18:17:16 2015 +0400 cgroup: unexport cs

[Devel] [PATCH RHEL7 COMMIT] ub: drop CONFIG_BC_DEBUG_ITEMS

2015-06-10 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-123.1.2-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-123.1.2.vz7.5.12 --> commit fe215457297fd53ede263fd8bb627f006eeb6151 Author: Vladimir Davydov Date: Wed Jun 10 18:16:16 2015 +0400 ub: drop CONFIG_BC_

[Devel] [PATCH RHEL7 COMMIT] ub: drop /proc/bc/BCID/debug

2015-06-10 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-123.1.2-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-123.1.2.vz7.5.12 --> commit 6766c0363252159f488f72e5b7ea3500fa106fb0 Author: Vladimir Davydov Date: Wed Jun 10 18:15:53 2015 +0400 ub: drop /proc/bc/B

Re: [Devel] [PATCH rh7] ub: resurrect sync accounting

2015-06-10 Thread Konstantin Khorenko
Dima, please review. -- Best regards, Konstantin Khorenko, Virtuozzo Linux Kernel Team On 06/10/2015 11:16 AM, Vladimir Davydov wrote: > Related to https://jira.sw.ru/browse/PSBM-34007 > > Signed-off-by: Vladimir Davydov > --- > fs/sync.c | 34 +++--- > 1 file chan

Re: [Devel] [PATCH] net: netlink -- Use ifinfomsg in dumping

2015-06-10 Thread Cyrill Gorcunov
On Wed, Jun 10, 2015 at 01:17:18PM +0300, Kirill Tkhai wrote: > > Made in scope of https://jira.sw.ru/browse/PSBM-33645 > > Signed-off-by: Kirill Tkhai Acked-by: Cyrill Gorcunov ___ Devel mailing list Devel@openvz.org https://lists.openvz.org/mailman/

[Devel] [PATCH] net: netlink -- Use ifinfomsg in dumping

2015-06-10 Thread Kirill Tkhai
Porting patch diff-ms-net-netlink-use-ifinfomsg-in-dumping-information-about-interfaces-v2 from 2.6.32: Newer iproute2 package uses struct ifinfomsg to encode information about ext_filter_mask (see commit 63338dca45135c85c7f588bd5068e6e77ff816eb in iproute package) but the kernel is not updated

[Devel] [PATCH rh7] ub: hide dcachesize and oomguarpages in ub cgroup

2015-06-10 Thread Vladimir Davydov
The knobs for dcachesize and oomguarpages are useless, just like for physpages, swappages, and kmemsize, because the underlying resources are managed by memcg. Signed-off-by: Vladimir Davydov --- kernel/bc/beancounter.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/kern

Re: [Devel] [vzlin-dev] [RH7 PATCH 1/2] port diff-ext4-in-containers-treat-panic_on_errors-as-remount-ro_on_errors

2015-06-10 Thread Dmitry Monakhov
Konstantin Khorenko writes: > Dima, > > 1) why do we need this patch now? AFAIU primary usage for this pathes is second ploop. Am I right? > > Currently we have devmnt->allowed_options options which are configured via > userspace and currently vzctl provides empty list. > So how it's possible th

[Devel] [PATCH rh7] debugfs: drop set_exec_ub in file create

2015-06-10 Thread Vladimir Davydov
Hell knows why it was done - I haven't managed to find the patch. I can only suspect that this was done to avoid charging the new dentry to UBC/KMEM. Now, kmem is accounted on the memcg side, so this hunk is needless. Remove it. Signed-off-by: Vladimir Davydov --- fs/debugfs/inode.c | 4 1

[Devel] [PATCH rh7] ub: drop ub_cachep

2015-06-10 Thread Vladimir Davydov
No need in a separate kmem cache for user_beancounter structs. Just use kmalloc. Signed-off-by: Vladimir Davydov --- kernel/bc/beancounter.c | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/kernel/bc/beancounter.c b/kernel/bc/beancounter.c index 2f1ad7b8e310..61a0b

Re: [Devel] [PATCH 03/14] net: Port diff-ve-net-af_packet-use-nonpksb

2015-06-10 Thread Konstantin Khorenko
Pasha, a question for you: long-long ago you've added the ancestor of this patch, it was done because "pksbs are not yet accounted properly". As you've reworked network accounting recently: are they accounted now? (as far as i see - yes, in kmem) Do we still need this trick? -- Best regards, K

Re: [Devel] [PATCH 01/14] netpoll: don't free skb from completion_queue in interrupt context

2015-06-10 Thread Kirill Tkhai
В Ср, 10/06/2015 в 11:33 +0300, Konstantin Khorenko пишет: > Do we need to send it upstream if the problem still not resolved in 3.10? > May be it's still valid for 4.x as well? The call chain from the old patch is still possible. We may send this to upstream. > -- > Best regards, > > Konstanti

Re: [Devel] [PATCH 04/14] Subject: ve/net/bridge: don't set NULL in skb->dev

2015-06-10 Thread Kirill Tkhai
В Ср, 10/06/2015 в 11:35 +0300, Konstantin Khorenko пишет: > JFYI: this patch is related to via_phys_dev feature, > we've dropped it => no need for this patch. When you did that? My git tree is about to be fresh updated, but I'm still seeing via_phys_dev there. > -- > Best regards, > > Konstanti

Re: [Devel] [PATCH 02/14] netfilter: Add {ipt, ip6t}_osf aliases for xt_osf

2015-06-10 Thread Konstantin Khorenko
Already committed, so skipping this time. commit 3a48d7fbd18778d5ff0e9c77021c2cae73dff3bd Author: Kirill Tkhai Date: Thu Jun 4 18:32:06 2015 +0400 ms/netfilter: Add {ipt,ip6t}_osf aliases for xt_osf Porting mainstream commit b8ddd9eac8788b0aa9a9d4e09d76dc9e1667bb2c: Orig auth

Re: [Devel] [PATCH 04/14] Subject: ve/net/bridge: don't set NULL in skb->dev

2015-06-10 Thread Konstantin Khorenko
JFYI: this patch is related to via_phys_dev feature, we've dropped it => no need for this patch. -- Best regards, Konstantin Khorenko, Virtuozzo Linux Kernel Team On 06/08/2015 05:20 PM, Kirill Tkhai wrote: > Porting patches diff-ve-net-bridge-dont-set-NULL-in-skb-dev > and diff-ve-net-bridge-do

Re: [Devel] [PATCH 01/14] netpoll: don't free skb from completion_queue in interrupt context

2015-06-10 Thread Konstantin Khorenko
Do we need to send it upstream if the problem still not resolved in 3.10? May be it's still valid for 4.x as well? -- Best regards, Konstantin Khorenko, Virtuozzo Linux Kernel Team On 06/08/2015 05:20 PM, Kirill Tkhai wrote: > Porting patch > diff-netpoll-dont-free-skb-from-completion_queue-in-

[Devel] [PATCH rh7] ub: resurrect sync accounting

2015-06-10 Thread Vladimir Davydov
Related to https://jira.sw.ru/browse/PSBM-34007 Signed-off-by: Vladimir Davydov --- fs/sync.c | 34 +++--- 1 file changed, 31 insertions(+), 3 deletions(-) diff --git a/fs/sync.c b/fs/sync.c index abad041f52a4..45649b617bae 100644 --- a/fs/sync.c +++ b/fs/sync.c @@ -