[Devel] [PATCH vz8 2/2] ve/fs/devmnt: process mount options

2020-10-26 Thread Andrey Ryabinin
From: Kirill Tkhai Port patch diff-ve-fs-process-mount-options-check-and-insert by Maxim Patlasov: The patch implements two kinds of processing mount options: check and insert. Check is OK if and only if each option supplied by CT-user is present among options listed in allowed_options. Insert

[Devel] [PATCH vz8 1/2] ve/devmnt: Introduce ve::devmnt list #PSBM-108196

2020-10-26 Thread Andrey Ryabinin
From: Kirill Tkhai 1)Porting patch "ve: mount option list" by Maxim Patlasov: The patch adds new fields to ve_struct: devmnt_list and devmnt_mutex. devmnt_list is the head of list of ve_devmnt structs. Each host block device visible from CT can have no more than one struct ve_devmnt linked in

Re: [Devel] [PATCH RH7 v4] cgroup: add export_operations to cgroup super block

2020-10-26 Thread Andrey Zhadchenko
This patch is not needed for vz8, because cgroup will use kernfs, which has export_operations implemented. Best regards, Andrey Zhadchenko On Thu, 24 Sep 2020 10:41:31 +0300 Konstantin Khorenko wrote: > Please, port this patch to vz8 as well, branch > branch-rh8-4.18.0-193.6.3.vz8.4.x-ovz > >

[Devel] [PATCH RHEL7 COMMIT] kvm: fix AMD IBRS/IBPB/STIBP/SSBD reporting #PSBM-120787

2020-10-26 Thread Vasily Averin
The commit is pushed to "branch-rh7-3.10.0-1127.18.2.vz7.163.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-1127.18.2.vz7.163.40 --> commit da3fe794241c1c644e2ff0b136ed42deb40c8a8e Author: Denis V. Lunev Date: Mon Oct 26 07:50:23 2020 +0300 kvm:

[Devel] [PATCH RH7] cgroup: rework reference acquisition for cgroup_find_inode

2020-10-26 Thread Andrey Zhadchenko
Use more generic igrab instead of atomic inc. Move cgroup_hash_del to eviction stage to avoid deadlock. Signed-off-by: Andrey Zhadchenko --- kernel/cgroup.c | 25 - 1 file changed, 8 insertions(+), 17 deletions(-) diff --git a/kernel/cgroup.c b/kernel/cgroup.c index

Re: [Devel] [PATCH RH7] cgroup: rework reference acquisition for cgroup_find_inode

2020-10-26 Thread Pavel Tikhomirov
On 10/26/20 9:48 AM, Andrey Zhadchenko wrote: Use more generic igrab instead of atomic inc. Move cgroup_hash_del to eviction stage to avoid deadlock. Signed-off-by: Andrey Zhadchenko --- kernel/cgroup.c | 25 - 1 file changed, 8 insertions(+), 17 deletions(-)

[Devel] [PATCH RH7 2/2] ploop: Add more debug on error

2020-10-26 Thread Kirill Tkhai
Signed-off-by: Kirill Tkhai --- include/linux/ploop/ploop.h |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/linux/ploop/ploop.h b/include/linux/ploop/ploop.h index bffd83b08764..766a0e9f3d89 100644 --- a/include/linux/ploop/ploop.h +++

[Devel] [PATCH RH7 1/2] ploop: Preallocate clusters before nullifying on grow

2020-10-26 Thread Kirill Tkhai
In case of future BAT clusters are data clusters and there is a hole, nullifying code fails since there is no extent. Fix that by future BAT preallocation. https://jira.sw.ru/browse/PSBM-121772 Signed-off-by: Kirill Tkhai --- drivers/block/ploop/fmt_ploop1.c |8