From owner-cvs-all Mon Mar 1 22:53: 3 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 26D2314D36; Mon, 1 Mar 1999 22:52:27 -0800 (PST) (envelope-from grog@FreeBSD.org) Received: (from grog@localhost) by freefall.freebsd.org (8.9.2/8.9.2) id WAA44344; Mon, 1 Mar 1999 22:52:11 -0800 (PST) (envelope-from grog@FreeBSD.org) Message-Id: <199903020652.WAA44344@freefall.freebsd.org> From: Greg Lehey Date: Mon, 1 Mar 1999 22:52:11 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/vinum vinum.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk grog 1999/03/01 22:52:11 PST Modified files: sys/dev/vinum vinum.c Log: Change printf() calls to log() calls. vinumattach: Zero out tables after allocating them Modify procedure at unload: if a vinum(8) has the superdev open, don't close down. If only the daemon has it open, send the daemon a stop request and wait for it to close the superdev, then unload. In order to do this, create a second superdev which is opened by the daemon. The open and close routines set a different bit in vinum_conf.flags; otherwise the treatment is identical. Remove opencount field in vol structure; replace by a flag bit, since we can't count the number of opens. Remove dead LKM grunge. Revision Changes Path 1.9 +42 -101 src/sys/dev/vinum/vinum.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message