From: Martin Mares Date: Tue, 20 Sep 2005 20:29:29 +0000 (+0000) Subject: Merged bucket file scaling patches from rel-3-7-pre1: X-Git-Tag: holmes-import~730 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=9c573104bf05cebbd2907f3aed1046e3b55ba0ea;p=libucw.git Merged bucket file scaling patches from rel-3-7-pre1: Report failure if the bucket file grows too large. Report oversized bucket files as fatal errors during bucket fsck. Made OBUCK_SHIFT a configurable parameter. Also changed OBUCK_INCOMPLETE_MAGIC, the original value was an evident typo (fortunately this value should never appear in valid bucket files, so we are free to change it). Increased bucket shift in PL customization. --- diff --git a/build/sherlock.cfg b/build/sherlock.cfg index 7098ab00..4ca12f25 100644 --- a/build/sherlock.cfg +++ b/build/sherlock.cfg @@ -52,6 +52,9 @@ UnSet("CONFIG_MUX"); # Support databases >4GB Set("CONFIG_LARGE_DB"); +# Bucket position alignment shift (maximum bucket file size is 4G << this shift) +Set("CONFIG_BUCKET_SHIFT" => 7); + # Number of sections we remember limits for Set("SHERLOCK_NUM_SECTIONS" => 4);