Open metrics disk with O_DIRECT.
authorRichard Jones <rjones@trick.home.annexia.org>
Wed, 7 Oct 2009 10:03:23 +0000 (11:03 +0100)
committerRichard Jones <rjones@trick.home.annexia.org>
Wed, 7 Oct 2009 10:29:40 +0000 (11:29 +0100)
commitf22c9b50d12f08bb11f1f549ddd2d01e1be6118b
treebf528f704beac5604bdbac0cf7e98154e86ff09b
parent76defee64c46d0fa88c83f00cdeca79b06514b23
Open metrics disk with O_DIRECT.

Opening with O_DIRECT avoids having the guest kernel cache old
copies of the metrics data.
libmetrics/libmetrics.c