[Devel] [PATCH RHEL7 COMMIT] ve: Port diff-ve-allow-taskstats-netlink-in-netns
Konstantin Khorenko
khorenko at virtuozzo.com
Wed Jun 24 03:42:05 PDT 2015
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.17
------>
commit 37e8e100b6e45d9ca5ed35639790cb9db6164686
Author: Vladimir Davydov <vdavydov at parallels.com>
Date: Wed Jun 24 14:42:05 2015 +0400
ve: Port diff-ve-allow-taskstats-netlink-in-netns
In fact this patch was in 084.9 already, but was committed in kernel-ve,
so this is a move from kernel-ve to kernel-patches.
From: Konstantin Khlebnikov <khlebnikov at openvz.org>
Date: Thu, 12 Sep 2013 15:25:31 +0400
Subject: [vzlin-dev] [PATCH rh6] ve: allow taskstats netlink in netns
This patch adds support for iotop inside containers.
Task-exit notification isn't pidns aware and isn't required by iotop.
https://bugzilla.openvz.org/show_bug.cgi?id=2549
Signed-off-by: Konstantin Khlebnikov <khlebnikov at openvz.org>
Acked-by: Andrew Vagin <avagin at openvz.org>
=============================================================================
Related to https://jira.sw.ru/browse/PSBM-33650
Signed-off-by: Vladimir Davydov <vdavydov at parallels.com>
---
kernel/taskstats.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/kernel/taskstats.c b/kernel/taskstats.c
index 145bb4d..05f8030c 100644
--- a/kernel/taskstats.c
+++ b/kernel/taskstats.c
@@ -46,6 +46,7 @@ static struct genl_family family = {
.name = TASKSTATS_GENL_NAME,
.version = TASKSTATS_GENL_VERSION,
.maxattr = TASKSTATS_CMD_ATTR_MAX,
+ .netnsok = true,
};
static const struct nla_policy taskstats_cmd_get_policy[TASKSTATS_CMD_ATTR_MAX+1] = {
More information about the Devel
mailing list