Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Nov 1998 05:54:31 -0800 (PST)
From:      Bruce Evans <bde@FreeBSD.ORG>
To:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   cvs commit: src/sys/i386/isa wd.c
Message-ID:  <199811151354.FAA20777@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
bde         1998/11/15 05:54:31 PST

  Modified files:
    sys/i386/isa         wd.c 
  Log:
  Fixed the bug that caused negative busycounts in devstat.  The
  devstart_start_transaction() call is misplaced - it is after the
  wdustart() call that queues the transaction on the controller queue.
  Normally this doesn't matter because we're running at splbio() so
  nothing will look at the controller queue.  However, obsolescent
  code for syncing labels sometimes slept after the transaction was
  started, so the transaction sometimes completed before it was
  [recorded as] started.  This code was misplaced even for syncing
  labels.  Move it to the right place.  It should go away, but
  something may depend on its side effects.
  
  Revision  Changes    Path
  1.179     +6 -6      src/sys/i386/isa/wd.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?199811151354.FAA20777>