Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Nov 2002 14:03:53 -0800 (PST)
From:      Ian Dowse <iedowse@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/dev/md md.c
Message-ID:  <200211302203.gAUM3rhb080804@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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.
  
  Approved by:    re
  
  Revision  Changes    Path
  1.75      +1 -1      src/sys/dev/md/md.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?200211302203.gAUM3rhb080804>