[Devel] [PATCH hci-8.1 v2 1/5] fs/ext4: rectify behaviour of swapext ioctl on error

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


Applying with these fixes on my side:
- the retry bug: without UNWRITE_DONOR the retry swapped the done part
  back and reported the whole range as moved; -ENODATA only came with
  UNWRITE_DONOR
- "by 55583e899a53" -> "by commit 55583e899a53"
- the "Affects:" line dropped, the tracker URLs stay (the same on all
  five patches)

On Wed, 18 Nov 2026 00:58:14 +0800, Alexey Kuznetsov wrote:
> Also it fixes bugs: first, when a pass stopped part-way
> with ENOSPC or EBUSY and was retried, swapext retried
> the already swapped area and failed with ENODATA.

Items 1-3 and 6 of my v1 reply are done, thanks.

Thanks.

-- 
Konstantin Khorenko,
Virtuozzo Linux Kernel Team



More information about the Devel mailing list