Re: [PATCH] loop: remove support for swapping loop fds
From: Jens Axboe
Date: Mon Oct 12 2026 - 15:24:24 EST
On Mon, 12 Oct 2026 14:47:08 +0200, Christian Brauner wrote:
> LOOP_CHANGE_FD swaps the backing file of a bound read-only loop device
> for another file of the same size. The comment above loop_change_fd()
> says this is for installers that want to free the original image and
> for HA setups that want to switch to another copy of the image. When we
> discussed deprecating it in 2023 (cf. [1]) we found no users at all:
> zero hits on codesearch.debian.net, GitHub code search and
> cs.android.com. The only things that exercise it are strace, LTP,
> stress-ng and blktests. Everyone agreed to drop it. I just never sent
> the patch.
>
> [...]
Applied, thanks!
[1/1] loop: remove support for swapping loop fds
commit: d4fabede1da0be116fd4cbd34ffd275e394526eb
Best regards,
--
Jens Axboe