diff options
author | phk <phk@FreeBSD.org> | 2003-03-15 10:33:32 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2003-03-15 10:33:32 +0000 |
commit | 4a623e073c76d51c33a3f7474b38c023fd3efe0b (patch) | |
tree | c6eade0d749b188b9e2e1f142da7a4ed5f62b7f8 /sys/sys/devicestat.h | |
parent | 2fdf95b63b01c556f323209c35354de8e1284b17 (diff) | |
download | FreeBSD-src-4a623e073c76d51c33a3f7474b38c023fd3efe0b.zip FreeBSD-src-4a623e073c76d51c33a3f7474b38c023fd3efe0b.tar.gz |
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.
Diffstat (limited to 'sys/sys/devicestat.h')
-rw-r--r-- | sys/sys/devicestat.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/devicestat.h b/sys/sys/devicestat.h index 3655db4..872f3f8 100644 --- a/sys/sys/devicestat.h +++ b/sys/sys/devicestat.h @@ -225,6 +225,7 @@ struct devstat *devstat_new_entry(const char *dev_name, void devstat_remove_entry(struct devstat *ds); void devstat_start_transaction(struct devstat *ds); +void devstat_start_transaction_bio(struct devstat *ds, struct bio *bp); void devstat_end_transaction(struct devstat *ds, u_int32_t bytes, devstat_tag_type tag_type, devstat_trans_flags flags); |