[Devel] [PATCH hci-8.1 v2 4/5] fs/ext4: the swapext ioctl could fail with -ENOSPC and a jbd2 WARN

Konstantin Khorenko khorenko at virtuozzo.com
Wed Nov 18 13:55:19 MSK 2026


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



More information about the Devel mailing list