Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Dec 2002 06:17:27 -0500
From:      Hiten Pandya <hiten@angelica.unixdaemons.com>
To:        Ian Dowse <iedowse@FreeBSD.ORG>
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>
In-Reply-To: <200211302203.gAUM3rhb080804@repoman.freebsd.org>
References:  <200211302203.gAUM3rhb080804@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021201111727.GB63822>