[Devel] [PATCH hci-8.1 v2 1/5] fs/ext4: rectify behaviour of swapext ioctl on error
Alexey Kuznetsov
kuznet at virtuozzo.com
Thu Nov 19 13:59:51 MSK 2026
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 at 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?
More information about the Devel
mailing list