From: Konstantin Khorenko <khorenko@virtuozzo.com>
To: Alexey Kuznetsov <kuznet@virtuozzo.com>
Cc: azaitsev@virtuozzo.com, devel@openvz.org, kui.liu@virtuozzo.com
Subject: Re: [Devel] [PATCH hci-8.1 v2 4/5] fs/ext4: the swapext ioctl could fail with -ENOSPC and a jbd2 WARN
Date: Wed, 18 Nov 2026 11:55:19 +0100 [thread overview]
Message-ID: <179499931904.1085329.8011545266978704545.b4-review@b4> (raw)
In-Reply-To: <avyIKgg5rngH5g5F@mops2>
Applying with these fixes on my side:
- subject: "the swapext ioctl could fail with -ENOSPC and a jbd2 WARN"
-> "cap the journal credits of a swapext handle": the subject says
what the patch does, the body keeps the symptom
- the body says what the cap is: half of the journal's per-handle
limit
On Wed, 18 Nov 2026 01:00:26 +0800, Alexey Kuznetsov wrote:
> Cap amount of credits allocated for transaction handle
> to avoid failure on large fragmented ranges.
The "if (EXT4_SB(sb)->s_journal)" around the cap is always true after
patch 3; harmless, I left it.
Thanks.
--
Konstantin Khorenko,
Virtuozzo Linux Kernel Team
_______________________________________________
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel
next prev parent reply other threads:[~2026-11-18 10:56 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-17 16:58 [Devel] [PATCH hci-8.1 v2 1/5] fs/ext4: rectify behaviour of swapext ioctl on error 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 [this message]
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
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=179499931904.1085329.8011545266978704545.b4-review@b4 \
--to=khorenko@virtuozzo.com \
--cc=azaitsev@virtuozzo.com \
--cc=devel@openvz.org \
--cc=kui.liu@virtuozzo.com \
--cc=kuznet@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