]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Keep statistics on number of BIO_READ, BIO_WRITE, BIO_DELETE and BIO_FLUSH
authorPawel Jakub Dawidek <pjd@FreeBSD.org>
Mon, 23 May 2011 21:15:19 +0000 (21:15 +0000)
committerPawel Jakub Dawidek <pjd@FreeBSD.org>
Mon, 23 May 2011 21:15:19 +0000 (21:15 +0000)
commit3db86c39aed2f276a65d71b8362cf30baed64beb
tree8bdba7aed6120f1649d55702a6e914918cfa0c9c
parentfe0b141e733e1cc79fa76daf2f4f49a285a06020
Keep statistics on number of BIO_READ, BIO_WRITE, BIO_DELETE and BIO_FLUSH
requests as well as number of activemap updates.

Number of BIO_WRITEs and activemap updates are especially interesting, because
if those two are too close to each other, it means that your workload needs
bigger number of dirty extents. Activemap should be updated as rarely as
possible.

MFC after: 1 week
sbin/hastctl/hastctl.c
sbin/hastd/control.c
sbin/hastd/hast.h
sbin/hastd/primary.c
sbin/hastd/secondary.c