From owner-cvs-all Sun Dec 1 3:17:42 2002 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 EAC9537B401; Sun, 1 Dec 2002 03:17:31 -0800 (PST) Received: from angelica.unixdaemons.com (angelica.unixdaemons.com [209.148.64.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id 83E0943EA9; Sun, 1 Dec 2002 03:17:30 -0800 (PST) (envelope-from hiten@angelica.unixdaemons.com) Received: from angelica.unixdaemons.com (hiten@localhost.unixdaemons.com [127.0.0.1]) by angelica.unixdaemons.com (8.12.5/8.12.1) with ESMTP id gB1BHRSu064895; Sun, 1 Dec 2002 06:17:27 -0500 (EST) X-Authentication-Warning: angelica.unixdaemons.com: Host hiten@localhost.unixdaemons.com [127.0.0.1] claimed to be angelica.unixdaemons.com Received: (from hiten@localhost) by angelica.unixdaemons.com (8.12.5/8.12.1/Submit) id gB1BHRLT064894; Sun, 1 Dec 2002 06:17:27 -0500 (EST) (envelope-from hiten) Date: Sun, 1 Dec 2002 06:17:27 -0500 From: Hiten Pandya To: Ian Dowse Cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sys/dev/md md.c Message-ID: <20021201111727.GB63822@angelica.unixdaemons.com> References: <200211302203.gAUM3rhb080804@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200211302203.gAUM3rhb080804@repoman.freebsd.org> User-Agent: Mutt/1.4i X-Operating-System: FreeBSD i386 X-Public-Key: http://www.pittgoth.com/~hiten/pubkey.asc X-URL: http://www.unixdaemons.com/~hiten X-PGP: http://pgp.mit.edu:11371/pks/lookup?search=Hiten+Pandya&op=index Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, Nov 30, 2002 at 02:03:53PM -0800, Ian Dowse wrote the words in effect of: > iedowse 2002/11/30 14:03:53 PST > > Modified files: > sys/dev/md md.c > Log: > Move the check for the MD_SHUTDOWN flag to before the tsleep() call > in the per-device kthread. This ensures that synchronisation with > mddestroy() succeeds even if the kthread was not waiting in tsleep() > at the time of the wakeup(). Among other things, this fixes the > problem of mdconfig getting stuck when an attempt is made to use a > zero-length file as a vnode-type backing store. Thanks! -- Hiten Pandya (hiten@unixdaemons.com, hiten@uk.FreeBSD.org) http://www.unixdaemons.com/~hiten/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message