From: WANG Cong <xiyou.wangc...@gmail.com>
Signed-off-by: Cong Wang <xiyou.wangc...@gmail.com>
Signed-off-by: David S. Miller <da...@davemloft.net>
Signed-off-by: Stanislav Kinsburskiy <skinsbur...@odin.com>
---
net/ipv4/ipmr.c |2 +-
net/ipv6/ip6mr.c |
Hello gentlemen,
There was NETNS_REFCNT_DEBUG debug introduced in past to track down
situations, when network namespace is being hold (not referenced;
another ref count is used) by various objects, so, on net namespace
release such situations with leaked network objects can be reported.
We
23.11.2015 16:53, Andrey Ryabinin пишет:
On 11/23/2015 06:46 PM, Stanislav Kinsburskiу wrote:
+1
I'm curious, why network namespace is not reported as leaked...
3) This object holds network namespace. And it also have to be leaked leaked
after CT stop. Is it?
Why do you think it leaked?
h.
Another thing to notice, is that code is moved to a separate source file.
The reason for this is to simplify rebases in future.
https://jira.sw.ru/browse/PSBM-33071
v2: All the code was moved to mm/pages_alloc.c
Signed-off-by: Stanislav Kinsburskiy <skinsbur...@virtuozzo.com>
---
mm/pag
Please, ignore
18.11.2015 17:30, Stanislav Kinsburskiy пишет:
https://jira.sw.ru/browse/PSBM-39726
Signed-off-by: Stanislav Kinsburskiy <skinsbur...@virtuozzo.com>
---
drivers/net/tun.c |5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/net/tun.c b/d
h.
Another thing to notice, is that code is moved to a separate source file.
The reason for this is to simplify rebases in future.
https://jira.sw.ru/browse/PSBM-33071
Signed-off-by: Stanislav Kinsburskiy <skinsbur...@virtuozzo.com>
---
mm/Makefile |2 +-
mm/internal.h |2 ++
18.11.2015 17:07, Vladimir Davydov пишет:
On Wed, Nov 18, 2015 at 07:12:10PM +0400, Stanislav Kinsburskiy wrote:
This patch add pages zeroing option to free_pages_prepare().
It's disabled by default. To enable it one should add "zero-free-pages"
kernel option to kernel boot parame
https://jira.sw.ru/browse/PSBM-39726
Signed-off-by: Stanislav Kinsburskiy <skinsbur...@virtuozzo.com>
---
drivers/net/tun.c |5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/net/tun.c b/drivers/net/tun.c
index dd14140..e6735c8 100644
--- a/drivers/net
h.
Another thing to notice, is that code is moved to a separate source file.
The reason for this is to simplify rebases in future.
https://jira.sw.ru/browse/PSBM-33071
Signed-off-by: Stanislav Kinsburskiy <skinsbur...@virtuozzo.com>
---
mm/Makefile |2 +-
mm/internal.h |2 ++
https://jira.sw.ru/browse/PSBM-39726
Signed-off-by: Stanislav Kinsburskiy <skinsbur...@virtuozzo.com>
---
drivers/net/tun.c |5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/net/tun.c b/drivers/net/tun.c
index dd14140..e6735c8 100644
--- a/drivers/net
https://jira.sw.ru/browse/PSBM-39726
Signed-off-by: Stanislav Kinsburskiy <skinsbur...@virtuozzo.com>
---
drivers/net/tun.c |5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/net/tun.c b/drivers/net/tun.c
index dd14140..e6735c8 100644
--- a/drivers/net
18.11.2015 14:46, Konstantin Khorenko пишет:
On 11/17/2015 06:31 PM, Stanislav Kinsburskiy wrote:
17.11.2015 16:08, Vladimir Davydov пишет:
On Tue, Nov 17, 2015 at 03:42:46PM +0100, Stanislav Kinsburskiy wrote:
17.11.2015 15:20, Vladimir Davydov пишет:
On Thu, Nov 12, 2015 at 10:01:14PM
17.11.2015 16:08, Vladimir Davydov пишет:
On Tue, Nov 17, 2015 at 03:42:46PM +0100, Stanislav Kinsburskiy wrote:
17.11.2015 15:20, Vladimir Davydov пишет:
On Thu, Nov 12, 2015 at 10:01:14PM +0400, Stanislav Kinsburskiy wrote:
@@ -0,0 +1,23 @@
+#ifndef _ASM_X86_FREE_PAGE_H
+#define
17.11.2015 15:20, Vladimir Davydov пишет:
On Thu, Nov 12, 2015 at 10:01:14PM +0400, Stanislav Kinsburskiy wrote:
@@ -0,0 +1,23 @@
+#ifndef _ASM_X86_FREE_PAGE_H
+#define _ASM_X86_FREE_PAGE_H
+
+#ifdef __KERNEL__
+
+#ifndef __ASSEMBLY__
+
+#include
+
+#define HAVE_ARCH_FREE_PAGE
+
+extern
16.11.2015 12:44, Andrey Ryabinin пишет:
On 11/12/2015 08:07 PM, Stanislav Kinsburskiу wrote:
12 нояб. 2015 г. 17:51 пользователь Andrey Wagin написал:
[root@fc22-vm ~]# unshare --fork -p
[root@fc22-vm ~]# kill -9 1
[root@fc22-vm ~]# kill -9 1
[root@fc22-vm ~]# kill -9 1
-by: Stanislav Kinsburskiy <skinsbur...@virtuozzo.com>
---
kernel/ve/vznetstat/vznetstat.c |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/kernel/ve/vznetstat/vznetstat.c b/kernel/ve/vznetstat/vznetstat.c
index 99feafb..c47865a 100644
--- a/kernel/ve/vznetstat/vznet
12.11.2015 15:53, Andrey Wagin пишет:
2015-11-12 17:46 GMT+03:00 Stanislav Kinsburskiу :
12 нояб. 2015 г. 15:14 пользователь Andrey Ryabinin
написал:
CRIU sends SIGKILL to container's init process as a part of
cleanup process if restoring
s).
https://jira.sw.ru/browse/PSBM-33071
Signed-off-by: Stanislav Kinsburskiy <skinsbur...@virtuozzo.com>
---
arch/x86/include/asm/free_page.h | 23 +++
arch/x86/include/asm/thread_info.h |1 +
arch/x86/mm/Makefile |2 +-
arch/x86/mm/free_page.c
12.11.2015 16:47, Andrey Ryabinin пишет:
On 11/12/2015 05:59 PM, Stanislav Kinsburskiy wrote:
12.11.2015 15:53, Andrey Wagin пишет:
2015-11-12 17:46 GMT+03:00 Stanislav Kinsburskiу <skinsbur...@odin.com>:
12 нояб. 2015 г. 15:14 пользователь Andrey Ryabinin <aryabi...@virtuozzo.com&
12.11.2015 17:11, Andrey Ryabinin пишет:
On 11/12/2015 07:08 PM, Stanislav Kinsburskiy wrote:
12.11.2015 16:47, Andrey Ryabinin пишет:
On 11/12/2015 05:59 PM, Stanislav Kinsburskiy wrote:
12.11.2015 15:53, Andrey Wagin пишет:
2015-11-12 17:46 GMT+03:00 Stanislav Kinsburskiу <skins
11.11.2015 15:40, Konstantin Khorenko пишет:
On 11/10/2015 05:56 PM, Andrey Ryabinin wrote:
On 11/10/2015 05:52 PM, Stanislav Kinsburskiy wrote:
goto err;
+if (get_exec_env()->init_cred)
+root_user_ns = get_exec_env()->init_cred->user_ns;
Thanks. That's much better.
But maybe we could simplify it even more?
Please, take a look at my comments inlined. They allow to reduce impact
to generic code even further and simplify future rebasing (which is
usually a lot of pain).
11.11.2015 10:33, Evgenii Shatokhin пишет:
10.11.2015 15:30, Andrey Ryabinin пишет:
Currently mounting fuse fs inside CT fails because
we don't pass (file->f_cred->user_ns != _user_ns) check.
Test file's namespace against VE's init_cred->user_ns instead.
This allows to use fuse inside containers.
https://jira.sw.ru/browse/PSBM-41075
09.11.2015 15:13, Andrew Vagin пишет:
On Thu, Nov 05, 2015 at 07:37:31PM +0300, Evgenii Shatokhin wrote:
05.11.2015 18:45, Konstantin Khorenko пишет:
Zenya,
1) an idea from Volodya Davydov: we can store the pointer to ve_struct,
not the veid,
thus we'll eliminate possible races with
tmpfiles.d:
# cat /etc/tmpfiles.d/device-autofs.conf
c /dev/autofs 0700 root root - 10:235
Jira: https://jira.sw.ru/browse/PSBM-26968
Signed-off-by: Stanislav Kinsburskiy <skinsbur...@virtuozzo.com>
---
fs/autofs4/dev-ioctl.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --g
Please, ignore this patch set. It has compilation issue in XFS.
06.11.2015 16:41, Stanislav Kinsburskiy пишет:
This patch set is a back ported "ext4 project quota v15" series by Li Xi.
The patch set is not upstream yet, but it looks like mostly accepted by
maintainers and,
uota-tools and e2fsprogs state.
Jira link: https://jira.sw.ru/browse/PSBM-40727
v2: fixed XFS compilation error due to structure re-definition
---
Stanislav Kinsburskiy (4):
ext4: adds project ID support
ext4: adds project quota support
ext4: adds FS_IOC_FSSETXATTR/FS_IOC_FSGETXATTR interfa
lt;dmonak...@openvz.org>
Reviewed-by: Andreas Dilger <adil...@dilger.ca>
Reviewed-by: Jan Kara <j...@suse.cz>
Signed-off-by: Stanislav Kinsburskiy <skinsbur...@virtuozzo.com>
---
fs/ext4/ext4.h |2 +-
fs/ext4/super.c | 56 ++
ndreas Dilger <adil...@dilger.ca>
Reviewed-by: Jan Kara <j...@suse.cz>
Signed-off-by: Stanislav Kinsburskiy <skinsbur...@virtuozzo.com>
---
fs/ext4/ext4.h | 14 ++
fs/ext4/ialloc.c |7 +++
fs/ext4/inode.c | 28
.ca>
Reviewed-by: Jan Kara suse.cz>
Signed-off-by: Stanislav Kinsburskiy <skinsbur...@virtuozzo.com>
---
fs/ext4/ext4.h |9 +
fs/ext4/ioctl.c | 366 ---
fs/xfs/xfs_fs.h | 13 --
include/uapi/linux/fs.h | 3
viewed-by: Andreas Dilger <adil...@dilger.ca>
Signed-off-by: Stanislav Kinsburskiy <skinsbur...@virtuozzo.com>
---
fs/ext4/ext4.h | 50 +-
1 file changed, 25 insertions(+), 25 deletions(-)
diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h
index
z.org>
Reviewed-by: Jan Kara <j...@suse.cz>
Signed-off-by: Jan Kara <j...@suse.cz>
Signed-off-by: Stanislav Kinsburskiy <skinsbur...@virtuozzo.com>
---
fs/quota/dquot.c | 20 +---
fs/quota/quotaio_v2.h |6 --
include/linux/quota.h |
types each filesystem
supports.
Acked-by: Christoph Hellwig <h...@lst.de>
Signed-off-by: Jan Kara <j...@suse.cz>
Signed-off-by: Stanislav Kinsburskiy <skinsbur...@virtuozzo.com>
---
fs/quota/quota.c | 13 +++--
fs/super.c|6 ++
include/linux/f
t supports
ext4: Convert to private i_dquot field
quota: Remove const from function declarations
quota: Use function to provide i_dquot pointers
Li Xi (1):
vfs: Add general support to enforce project quota limits
Stanislav Kinsburskiy (1):
ext4: reserve c
From: Jan Kara <j...@suse.cz>
We don't use const through VFS too much so just remove it from quota
function declarations.
Signed-off-by: Jan Kara <j...@suse.cz>
Signed-off-by: Stanislav Kinsburskiy <skinsbur...@virtuozzo.com>
---
fs/quota/dquot.c |4 ++--
includ
types each filesystem
supports.
Acked-by: Christoph Hellwig <h...@lst.de>
Signed-off-by: Jan Kara <j...@suse.cz>
Signed-off-by: Stanislav Kinsburskiy <skinsbur...@virtuozzo.com>
---
fs/quota/quota.c | 13 +++--
fs/super.c|6 ++
include/linux/f
From: Jan Kara <j...@suse.cz>
CC: linux-e...@vger.kernel.org
Acked-by: "Theodore Ts'o" <ty...@mit.edu>
Acked-by: Christoph Hellwig <h...@lst.de>
Signed-off-by: Jan Kara <j...@suse.cz>
Signed-off-by: Stanislav Kinsburskiy <skinsbur...@virtuozzo.com>
-
ara <j...@suse.cz>
Signed-off-by: Theodore Ts'o <ty...@mit.edu>
Signed-off-by: Stanislav Kinsburskiy <skinsbur...@virtuozzo.com>
---
fs/ext4/ext4.h |5 -
fs/ext4/ext4_jbd2.h |6 +++---
fs/ext4/super.c | 22 +++---
3 files changed, 18 ins
z.org>
Reviewed-by: Jan Kara <j...@suse.cz>
Signed-off-by: Jan Kara <j...@suse.cz>
Signed-off-by: Stanislav Kinsburskiy <skinsbur...@virtuozzo.com>
---
fs/quota/dquot.c | 20 +---
fs/quota/quotaio_v2.h |6 --
include/linux/quota.h |
From: Jan Kara <j...@suse.cz>
CC: linux-e...@vger.kernel.org
Acked-by: "Theodore Ts'o" <ty...@mit.edu>
Acked-by: Christoph Hellwig <h...@lst.de>
Signed-off-by: Jan Kara <j...@suse.cz>
Signed-off-by: Stanislav Kinsburskiy <skinsbur...@virtuozzo.com>
-
From: Jan Kara <j...@suse.cz>
We don't use const through VFS too much so just remove it from quota
function declarations.
Signed-off-by: Jan Kara <j...@suse.cz>
Signed-off-by: Stanislav Kinsburskiy <skinsbur...@virtuozzo.com>
---
fs/quota/dquot.c |4 ++--
includ
i_dquot field
quota: Remove const from function declarations
quota: Use function to provide i_dquot pointers
Li Xi (1):
vfs: Add general support to enforce project quota limits
Stanislav Kinsburskiy (1):
ext4: reserve code points for the project quota feature
fs/ext4/ext4.h
Signed-off-by: Theodore Ts'o <ty...@mit.edu>
Signed-off-by: Stanislav Kinsburskiy <skinsbur...@virtuozzo.com>
---
fs/ext4/ext4.h |8 +++-
include/uapi/linux/fs.h |1 +
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h
i
.cz>
Signed-off-by: Stanislav Kinsburskiy <skinsbur...@virtuozzo.com>
---
fs/quota/dquot.c | 54 ++--
include/linux/fs.h |1 +
2 files changed, 32 insertions(+), 23 deletions(-)
diff --git a/fs/quota/dquot.c b/fs/quota/dquot.c
index a58f8c1.
.cz>
Signed-off-by: Stanislav Kinsburskiy <skinsbur...@virtuozzo.com>
---
fs/quota/dquot.c | 54 ++--
include/linux/fs.h |1 +
2 files changed, 32 insertions(+), 23 deletions(-)
diff --git a/fs/quota/dquot.c b/fs/quota/dquot.c
index a58f8c1.
Signed-off-by: Theodore Ts'o <ty...@mit.edu>
Signed-off-by: Stanislav Kinsburskiy <skinsbur...@virtuozzo.com>
---
fs/ext4/ext4.h |8 +++-
include/uapi/linux/fs.h |1 +
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h
i
ara <j...@suse.cz>
Signed-off-by: Theodore Ts'o <ty...@mit.edu>
Signed-off-by: Stanislav Kinsburskiy <skinsbur...@virtuozzo.com>
---
fs/ext4/ext4.h |5 -
fs/ext4/ext4_jbd2.h |6 +++---
fs/ext4/super.c | 22 +++---
3 files changed, 18 ins
viewed-by: Andreas Dilger <adil...@dilger.ca>
Signed-off-by: Stanislav Kinsburskiy <skinsbur...@virtuozzo.com>
---
fs/ext4/ext4.h | 50 +-
1 file changed, 25 insertions(+), 25 deletions(-)
diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h
index
.ca>
Reviewed-by: Jan Kara suse.cz>
Signed-off-by: Stanislav Kinsburskiy <skinsbur...@virtuozzo.com>
---
fs/ext4/ext4.h |9 +
fs/ext4/ioctl.c | 366 ---
include/uapi/linux/fs.h | 32
3 files changed, 321 insertions(+
ndreas Dilger <adil...@dilger.ca>
Reviewed-by: Jan Kara <j...@suse.cz>
Signed-off-by: Stanislav Kinsburskiy <skinsbur...@virtuozzo.com>
---
fs/ext4/ext4.h | 14 ++
fs/ext4/ialloc.c |7 +++
fs/ext4/inode.c | 28
lt;dmonak...@openvz.org>
Reviewed-by: Andreas Dilger <adil...@dilger.ca>
Reviewed-by: Jan Kara <j...@suse.cz>
Signed-off-by: Stanislav Kinsburskiy <skinsbur...@virtuozzo.com>
---
fs/ext4/ext4.h |2 +-
fs/ext4/super.c | 56 ++
uota-tools and e2fsprogs state.
Jira link: https://jira.sw.ru/browse/PSBM-40727
---
Stanislav Kinsburskiy (4):
ext4: adds project ID support
ext4: adds project quota support
ext4: adds FS_IOC_FSSETXATTR/FS_IOC_FSGETXATTR interface support
ext4: cleanup inode flag definitions
fs/e
Yet again these sysctl handles...(((
I have some questions.
Please, see inlined.
02.11.2015 16:11, Evgenii Shatokhin пишет:
https://jira.sw.ru/browse/PSBM-34438
(This fix was adapted from PCS6.)
It is possible for a container to create lots of mount points, which may
make operations with them
From: Stanislav Kinsburskiy <skinsbur...@parallels.com>
Compilation errors:
In file included from fs/block_dev.c:16:0:
fs/block_dev.c: В функции «bd_write_size»:
include/linux/blkdev.h:1649:32: ошибка: оператор без побочного эффекта
[-Werror=unused-value]
#define blk_cbt_update_size
From: Stanislav Kinsburskiy <skinsbur...@parallels.com>
This fixes -EPERM result for link creation by root in container
https://jira.sw.ru/browse/PSBM-40567
Signed-off-by: Stanislav Kinsburskiy <skinsbur...@parallels.com>
---
fs/namei.c |4 ++--
1 file changed, 2 insertions(+),
From: Stanislav Kinsburskiy <skinsbur...@parallels.com>
Signed-off-by: Stanislav Kinsburskiy <skinsbur...@parallels.com>
---
fs/namei.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/namei.c b/fs/namei.c
index d3430ee..42224e6 100644
--- a/fs/namei.c
+++
From: Stanislav Kinsburskiy <skinsbur...@parallels.com>
This is required to allow mounts in nested namespaces.
https://jira.sw.ru/browse/PSBM-40137
Signed-off-by: Stanislav Kinsburskiy <skinsbur...@parallels.com>
---
fs/binfmt_misc.c |2 +-
1 file changed, 1 insertion(+)
From: Stanislav Kinsburskiy <skinsbur...@parallels.com>
This sysctl table contains only one entry: "/proc/sys/net/nf_conntrack_max".
This is now visible insode ct.
However, have to say, that "/proc/sys/net/netfilter/nf_conntrack_max" and
friends (despite on they ar
From: Stanislav Kinsburskiy <skinsbur...@parallels.com>
Signed-off-by: Stanislav Kinsburskiy <skinsbur...@parallels.com>
---
net/netfilter/nf_conntrack_acct.c |3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/net/netfilter/nf_conntrack_acct.c
b/n
From: Stanislav Kinsburskiy <skinsbur...@parallels.com>
Signed-off-by: Stanislav Kinsburskiy <skinsbur...@parallels.com>
---
net/netfilter/nf_conntrack_ecache.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/netfilter/nf_conntrack_ecache.c
b/n
From: Stanislav Kinsburskiy <skinsbur...@parallels.com>
Signed-off-by: Stanislav Kinsburskiy <skinsbur...@parallels.com>
---
net/netfilter/nf_conntrack_standalone.c | 17 -
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/net/netfilter/nf_conntrack_sta
This series brings to vz7 all the nf_conntrack sysctl's, which are available
in vz6.
https://jira.sw.ru/browse/PSBM-40044
---
Stanislav Kinsburskiy (5):
nf_conntrack: allow expose of priviledged sysctl inside containers
nf_conntrack: expose "nf_conntrack_max" in
From: Stanislav Kinsburskiy <skinsbur...@parallels.com>
Will be used for other tables
Signed-off-by: Stanislav Kinsburskiy <skinsbur...@parallels.com>
---
include/net/netfilter/nf_conntrack_core.h |2 ++
net/netfilter/nf_conntrack_standalone.c |7 ++-
2 files changed,
From: Stanislav Kinsburskiy <skinsbur...@parallels.com>
If there is another dentry for the unlinked socket inode, then first create a
hardlink for this dentry, then rebind and unlink.
Signed-off-by: Stanislav Kinsburskiy <skinsbur...@parallels.com>
---
kernel/cpt/rst_soc
From: Stanislav Kinsburskiy <skinsbur...@parallels.com>
It will be used in other parts of checkpointing
Signed-off-by: Stanislav Kinsburskiy <skinsbur...@parallels.com>
---
kernel/cpt/cpt_files.c | 56 +---
kernel/cpt/cpt_files.h |3
field size explicitly set to UNIX_PATH_MAX.
---
Stanislav Kinsburskiy (3):
cpt: export dentry alias search helper
cpt: dump dentry alias path for UNIX socket
rst: recreate deleted sock as a link, if present
include/linux/cpt_image.h |6 +++
kernel/cpt/cpt_files.c| 56
From: Stanislav Kinsburskiy <skinsbur...@parallels.com>
There could be a unix socket (thanks to supervisord), which was unlinked, but
also a hardlink to it was created prior to unlink.
This basically means, that unlinked socket and it's hardlink points to the
same inode.
In such a case we
From: Stanislav Kinsburskiy <skinsbur...@parallels.com>
It's used only in one file: kernel/bc/statd.c. No need to declare it in
headers.
Signed-off-by: Stanislav Kinsburskiy <skinsbur...@parallels.com>
---
include/bc/statd.h |7 ---
kernel/bc/statd.c |6 ++
2 file
From: Stanislav Kinsburskiy <skinsbur...@parallels.com>
Signed-off-by: Stanislav Kinsburskiy <skinsbur...@parallels.com>
---
kernel/bc/statd.c | 22 +++---
1 file changed, 19 insertions(+), 3 deletions(-)
diff --git a/kernel/bc/statd.c b/kernel/bc/statd.c
i
From: Stanislav Kinsburskiy <skinsbur...@parallels.com>
Signed-off-by: Stanislav Kinsburskiy <skinsbur...@parallels.com>
---
kernel/bc/statd.c |8 +++-
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/kernel/bc/statd.c b/kernel/bc/statd.c
index b0b58a4..97
From: Stanislav Kinsburskiy <skinsbur...@parallels.com>
This header doesn't contain kernel parts anymore and can be moved to user
slace headers uapi/.
Signed-off-by: Stanislav Kinsburskiy <skinsbur...@parallels.com>
---
include/uapi/linux/bc/statd.h |0
kernel/bc/statd.c
This series fixes a bug, does some cleanup and headers tossing and re-enables
ub statd system call support.
https://jira.sw.ru/browse/PSBM-29338
v2:
Added synchonization between beancounter and memcg counters if required
---
Stanislav Kinsburskiy (7):
ub statd: fix new_notify structure
From: Stanislav Kinsburskiy <skinsbur...@parallels.com>
This bug is old, but it was hidden by minimax SLAB size equal to 32 bytes.
With SLUB allocator, there are 8-bytes slabs, and this issue is revealed.
Signed-off-by: Stanislav Kinsburskiy <skinsbur...@parallels.com>
---
kerne
From: Stanislav Kinsburskiy <skinsbur...@parallels.com>
This commit reverts c59367f9e478eb92145d7fea5a88c10407790077
Signed-off-by: Stanislav Kinsburskiy <skinsbur...@parallels.com>
---
kernel/bc/statd.c |6 --
1 file changed, 6 deletions(-)
diff --git a/kernel/bc/statd.c
From: Stanislav Kinsburskiy <skinsbur...@parallels.com>
This commit reverts c59367f9e478eb92145d7fea5a88c10407790077
Signed-off-by: Stanislav Kinsburskiy <skinsbur...@parallels.com>
---
kernel/bc/statd.c |6 --
1 file changed, 6 deletions(-)
diff --git a/kernel/bc/statd.c
From: Stanislav Kinsburskiy <skinsbur...@parallels.com>
Signed-off-by: Stanislav Kinsburskiy <skinsbur...@parallels.com>
---
kernel/bc/statd.c |8 +++-
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/kernel/bc/statd.c b/kernel/bc/statd.c
index b0b58a4..97
From: Stanislav Kinsburskiy <skinsbur...@parallels.com>
This bug is old, but it was hidden by minimax SLAB size equal to 32 bytes.
With SLUB allocator, there are 8-bytes slabs, and this issue is revealed.
Signed-off-by: Stanislav Kinsburskiy <skinsbur...@parallels.com>
---
kerne
This series fixes a bug, does some cleanup and headers tossing and re-enables
ub statd system call support.
https://jira.sw.ru/browse/PSBM-29338
---
Stanislav Kinsburskiy (5):
ub statd: fix new_notify structure allocation
ub statd: small optimisations and clean ups
ub statd
From: Stanislav Kinsburskiy <skinsbur...@parallels.com>
This header doesn't contain kernel parts anymore and can be moved to user
slace headers uapi/.
Signed-off-by: Stanislav Kinsburskiy <skinsbur...@parallels.com>
---
include/uapi/linux/bc/statd.h |0
kernel/bc/statd.c
From: Stanislav Kinsburskiy <skinsbur...@parallels.com>
It's used only in one file: kernel/bc/statd.c. No need to declare it in
headers.
Signed-off-by: Stanislav Kinsburskiy <skinsbur...@parallels.com>
---
include/bc/statd.h |7 ---
kernel/bc/statd.c |6 ++
2 file
28.09.2015 17:57, Vasily Averin пишет:
Stas,
please see my comment below.
On 28.09.2015 16:16, Stanislav Kinsburskiy wrote:
From: Stanislav Kinsburskiy <skinsbur...@parallels.com>
There could be a unix socket (thanks to supervisord), which was unlinked, but
also a hardlink to it was c
This patch set adds support for unlinked socket migration, which has another
dentry, poiting to it's inode.
Note: no explicit support for DelayFS is required, because in this case dentry
is just renamed, to everything works by default.
https://jira.sw.ru/browse/PSBM-39774
---
Stanislav
From: Stanislav Kinsburskiy <skinsbur...@parallels.com>
It will be used in other parts of checkpointing
Signed-off-by: Stanislav Kinsburskiy <skinsbur...@parallels.com>
---
kernel/cpt/cpt_files.c | 56 +---
kernel/cpt/cpt_files.h |3
From: Stanislav Kinsburskiy <skinsbur...@parallels.com>
There could be a unix socket (thanks to supervisord), which was unlinked, but
also a hardlink to it was created prior to unlink.
This basically means, that unlinked socket and it's hardlink points to the
same inode.
In such a case we
From: Stanislav Kinsburskiy <skinsbur...@parallels.com>
If there is another dentry for the unlinked socket inode, then first create a
hardlink for this dentry, then rebind and unlink.
Signed-off-by: Stanislav Kinsburskiy <skinsbur...@parallels.com>
---
include/linux/cpt_im
e have to virtualize fuse_control_sb and fuse_conn_list
_before_ setting FS_VIRTUALIZED bit.
On 09/22/2015 06:28 AM, Stanislav Kinsburskiy wrote:
From: Stanislav Kinsburskiy <skinsbur...@parallels.com>
This is requred to allow to mount FUSE-based filesystems like SshFS.
https://bugs.openvz.org/b
Makes sense. Thanks.
22.09.2015 17:38, Maxim Patlasov пишет:
I think we have to virtualize fuse_control_sb and fuse_conn_list
_before_ setting FS_VIRTUALIZED bit.
On 09/22/2015 06:28 AM, Stanislav Kinsburskiy wrote:
From: Stanislav Kinsburskiy <skinsbur...@parallels.com>
This is r
This series add venet device creation and destruction support via netlink.
It also removes device creation via per-net init hook.
https://jira.sw.ru/browse/PSBM-23441
v2: return -ENOTSUP in case of attempt to create a venet device in nested
namespace.
---
Stanislav Kinsburskiy (3):
venet
From: Stanislav Kinsburskiy <skinsbur...@parallels.com>
It's set to 0 few lines above.
Signed-off-by: Stanislav Kinsburskiy <skinsbur...@parallels.com>
---
drivers/net/venetdev.c |4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/net/venetdev.c b
From: Stanislav Kinsburskiy <skinsbur...@parallels.com>
This is requred to allow to mount FUSE-based filesystems like SshFS.
https://bugs.openvz.org/browse/OVZ-6498
Signed-off-by: Stanislav Kinsburskiy <skinsbur...@parallels.com>
---
fs/fuse/inode.c |2 +-
1 file changed, 1 ins
From: Stanislav Kinsburskiy <skinsbur...@parallels.com>
This functions are mostly duplicating existent code in per-net hooks, except
some initialization and locking, which are performed in rtnetlink layer.
https://jira.sw.ru/browse/PSBM-23441
Signed-off-by: Stanislav Kinsburskiy <
22.09.2015 11:36, Andrew Vagin пишет:
On Mon, Sep 21, 2015 at 07:44:31PM +0400, Stanislav Kinsburskiy wrote:
From: Stanislav Kinsburskiy <skinsbur...@parallels.com>
This functions are mostly duplicating existent code in per-net hooks, except
some initialization and locking,
22.09.2015 11:36, Andrew Vagin пишет:
On Mon, Sep 21, 2015 at 07:44:31PM +0400, Stanislav Kinsburskiy wrote:
From: Stanislav Kinsburskiy <skinsbur...@parallels.com>
This functions are mostly duplicating existent code in per-net hooks, except
some initialization and locking,
22.09.2015 11:38, Andrew Vagin пишет:
On Mon, Sep 21, 2015 at 07:44:36PM +0400, Stanislav Kinsburskiy wrote:
From: Stanislav Kinsburskiy <skinsbur...@parallels.com>
Venete device is now constructed via netlink interface
https://jira.sw.ru/browse/PSBM-23441
This patch should not be co
22.09.2015 13:15, Andrew Vagin пишет:
On Tue, Sep 22, 2015 at 11:40:03AM +0200, Stanislav Kinsburskiy wrote:
22.09.2015 11:36, Andrew Vagin пишет:
On Mon, Sep 21, 2015 at 07:44:31PM +0400, Stanislav Kinsburskiy wrote:
From: Stanislav Kinsburskiy <skinsbur...@parallels.com>
This fun
From: Stanislav Kinsburskiy <skinsbur...@parallels.com>
Venete device is now constructed via netlink interface
https://jira.sw.ru/browse/PSBM-23441
Signed-off-by: Stanislav Kinsburskiy <skinsbur...@parallels.com>
---
drivers/net/venet
From: Stanislav Kinsburskiy <skinsbur...@parallels.com>
This functions are mostly duplicating existent code in per-net hooks, except
some initialization and locking, which are performed in rtnetlink layer.
https://jira.sw.ru/browse/PSBM-23441
Signed-off-by: Stanislav Kinsburskiy <
in nested
namespace.
---
Stanislav Kinsburskiy (3):
venet: fix false positive return code in case of error in venet_init()
venet: add newlink and dellink callbacks to rtnetlink operations
venet: remove per-net hooks and related code
drivers/net/venetdev.c | 123
From: Stanislav Kinsburskiy <skinsbur...@parallels.com>
Venete device is now constructed via netlink interface
https://jira.sw.ru/browse/PSBM-23441
Signed-off-by: Stanislav Kinsburskiy <skinsbur...@parallels.com>
---
drivers/net/venet
22.09.2015 13:28, Andrew Vagin пишет:
On Tue, Sep 22, 2015 at 01:20:11PM +0200, Stanislav Kinsburskiy wrote:
22.09.2015 13:15, Andrew Vagin пишет:
On Tue, Sep 22, 2015 at 11:40:03AM +0200, Stanislav Kinsburskiy wrote:
22.09.2015 11:36, Andrew Vagin пишет:
On Mon, Sep 21, 2015 at 07:44
301 - 400 of 405 matches
Mail list logo