From owner-cvs-all@FreeBSD.ORG Thu May 22 18:13:11 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C084137B401; Thu, 22 May 2003 18:13:11 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 72CB843F75; Thu, 22 May 2003 18:13:11 -0700 (PDT) (envelope-from grog@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h4N1DB0U093243; Thu, 22 May 2003 18:13:11 -0700 (PDT) (envelope-from grog@repoman.freebsd.org) Received: (from grog@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h4N1DBQe093242; Thu, 22 May 2003 18:13:11 -0700 (PDT) Message-Id: <200305230113.h4N1DBQe093242@repoman.freebsd.org> From: Greg Lehey Date: Thu, 22 May 2003 18:13:11 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/vinum vinumconfig.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 01:13:12 -0000 grog 2003/05/22 18:13:11 PDT FreeBSD src repository Modified files: sys/dev/vinum vinumconfig.c Log: Change many strcpys to strlcpys, etc. Submitted by: Ted Unangst Correct some inaccurate and badly formatted comments. config_subdisk: If our drive is down, ensure that the subdisk is crashed. Previously it was possible for the subdisk to be up when the drive was down. 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. Approved by: re (jhb) Revision Changes Path 1.58 +24 -20 src/sys/dev/vinum/vinumconfig.c