]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Change the way the plex lock mutexes work. Previously they were part
authorgrog <grog@FreeBSD.org>
Fri, 23 May 2003 01:13:43 +0000 (01:13 +0000)
committergrog <grog@FreeBSD.org>
Fri, 23 May 2003 01:13:43 +0000 (01:13 +0000)
commit18dc607a3bdd5f64bb40d2c74d78d3b7e91e4f26
treeaae8aed70478652ffd749b92fd054da70a795c52
parenteeb76b20a0ff77c799a7c357e3ee2fd5755e2d9a
Change the way the plex lock mutexes work.  Previously they were part
of the struct plex, which tore apart the mutex linked lists when the
plex table was expanded.  Now we maintain a pool of mutexes (currently
32) to be shared by all plexes.  This is still a lot better than the
splhigh() method used in other architectures.

update_volume_config: Remove redundant diskconfig parameter.

expand_table: Add parameters file and line if we're debugging.

Approved by: re (jhb)
sys/dev/vinum/vinumext.h