diff options
author | grog <grog@FreeBSD.org> | 2000-05-04 07:48:40 +0000 |
---|---|---|
committer | grog <grog@FreeBSD.org> | 2000-05-04 07:48:40 +0000 |
commit | 539756f4820cfe09d3b7a1063f5c235495c491ff (patch) | |
tree | 664bf71ea70f33bef5954833c50855c4ea7e495a /sys/dev/vinum/vinumvar.h | |
parent | 8ba6aa9a33249ae87134059b830ee88bf86f51cc (diff) | |
download | FreeBSD-src-539756f4820cfe09d3b7a1063f5c235495c491ff.zip FreeBSD-src-539756f4820cfe09d3b7a1063f5c235495c491ff.tar.gz |
Increase the initial size of a RAID-5 plex lock table to 256 entries,
which seems to correspond better with what a busy plex needs. This
may also help us avoid race conditions when expanding the table which
may have been contributing to the random corruption, panics and hangs
we've been seeing in RAID-5 plexes, particularly with ata drives.
Eagerly-awaited-by: sos
Diffstat (limited to 'sys/dev/vinum/vinumvar.h')
-rw-r--r-- | sys/dev/vinum/vinumvar.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/vinum/vinumvar.h b/sys/dev/vinum/vinumvar.h index 703da91..3865e12 100644 --- a/sys/dev/vinum/vinumvar.h +++ b/sys/dev/vinum/vinumvar.h @@ -37,7 +37,7 @@ * otherwise) arising in any way out of the use of this software, even if * advised of the possibility of such damage. * - * $Id: vinumvar.h,v 1.21 1999/10/12 04:39:08 grog Exp grog $ + * $Id: vinumvar.h,v 1.24 2000/03/01 02:34:57 grog Exp grog $ * $FreeBSD$ */ @@ -166,7 +166,7 @@ enum constants { INITIAL_SUBDISKS_IN_DRIVE = 4, /* number of subdisks to allocate to a drive */ INITIAL_DRIVE_FREELIST = 16, /* number of entries in drive freelist */ PLEX_REGION_TABLE_SIZE = 8, /* number of entries in plex region tables */ - INITIAL_LOCKS = 64, /* number of locks to allocate to a plex */ + INITIAL_LOCKS = 256, /* number of locks to allocate to a plex */ MAX_REVIVE_BLOCKSIZE = 65536, /* maximum revive block size */ DEFAULT_REVIVE_BLOCKSIZE = 65536, /* default revive block size */ VINUMHOSTNAMELEN = 32, /* host name field in label */ |