Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Sep 1995 19:53:21 -0700
From:      David Greenman <davidg@Root.COM>
To:        Steven Wallace <swallace@ece.uci.edu>
Cc:        CVS-commiters@freefall.freebsd.org, cvs-sys@freefall.freebsd.org
Subject:   Re: cvs commit: src/sys/ufs/ffs ffs_vnops.c 
Message-ID:  <199509220253.TAA00334@corbin.Root.COM>
In-Reply-To: Your message of "Thu, 21 Sep 95 19:48:29 PDT." <199509220248.TAA06754@balboa.eng.uci.edu> 

next in thread | previous in thread | raw e-mail | index | archive | help
>> 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 <sys/sysctl.h>
>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



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