Really fix the "byte" count stat. `wd's are actually blocks of 32 16-bit

words in dkstat-speak.  `ms's are seconds in dkstat-speak...
This commit is contained in:
Bruce Evans 1994-12-24 09:19:00 +00:00
parent 13d7c724ca
commit 026c9b2ce6

View File

@ -14,7 +14,7 @@
*
* Ported to run under 386BSD by Julian Elischer (julian@dialix.oz.au) Sept 1992
*
* $Id: sd.c,v 1.46 1994/12/23 22:44:55 davidg Exp $
* $Id: sd.c,v 1.47 1994/12/23 23:03:32 davidg Exp $
*/
#define SPLSD splbio
@ -649,7 +649,7 @@ sdstart(unit)
if(sd->dkunit >= 0) {
dk_xfer[sd->dkunit]++;
dk_seek[sd->dkunit]++; /* don't know */
dk_wds[sd->dkunit] += bp->b_bcount >> 1;
dk_wds[sd->dkunit] += bp->b_bcount >> 6;
}
} else {
bad: