Re: [Devel] [PATCH 0/2] systemd-autofs-restart.sh: check systemctl results more

2017-06-23 Thread Dmitry Safonov
On 06/23/2017 06:38 PM, Stanislav Kinsburskiy wrote: carefully https://jira.sw.ru/browse/PSBM-67544 The following series implements... --- Stanislav Kinsburskiy (2): scripts: check service mountpoint is not empty in systemd-autofs-restart.sh scripts: cleanup error output in

[Devel] [PATCH 2/2] scripts: cleanup error output in systemd-autofs-restart.sh

2017-06-23 Thread Stanislav Kinsburskiy
Signed-off-by: Stanislav Kinsburskiy --- scripts/systemd-autofs-restart.sh | 11 --- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/scripts/systemd-autofs-restart.sh b/scripts/systemd-autofs-restart.sh index d39e0cd..72d2ef7 100755 ---

[Devel] [PATCH 0/2] systemd-autofs-restart.sh: check systemctl results more

2017-06-23 Thread Stanislav Kinsburskiy
carefully https://jira.sw.ru/browse/PSBM-67544 The following series implements... --- Stanislav Kinsburskiy (2): scripts: check service mountpoint is not empty in systemd-autofs-restart.sh scripts: cleanup error output in systemd-autofs-restart.sh

[Devel] [PATCH 1/2] scripts: check service mountpoint is not empty in systemd-autofs-restart.sh

2017-06-23 Thread Stanislav Kinsburskiy
Systemctl may fail. Let's check its result and mountpoint string after call. https://jira.sw.ru/browse/PSBM-67544 Signed-off-by: Stanislav Kinsburskiy --- scripts/systemd-autofs-restart.sh | 10 ++ 1 file changed, 10 insertions(+) diff --git

[Devel] [PATCH libvzctl] Suppress SUNRPC traffic on "fast stop".

2017-06-23 Thread Stanislav Kinsburskiy
This is needed to break infinite loop in SUNRPC state machine, leading to unstoppable container in case of unreachable network. https://jira.sw.ru/browse/PSBM-67544 Note: needs kernel rh7-3.10.0-514.16.1.vz7.32.12 or newer Signed-off-by: Stanislav Kinsburskiy ---

[Devel] [PATCH 0/2] Handle SUNRPC tasks on container stop when network is

2017-06-23 Thread Stanislav Kinsburskiy
unreachable https://jira.sw.ru/browse/PSBM-66510 --- Stanislav Kinsburskiy (2): ve: add boolean "sunrpc_abort" attribute to VE cgroup sunrpc: bring back SUNRPC task abort logic include/linux/ve.h |3 +++ kernel/ve/ve.c | 15 ++- net/sunrpc/sched.c | 31

[Devel] [PATCH 1/2] ve: add boolean "sunrpc_abort" attribute to VE cgroup

2017-06-23 Thread Stanislav Kinsburskiy
Intended to be used to abort all SUNRPC operations. For example in case of fast stop with unreachable network. Signed-off-by: Stanislav Kinsburskiy --- include/linux/ve.h |3 +++ kernel/ve/ve.c | 15 ++- 2 files changed, 17 insertions(+), 1

[Devel] [PATCH 2/2] sunrpc: bring back SUNRPC task abort logic

2017-06-23 Thread Stanislav Kinsburskiy
We had this logic in vz6. But it was applied to any stop there. The intention was to solve 2 tasks: 1) allow to stop container when network is unaccessible 2) allow to suspend container with blocked network traffic. In vz7 we need the traffic to flow on suspend. Thus we have to distinguish