From owner-freebsd-commit Thu Sep 21 19:52:43 1995 Return-Path: owner-commit Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id TAA11454 for freebsd-commit-outgoing; Thu, 21 Sep 1995 19:52:43 -0700 Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id TAA11437 for cvs-all-outgoing; Thu, 21 Sep 1995 19:52:30 -0700 Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id TAA11426 for cvs-sys-outgoing; Thu, 21 Sep 1995 19:52:25 -0700 Received: from Root.COM (implode.Root.COM [198.145.90.17]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id TAA11421 ; Thu, 21 Sep 1995 19:52:13 -0700 Received: from corbin.Root.COM (corbin [198.145.90.34]) by Root.COM (8.6.12/8.6.5) with ESMTP id TAA01078; Thu, 21 Sep 1995 19:50:55 -0700 Received: from localhost (localhost [127.0.0.1]) by corbin.Root.COM (8.6.12/8.6.5) with SMTP id TAA00334; Thu, 21 Sep 1995 19:53:22 -0700 Message-Id: <199509220253.TAA00334@corbin.Root.COM> To: Steven Wallace cc: CVS-commiters@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/ufs/ffs ffs_vnops.c In-reply-to: Your message of "Thu, 21 Sep 95 19:48:29 PDT." <199509220248.TAA06754@balboa.eng.uci.edu> From: David Greenman Reply-To: davidg@Root.COM Date: Thu, 21 Sep 1995 19:53:21 -0700 Sender: owner-commit@FreeBSD.org Precedence: bulk >> davidg 95/09/21 17:05:48 >> >> Modified: sys/ufs/ffs ffs_vnops.c >> Log: >> Disable file read clustering until the bug(s) in vfs_cluster.c are fixed. >> This should temporarily fix the sig 10/11 problems that people have been >> having for the past 3 weeks. > >#ifdef DEBUG >/* > * Enabling cluster read/write operations. > */ >#include >int doclusterread = 0; >struct ctldebug debug11 = { "doclusterread", &doclusterread }; >int doclusterwrite = 1; >struct ctldebug debug12 = { "doclusterwrite", &doclusterwrite }; >#else >/* XXX for ufs_readwrite */ >#define doclusterread 1 <---- CHANGE THIS TO 0 as well? >#define doclusterwrite 1 >#endif > >Now shouldn't you also need to change to >#define doclusterread 0 >or is DEBUG always defined? DEBUG should normally never be defined. I changed the non-DEBUG case. -DG