[Devel] [PATCH RHEL7 COMMIT] ploop: fix race on map->levels[] update

2017-08-08 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-514.26.1.vz7.35.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-514.26.1.vz7.35.2 --> commit 4dfee2a213c1d5a428cfbe2ef9b43fff0d4ddf3b Author: Maxim Patlasov Date: Tue Aug 8 13:22:00 2017 +0400 ploop: fix

Re: [Devel] [PATCH vz7] ploop: fix race on map->levels[] update

2017-08-08 Thread Konstantin Khorenko
Please, consider to prepare a ReadyKernel patch for it. https://readykernel.com/ -- Best regards, Konstantin Khorenko, Virtuozzo Linux Kernel Team On 08/08/2017 05:21 AM, Maxim Patlasov wrote: Doing fast-path, ploop needs to know iblock and corresponding delta for io. iblock is stored in page

Re: [Devel] [PATCH] kernel: call task_work_run() before exit_task_namespaces()

2017-08-08 Thread Konstantin Khorenko
Kirill, please review the patch. -- Best regards, Konstantin Khorenko, Virtuozzo Linux Kernel Team On 08/07/2017 08:15 PM, Andrei Vagin wrote: From: Andrei Vagin This patch solves a problem for a following case. We have a container (a group of processes in pid and mount namespaces) with a fu

Re: [Devel] [PATCH] kernel: call task_work_run() before exit_task_namespaces()

2017-08-08 Thread Konstantin Khorenko
On 08/08/2017 12:27 PM, Konstantin Khorenko wrote: Kirill, please review the patch. Please, disregard, it's a resend with commit message updated, i will update it during a rebase. -- Best regards, Konstantin Khorenko, Virtuozzo Linux Kernel Team On 08/07/2017 08:15 PM, Andrei Vagin wrote:

[Devel] [PATCH rh7] sched: Account iothrottled wakeups correctly

2017-08-08 Thread Kirill Tkhai
We can't use task_iothrottled() in ttwu_do_activate(), as task's state already changed to TASK_WAKING in try_to_wake_up(). Instead of this, cache the fact, we are iothrottled, in new task_struct::sched_iothrottled_sleep bit, like we already do for sched_contributes_to_load and sched_interruptible_

[Devel] [PATCH vz7] ploop: make error messages about intersecting extents more verbose

2017-08-08 Thread Maxim Patlasov
There was a complain about intersecting extents: > [123825.298494] ploop_fb_add_free_extent(): intersected > extentsploop_fb_add_free_extent(): intersected extents Next time it happens, we'll have more info to chase root cause. Signed-off-by: Maxim Patlasov --- drivers/block/ploop/dev.c

[Devel] [PATCH vz7] ploop: make error messages about intersecting extents more verbose (v2)

2017-08-08 Thread Maxim Patlasov
There was a complain about intersecting extents: > [123825.298494] ploop_fb_add_free_extent(): intersected > extentsploop_fb_add_free_extent(): intersected extents Next time it happens, we'll have more info to chase root cause. v2: added WARN_ONCE to taint kernel Signed-off-by: Maxim Patlasov