Milos Nikic, le lun. 02 nov. 2026 09:57:20 -0800, a ecrit:
> Here is the patch for --enable-mutex-debug.
Applied, thanks!
> make check will have to come a bit later. I have many scripts that do
> more or less that, but they are mostly Python, and focused on the
> journal's failure modes; I will need to consolidate them and convert
> them to shell.
I'm fine with python code, it's common enough to have Python installed,
and it'll make writing testcases possibly easier than in shell?
> As for this patch: a system built from current master with
> --enable-mutex-debug does not boot. The ext2fs bootstrap filesystem
> dies on the first lookup through a translator, at the double unlock in
> diskfs_S_dir_lookup. Patch 1 of the v2 series ("libdiskfs: Unlock the
> directory once a lookup has found its node") fixes it. With that
> series applied, it boots, and a large apt upgrade ran through with
> every mutex checked.
Cool :)
Thanks,
Samuel