1 /* 2 tune.c -- tuneable stuff 3 Copyright (C) 1998-2000, 2007 Free Software Foundation, Inc. 4 5 This program is free software; you can redistribute it and/or modify 6 it under the terms of the GNU General Public License as published by 7 the Free Software Foundation; either version 3 of the License, or 8 (at your option) any later version. 9 10 This program is distributed in the hope that it will be useful, 11 but WITHOUT ANY WARRANTY; without even the implied warranty of 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 GNU General Public License for more details. 14 15 You should have received a copy of the GNU General Public License 16 along with this program. If not, see <http://www.gnu.org/licenses/>. 17 */ 18 19 #include <config.h> 20 21 #ifndef DISCOVER_ONLY 22 23 /* 24 * maybe i'll make this all command-line configurable one day 25 */ 26 27 /* The size of the buffer cache in kilobytes. Note that this is only 28 the actual buffer memory. On top of this amount additional memory 29 will be allocated for buffer cache bookkeeping. */ 30 int ext2_buffer_cache_pool_size = 512; 31 32 /* The size of the buffer cache hash table (log2 of # of buckets). */ 33 int ext2_hash_bits = 8; 34 35 /* The block/inode relocator pool size in kilobytes. Make this as big 36 as you can. The smaller this is, the more disk I/O is required for 37 doing relocations. */ 38 int ext2_relocator_pool_size = 4096; 39 #endif /* !DISCOVER_ONLY */