All Virtuozzo development lists (kernel + QEMU)
 help / color / mirror / Atom feed
From: Alexey Kuznetsov <kuznet@virtuozzo.com>
To: Konstantin Khorenko <khorenko@virtuozzo.com>
Cc: devel@openvz.org, kui.liu@virtuozzo.com, azaitsev@virtuozzo.com
Subject: Re: [Devel] [PATCH hci-8.1 v2 1/5] fs/ext4: rectify behaviour of swapext ioctl on error
Date: Thu, 19 Nov 2026 18:59:51 +0800	[thread overview]
Message-ID: <CAMrnHh7b2Cmq6d+FiJZ-RR9UVq6RHLpfUVqaD0mb88RTXSNyAQ@mail.gmail.com> (raw)
In-Reply-To: <201678f0-a894-46c9-8cf5-509fe9ea8d16@virtuozzo.com>

Hello!

It would not make much sense. It is very loaded ioctl, every vstorage write
executes this ioctl and vstorage tests cover every aspect of this.

Coverage is not excatly 100%, uncovered areas still exist:
f.e. ENOSPC while allocating blocks for btree is an event which
is never tirggered, but this thing must be covered by vstorage tests as well,
its absence is a fundamental bug in our test suite, and it is not
specific to ioctl, the whole ENOSPC aspect is completely missed.


On Thu, Nov 19, 2026 at 3:56 AM Konstantin Khorenko
<khorenko@virtuozzo.com> wrote:
>
> On 11/18/26 16:04, Konstantin Khorenko wrote:
> > All these patches will appear in hci 8.1 as well,
> > in the rh10-6.12.0-211.75.1.24.3.vz10 kernel.
> >
> > --
> > Best regards,
> >
> > Konstantin Khorenko,
> > Virtuozzo Linux Kernel Team
> >
> > On 11/18/26 11:55, Konstantin Khorenko wrote:
> >> On Wed, 18 Nov 2026 00:58:14 +0800, Alexey Kuznetsov wrote:
> >>> fs/ext4: rectify behaviour of swapext ioctl on error
> >>
> >> Applied to branch-rh10-6.12.0-211.75.1.26.x.vz10-ovz, will be released in rh10-6.12.0-211.75.1.26.3.vz10, thanks!
> >>
> >> [1/5] fs/ext4: rectify behaviour of swapext ioctl on error
> >>       https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/68931b3a211e
> >> [2/5] fs/ext4: ensure ext4 transaction credits while swapext
> >>       https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/e0662f4ecece
> >> [3/5] fs/ext4: assert presence of journal for swapext
> >>       https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/0bb204f536ac
> >> [4/5] fs/ext4: the swapext ioctl could fail with -ENOSPC and a jbd2 WARN
> >>       https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/dc71e1b983cf
> >> [5/5] fs/ext4: do not permit swapext on fs with fast commit enabled
> >>       https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/32179ec65a81
> May be write a kselftest for this functionality?

_______________________________________________
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel

      reply	other threads:[~2026-11-19 11:01 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-17 16:58 Alexey Kuznetsov
2026-11-17 16:59 ` [Devel] [PATCH hci-8.1 v2 2/5] fs/ext4: ensure ext4 transaction credits while swapext Alexey Kuznetsov
2026-11-18 10:55   ` Konstantin Khorenko
2026-11-17 16:59 ` [Devel] [PATCH hci-8.1 v2 3/5] fs/ext4: assert presence of journal for swapext Alexey Kuznetsov
2026-11-18 10:55   ` Konstantin Khorenko
2026-11-17 17:00 ` [Devel] [PATCH hci-8.1 v2 4/5] fs/ext4: the swapext ioctl could fail with -ENOSPC and a jbd2 WARN Alexey Kuznetsov
2026-11-18 10:55   ` Konstantin Khorenko
2026-11-17 17:01 ` [Devel] [PATCH hci-8.1 v2 5/5] fs/ext4: do not permit swapext on fs with fast commit enabled Alexey Kuznetsov
2026-11-18 10:55   ` Konstantin Khorenko
2026-11-18 10:55 ` [Devel] [PATCH hci-8.1 v2 1/5] fs/ext4: rectify behaviour of swapext ioctl on error Konstantin Khorenko
2026-11-18 10:55 ` Konstantin Khorenko
2026-11-18 15:04   ` Konstantin Khorenko
2026-11-18 19:43     ` Konstantin Khorenko
2026-11-19 10:59       ` Alexey Kuznetsov [this message]

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=CAMrnHh7b2Cmq6d+FiJZ-RR9UVq6RHLpfUVqaD0mb88RTXSNyAQ@mail.gmail.com \
    --to=kuznet@virtuozzo.com \
    --cc=azaitsev@virtuozzo.com \
    --cc=devel@openvz.org \
    --cc=khorenko@virtuozzo.com \
    --cc=kui.liu@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.