diff options
author | bde <bde@FreeBSD.org> | 1994-12-24 09:19:00 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1994-12-24 09:19:00 +0000 |
commit | 26c593819033a256ca80bb6cc249e001bd26f4b6 (patch) | |
tree | e516ae2a9e5ae0d834a88c9fe35267a5f7609ffb /sys/scsi | |
parent | 56c1610b718e566d6b35ed42ba72ae1b4922b393 (diff) | |
download | FreeBSD-src-26c593819033a256ca80bb6cc249e001bd26f4b6.zip FreeBSD-src-26c593819033a256ca80bb6cc249e001bd26f4b6.tar.gz |
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...
Diffstat (limited to 'sys/scsi')
-rw-r--r-- | sys/scsi/sd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/scsi/sd.c b/sys/scsi/sd.c index 95c1aef..11a9db1 100644 --- a/sys/scsi/sd.c +++ b/sys/scsi/sd.c @@ -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: |