Date: Tue, 9 Jan 2001 21:06:38 -0800 (PST) From: Greg Lehey <grog@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/vinum vinumlock.c Message-ID: <200101100506.f0A56cV88788@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
grog 2001/01/09 21:06:38 PST Modified files: sys/dev/vinum vinumlock.c Log: Remove obsolete functions [un]lockplex and [un]lockvol. Rewrite lockrange and unlockrange. The lock table is now a fixed size, so there is no possibility for race conditions when expanding. The current size (256 locked ranges) should be large enough that it makes no sense to expand it. To do expansion right would require quiescing the plex (requiring at least 256 I/O completions), and the performance implications are horrendous. Add a mutex per plex for accessing the lock table. Based on analysis by: tegge Revision Changes Path 1.20 +62 -137 src/sys/dev/vinum/vinumlock.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200101100506.f0A56cV88788>