Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 Apr 2020 20:32:06 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 245414] panic: softdep_setup_blkfree: not free
Message-ID:  <bug-245414-227-QMu3RvnHhh@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-245414-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-245414-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245414

--- Comment #1 from sigsys@gmail.com ---
This does seem to have been caused by r359612.  It apparently fixed a bug in
sys/ufs/ffs/ffs_inode.c (the MNT_SUJ flag being ignored), but it must also have
exposed other bugs.

By forcing the old behavior, there are no more panics during my tests.  There's
still something wrong going on there but way too complicated for me to figure
out.

Index: sys/ufs/ffs/ffs_inode.c
===================================================================
--- sys/ufs/ffs/ffs_inode.c     (revision 359751)
+++ sys/ufs/ffs/ffs_inode.c     (working copy)
@@ -243,7 +243,11 @@
        allerror = 0;
        needextclean = 0;
        softdeptrunc = 0;
+#if 0
        journaltrunc = DOINGSUJ(vp);
+#else
+       journaltrunc = 0;
+#endif
        if (journaltrunc == 0 && DOINGSOFTDEP(vp) && length == 0)
                softdeptrunc = !softdep_slowdown(vp);
        extblocks = 0;

-- 
You are receiving this mail because:
You are the assignee for the bug.

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-245414-227-QMu3RvnHhh>