diff options
author | Pawel Jakub Dawidek <pjd@FreeBSD.org> | 2011-05-23 21:15:19 +0000 |
---|---|---|
committer | Pawel Jakub Dawidek <pjd@FreeBSD.org> | 2011-05-23 21:15:19 +0000 |
commit | 3db86c39aed2f276a65d71b8362cf30baed64beb (patch) | |
tree | 8bdba7aed6120f1649d55702a6e914918cfa0c9c /sbin/hastd/hast.h | |
parent | fe0b141e733e1cc79fa76daf2f4f49a285a06020 (diff) | |
download | src-3db86c39aed2f276a65d71b8362cf30baed64beb.tar.gz src-3db86c39aed2f276a65d71b8362cf30baed64beb.zip |
Notes
Diffstat (limited to 'sbin/hastd/hast.h')
-rw-r--r-- | sbin/hastd/hast.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sbin/hastd/hast.h b/sbin/hastd/hast.h index 3f2616228352..a62b63a263f6 100644 --- a/sbin/hastd/hast.h +++ b/sbin/hastd/hast.h @@ -218,6 +218,17 @@ struct hast_resource { /* Locked used to synchronize access to hr_amp. */ pthread_mutex_t hr_amp_lock; + /* Number of BIO_READ requests. */ + uint64_t hr_stat_read; + /* Number of BIO_WRITE requests. */ + uint64_t hr_stat_write; + /* Number of BIO_DELETE requests. */ + uint64_t hr_stat_delete; + /* Number of BIO_FLUSH requests. */ + uint64_t hr_stat_flush; + /* Number of activemap updates. */ + uint64_t hr_stat_activemap_update; + /* Next resource. */ TAILQ_ENTRY(hast_resource) hr_next; }; |