Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Mar 2000 02:09:14 -0500
From:      Doug Ledford <dledford@redhat.com>
To:        Metod Kozelj <metod.kozelj@rzs-hm.si>
Cc:        aic7xxx@FreeBSD.ORG
Subject:   Re: AHA-2940UW, DLT, alpha & aic driver
Message-ID:  <38BCC21A.F37E34@redhat.com>
References:  <Pine.HPP.3.96.1000301074426.27969B-100000@hmljhp.rzs-hm.si>

next in thread | previous in thread | raw e-mail | index | archive | help
Metod Kozelj wrote:

> So you are suggesting that even if I actually read the data from DLT
> (using 'tar -tvf /dev/nst0'), it's just fine for stats not to reflect any
> reads? And that this is st driver's failure?

More like, the data length calculation can be done either A) quickly or B)
thoroughly.  As it turns out, I chose the quick method, which does rely upon
the upper SCSI driver layers to do the right thing, because this is in the
common code path and I didn't want to bear the overhead of checking the
command byte against too many possible alternatives.  However, as far as I
recall, the driver did previously record the data transfers on tape drives (it
didn't catch certain control ops, but actual reads and writes it did get). 
Are you sure that the performance stats stuff is turned on in the kernel
config?

-- 

 Doug Ledford <dledford@redhat.com>  http://people.redhat.com/dledford
      Please check my web site for aic7xxx updates/answers before
                      e-mailing me about problems


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe aic7xxx" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38BCC21A.F37E34>