summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_cluster.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-11-15 13:54:31 +0000
committerbde <bde@FreeBSD.org>1998-11-15 13:54:31 +0000
commit7d319d0a3e8f9d38f58d991c6472f7135e8c4660 (patch)
tree4c99f88300b089e91f7bba695bbc55e7bab3b508 /sys/kern/vfs_cluster.c
parentd1f01d4b14713d18ea7040b5dbdc0a2072e6b3df (diff)
downloadFreeBSD-src-7d319d0a3e8f9d38f58d991c6472f7135e8c4660.zip
FreeBSD-src-7d319d0a3e8f9d38f58d991c6472f7135e8c4660.tar.gz
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.
Diffstat (limited to 'sys/kern/vfs_cluster.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud