mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-18 15:30:21 +00:00
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
This commit is contained in:
parent
37669c86d4
commit
a32d2d99c4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=59942
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user