[Bug 245414] panic: softdep_setup_blkfree: not free
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Apr 9 20:32:07 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245414
--- Comment #1 from sigsys at 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.
More information about the freebsd-bugs
mailing list