Module Name: src Committed By: reinoud Date: Mon Jul 6 17:08:04 UTC 2009
Modified Files: src/sys/fs/udf: udf.h Log Message: Reduce the number of active ecclines; low memory systems could get into trouble otherwise. XXX this value should be computed eventually. To generate a diff of this commit: cvs rdiff -u -r1.34 -r1.35 src/sys/fs/udf/udf.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/fs/udf/udf.h diff -u src/sys/fs/udf/udf.h:1.34 src/sys/fs/udf/udf.h:1.35 --- src/sys/fs/udf/udf.h:1.34 Wed Jun 24 17:09:13 2009 +++ src/sys/fs/udf/udf.h Mon Jul 6 17:08:04 2009 @@ -1,4 +1,4 @@ -/* $NetBSD: udf.h,v 1.34 2009/06/24 17:09:13 reinoud Exp $ */ +/* $NetBSD: udf.h,v 1.35 2009/07/06 17:08:04 reinoud Exp $ */ /* * Copyright (c) 2006, 2008 Reinoud Zandijk @@ -118,7 +118,7 @@ #define UDF_ECCBUF_HASHMASK (UDF_ECCBUF_HASHSIZE -1) #define UDF_ECCLINE_MAXFREE 5 /* picked, needs calculation */ -#define UDF_ECCLINE_MAXBUSY 300 /* picked, needs calculation */ +#define UDF_ECCLINE_MAXBUSY 100 /* picked, needs calculation */ #define UDF_MAX_MAPPINGS (MAXPHYS/DEV_BSIZE) /* 128 */ #define UDF_VAT_CHUNKSIZE (64*1024) /* picked */