[Devel] review last vz7 patches to port them to vz9

Pavel Tikhomirov ptikhomirov at virtuozzo.com
Mon Jan 10 10:55:23 MSK 2022



On 31.12.2021 12:42, Vasily Averin wrote:
> To Pavel:
> a0cdc1cf72c4 cgroup/ve: at container start only check virtualizable cgroups

Already ported/reworked, css_has_host_cgroups is now named 
ve_check_root_cgroups and ^this^ fixup hunk is merged to:

5697a105caf7 ("ve/cgroup: Skip non-virtualized roots in 
cgroup_{,un}mark_ve_roots()")

>   "proc/mounts: add cursor" related patches, especially
> 0aee0dc817d1 proc/mounts: fix skipping mount after cursor

Not needed, as after mainstream rework:

3a0cfe5da871 ("fs/seq_file.c: simplify seq_file iteration code and 
interface")

we don't need our crutch to "skip mount after cursor", mainstream code 
already should do ->next() in proper places.

> 9f4f95d6878e sync: sync_collect_filesystems: fix possible infinite loop

Not needed, as in new version of per-ve sync:

995e3d3faf6e ("ve/fs: introduce is_sb_ve_accessible()")

we don't iterate over mnt_ns->list of mounts (where we have coursor), 
but instead iterate sb->s_mounts.

-- 
Best regards, Tikhomirov Pavel
Software Developer, Virtuozzo.


More information about the Devel mailing list