[Devel] [PATCH VZ9] dm-ploop: document current design flaw in ploop dm-reload

2025-07-21 Thread Pavel Tikhomirov
In short, we allow concurrent existance of two ploops with same delta image loaded in them for dmsetup reload, and we don't sync metadata in any way to make "new" ploop have full information about what "old" ploop left us with. https://virtuozzo.atlassian.net/browse/VSTOR-110410 Signed-off-by: Pav

[Devel] [PATCH VZ7] net/dst: print stack when we face dst_entry refcount leak

2025-07-21 Thread Pavel Tikhomirov
This should help finding unbalanced refcount put leading to negative refcounts, unfreeable dst_entry-es and hanging network namespace cleanup. Previously we had messages like this in dmesg: dst_release: dst:9d9686fef000 refcnt:-1 But without stack it's hard to guess the root cause. https:

[Devel] [PATCH vz9 1/2] proc connector: update cookies type to be able to store pointer

2025-07-21 Thread Konstantin Khorenko
We need to provide struct pid pointer to fill_exit_event(), so update cookie arg type of proc_event_connector() and all filler functions to long. https://virtuozzo.atlassian.net/browse/PSBM-161075 Signed-off-by: Konstantin Khorenko Feature: cgroup: control group rules daemon (cgrulesengd) virtu

[Devel] [PATCH vz9 2/2] proc connector: report proper pid/tgid of an exited process

2025-07-21 Thread Konstantin Khorenko
After do_exit() -> exit_notify() process pid and tgid may be detached (free_pid()) before proc_exit_connector() call happens, thus proc_exit_connector() fail to report proper pid/tgid via netlink. Ordinary "good" scenario: parent 37311 [000] 22305.315986: probe:alloc_pid_L85: child_process_pid=38