From 9fa85de269ef3efdd5272b82f0926c6ee9b796ef Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Sat, 15 Mar 2003 10:33:32 +0000 Subject: Add a devstat_start_transaction_bio() to match the devstat_end_transaction_bio() we already have. For now it just calls devstat_start_transaction(), but that will change shortly. --- sys/kern/subr_devstat.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'sys/kern/subr_devstat.c') diff --git a/sys/kern/subr_devstat.c b/sys/kern/subr_devstat.c index eab9a4f63efd..01322e020c8f 100644 --- a/sys/kern/subr_devstat.c +++ b/sys/kern/subr_devstat.c @@ -201,6 +201,13 @@ devstat_start_transaction(struct devstat *ds) ds->busy_count++; } +void +devstat_start_transaction_bio(struct devstat *ds, struct bio *bp) +{ + + devstat_start_transaction(ds); +} + /* * Record the ending of a transaction, and incrment the various counters. */ -- cgit v1.2.3