From: no-reply@sashiko.virtuozzo.com
To: Mirian Shilakadze <mirian.shilakadze@virtuozzo.com>,
khorenko@virtuozzo.com, vladimir.riabchun@virtuozzo.com
Cc: devel@openvz.org
Subject: Re: [Devel] [PATCH hci-8.2] selftests/ve: read ve.mnt_avail_nr as a signed value in ve_ns_owner_test
Date: Thu, 19 Nov 2026 07:15:25 +0000 [thread overview]
Message-ID: <010701a1f2a90592-09bc538c-3644-408a-bc63-56af610a0e17-000000@eu-central-1.amazonses.com> (raw)
In-Reply-To: <20261119071250.470335-1-mirian.shilakadze@virtuozzo.com>
> The new VE is charged for every mount it copies from the host, and that
> charge ignores the limit, so ve.mnt_avail_nr goes below zero once the
> host has more mounts than the test's limit of 32. A VHI host with 70
> mounts reads -39. The test reads the counter with read_u64_at(), the
> negative value wraps to a huge number and both cases fail the check
> that it is less than VE_MOUNTS_MAX.
>
> Read the counter with read_s32_at(), as ve_mount_accounting_test does.
>
> Fixes: 5eed1403cd54 ("ve: make mount limit configurable per VE")
> Feature: per-ve failcounters
> https://virtuozzo.atlassian.net/browse/VSTOR-156012
> Signed-off-by: Mirian Shilakadze <mirian.shilakadze@virtuozzo.com>
Sashiko has reviewed this patch and found no issues.
Carry the trailer below into the next revision and Sashiko will not review this patch again.
Reviewed-by: Sashiko <no-reply@sashiko.virtuozzo.com>
--
Sashiko AI review · https://sashiko.vzint.dev/#/patchset/20261119071250.470335-1-mirian.shilakadze@virtuozzo.com?part=1
_______________________________________________
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel
next prev parent reply other threads:[~2026-11-19 7:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-19 7:12 Mirian Shilakadze
2026-11-19 7:15 ` no-reply [this message]
2026-11-19 16:51 ` Konstantin Khorenko
2026-11-19 16:52 ` Konstantin Khorenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=010701a1f2a90592-09bc538c-3644-408a-bc63-56af610a0e17-000000@eu-central-1.amazonses.com \
--to=no-reply@sashiko.virtuozzo.com \
--cc=devel@openvz.org \
--cc=khorenko@virtuozzo.com \
--cc=mirian.shilakadze@virtuozzo.com \
--cc=vladimir.riabchun@virtuozzo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox