Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Jan 2000 16:37:17 -0800 (PST)
From:      Matthew Dillon <dillon@apollo.backplane.com>
To:        Alfred Perlstein <bright@wintelcom.net>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: freezing...  update to 1.45 of ffs_softdep.c
Message-ID:  <200001110037.QAA32229@apollo.backplane.com>
References:  <55926.947513027@critter.freebsd.dk> <200001101945.LAA29394@apollo.backplane.com> <200001102144.NAA30180@apollo.backplane.com> <20000110142338.G9397@fw.wintelcom.net> <200001102249.OAA30876@apollo.backplane.com> <20000110155438.H9397@fw.wintelcom.net>

next in thread | previous in thread | raw e-mail | index | archive | help
    The following patch should fix the problem temporarily until
    Kirk can dig into it and figure out what went wrong.

					-Matt

Index: sys/contrib//softupdates/ffs_softdep.c
===================================================================
RCS file: /FreeBSD/FreeBSD-CVS/src/sys/contrib/softupdates/ffs_softdep.c,v
retrieving revision 1.45
diff -u -r1.45 ffs_softdep.c
--- sys/contrib//softupdates/ffs_softdep.c	2000/01/10 08:39:03	1.45
+++ sys/contrib//softupdates/ffs_softdep.c	2000/01/11 00:20:55
@@ -1663,10 +1663,13 @@
 	 * still have a bitmap dependency, then the inode has never been
 	 * written to disk, so we can process the freeblks immediately.
 	 */
+#if 0
 	if ((inodedep->id_state & DEPCOMPLETE) == 0) {
 		FREE_LOCK(&lk);
 		handle_workitem_freeblocks(freeblks);
-	} else {
+	} else 
+#endif
+	{
 		WORKLIST_INSERT(&inodedep->id_bufwait, &freeblks->fb_list);
 		FREE_LOCK(&lk);
 	}


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200001110037.QAA32229>