Subject: kern/2679: addition of seek stat
To: None <gnats-bugs@NetBSD.ORG>
From: John M Vinopal <banshee@gabriella.abattoir.com>
List: netbsd-bugs
Date: 08/08/1996 02:41:30
>Number: 2679
>Category: kern
>Synopsis: addition of seek stat
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: kern-bug-people (Kernel Bug People)
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Thu Aug 8 06:05:03 1996
>Last-Modified:
>Originator: John M Vinopal
>Organization:
>Release: 1.2_BETA
>Environment:
System: NetBSD gabriella.abattoir.com 1.2_BETA NetBSD 1.2_BETA (GABRIELLA-NCR) #0: Sat Jul 20 02:16:34 PDT 1996 banshee@gabriella.abattoir.com:/usr/src/sys/arch/i386/compile/GABRIELLA-NCR i386
>Description:
dk_seek is not updated in subr_disk.c
>How-To-Repeat:
A seek could be defined as any xfer or zero byte xfer, in this
case the following patch is appropriate.
>Fix:
*** subr_disk.c Sun Mar 17 04:28:11 1996
--- /tmp/a Thu Aug 8 02:37:14 1996
***************
*** 385,390 ****
--- 385,391 ----
diskp->dk_bytes += bcount;
diskp->dk_xfer++;
}
+ diskp->dk_seek++;
}
/*
>Audit-Trail:
>Unformatted: