[PATCH] pktcdvd: more accurate I/O accounting
commit06e7ab53f4a1e8bbf66c3985968468949d74d006
authorPeter Osterlund <petero2@telia.com>
Tue, 13 Sep 2005 08:25:28 +0000 (13 01:25 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 13 Sep 2005 15:22:30 +0000 (13 08:22 -0700)
treebf5851f4751e63dbab225a3079e3ad90f171d717
parenta676f8d092f2a3aff419cacae79c80c3b7f6c0f5
[PATCH] pktcdvd: more accurate I/O accounting

In the /proc statistics, only count writes that upper layers have requested.
Don't count additional writes created inside the packet driver to satisfy the
requirement to only write full packets.

Signed-off-by: Peter Osterlund <petero2@telia.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/block/pktcdvd.c