[Devel] [PATCH hci-8.1 v10 00/13] Add per-VE failcount support

Konstantin Khorenko khorenko at virtuozzo.com
Fri Sep 25 20:33:48 MSK 2026


On Fri, 25 Sep 2026 18:53:21 +0200, Konstantin Khorenko wrote:
> Add per-VE failcount support
> 
> This patchset introduces per-VE failcount support.
> We have several resources that have per-VE limits, the users might
> want to know what limit hits make operations fail.
> 
> - Patch 1 is cosmetic, nothing special.
> - Patches 2-4 change mount number and limit processing, unifying it
>   with other resources. VE selftest is updated in patch 3.
> - Patch 5 removes copy-pasted resource accessors by generating them
>   with macros.
> - Patch 6 is a split-out fix: ve0 was left without aio defaults when
>   aio_nr/aio_max_nr moved into ve_struct.
> - Patch 7 adds the ve.failcount file and the helpers.
> - Patches 8-12 add one failcounter each: netns, mnt, netif,
>   bpf_prog, aio.
> - Patch 13 introduces new VE selftest that checks mounts accounting,
>   limits and failcount updates.
> 
> [...]

Applied to branch-rh10-6.12.0-211.52.1.22.x.vz10-ovz, will be released in rh10-6.12.0-211.52.1.22.4.vz10, thanks!

[01/13] ve/ve.{h, c}: farewell to spaces as indents
        https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/94e1f3e566b2
[02/13] ve/fs: count available mounts instead of used ones
        https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/b9c2e2d6ee85
[03/13] selftests/ve: update ve_ns_owner_test
        https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/81eba31300aa
[04/13] ve: make mount limit configurable per VE
        https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/dd2667127d88
[05/13] ve/ve.c: generate VE resource accessors using macros
        https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/d7411af14db5
[06/13] ve/aio: initialize aio fields in ve0
        https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/bc9ae303c2e3
[07/13] ve: introduce per-VE failcounter infrastructure
        https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/82fcf1c48466
[08/13] ve: add netns failcounter
        https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/edd7353a94df
[09/13] ve: add mnt failcounter
        https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/0f50eece91e9
[10/13] ve: add netif failcounter
        https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/4a6c30eb6f86
[11/13] ve: add bpf_prog failcounter
        https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/0755704f524a
[12/13] ve: add aio failcounter
        https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/77b09350431f
[13/13] selftests/ve: add mount accounting selftest
        https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/32609fbd61a6

-- 
Konstantin Khorenko <khorenko at virtuozzo.com>



More information about the Devel mailing list