]> git.hungrycats.org Git - bees/commit
crucible: report when COMMIT_ROOT support has been confirmed
authorZygo Blaxell <bees@furryterror.org>
Thu, 24 Sep 2026 02:11:14 +0000 (22:11 -0400)
committerZygo Blaxell <bees@furryterror.org>
Tue, 6 Oct 2026 05:51:40 +0000 (01:51 -0400)
commitbb36c27d5ca67b6066bea8a415e4e6960ac8288b
tree042e3e9a588061494469512b5f6015d5593fe973
parentd7fd8a064ef36367682bce943f23ef744dc59a50
crucible: report when COMMIT_ROOT support has been confirmed

commit_root_supported() stays true while support is unknown, which is
what callers need when deciding whether to keep setting the flag.  A
caller that wants to relax something only once the kernel has actually
walked a commit root needs the stronger answer.

Add commit_root_confirmed(), true once a call with the flag has
succeeded.  Make the probe state atomic, since other threads now read
it.

Assisted-by: Claude-Code:claude-opus-5-5
include/crucible/fs.h
lib/fs.cc