[Bug 256511] UFS assertion failure when shutting down from single-user mode

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 22 Jun 2021 22:57:38 +0000

--- Comment #6 from Robert Wing <rew_at_FreeBSD.org> ---
(In reply to Konstantin Belousov from comment #5)

Hmm, I have a question. Can the namei() call go before the MNT_UPDATE {} block
and either return early or cache the result from namei() and skip
initialization based on that?

Here's why I ask that:

softdep_mount() is what sets up um_softdep and softdep_mount() is only called
in the (MNT_UPDATE && upgrade from ro->rw) {} block. Also in that block of
code, the superblock gets updated with new values for fs_mtime and fs_ronly.
The geom access counters get incremented for exclusive write access. Seems like
those would also need to be cleaned up?

I'll put the above idea (patch) on phabricator for comment:

You are receiving this mail because:
You are the assignee for the bug.
Received on Tue Jun 22 2021 - 22:57:38 UTC

Original text of this message