Can't build with util-linux 2.37
The build broke with the update to util-linux 2.37:
fstrim: /mnt/scratch-disk/tmp/tmp.OerhO6ddOu/mount: the discard operation is not supported
I have done some testing and it looks related to the changes to losetup in 2.37, most notably losetup(8) uses LOOP_CONFIG ioctl now.
. Digging into the kernel code it looks like loop_config_discard
isn't called when using the new LOOP_CONFIGURE
ioctl, so could be a kernel bug (or me missing something).
Sadly I haven't been able to reproduce the issue outside CI reliably.