Greg Padgett has submitted this change and it was merged.
Change subject: broker: use direct I/O to read metadata
......................................................................
broker: use direct I/O to read metadata
In some cases a host's filesystem cache may hold stale data from parts
of the shared metadata file not updated by that host. This can lead to
the host falsely concluding that other hosts are down. Using direct
I/O for the read operations avoids this problem by fetching the latest
data directly from the NFS server.
Change-Id: I296977000ffa3fff3f9391f93a8b4f3f519eae4e
Bug-Url:
https://bugzilla.redhat.com/1014241
Signed-off-by: Greg Padgett <gpadgett(a)redhat.com>
---
M ovirt_hosted_engine_ha/broker/constants.py.in
M ovirt_hosted_engine_ha/broker/storage_broker.py
2 files changed, 25 insertions(+), 26 deletions(-)
Approvals:
Greg Padgett: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/19760
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I296977000ffa3fff3f9391f93a8b4f3f519eae4e
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-hosted-engine-ha
Gerrit-Branch: master
Gerrit-Owner: Greg Padgett <gpadgett(a)redhat.com>
Gerrit-Reviewer: Doron Fediuck <dfediuck(a)redhat.com>
Gerrit-Reviewer: Federico Simoncelli <fsimonce(a)redhat.com>
Gerrit-Reviewer: Greg Padgett <gpadgett(a)redhat.com>
Gerrit-Reviewer: Martin Sivák <msivak(a)redhat.com>
Gerrit-Reviewer: Sandro Bonazzola <sbonazzo(a)redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server