]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] pktcdvd: more accurate I/O accounting
authorPeter Osterlund <petero2@telia.com>
Tue, 13 Sep 2005 08:25:28 +0000 (01:25 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 13 Sep 2005 15:22:30 +0000 (08:22 -0700)
commit3c57f4afad7d6909a6eb3278e57a377704c95bc0
treebf5851f4751e63dbab225a3079e3ad90f171d717
parenta9566908a6c9e8ba07057276b99ec185a61722bc
[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