Change in ovirt-hosted-engine-ha[master]: broker: use direct I/O to read metadata

gpadgett at redhat.com gpadgett at redhat.com
Wed Oct 9 13:35:38 UTC 2013


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 at 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 at redhat.com>
Gerrit-Reviewer: Doron Fediuck <dfediuck at redhat.com>
Gerrit-Reviewer: Federico Simoncelli <fsimonce at redhat.com>
Gerrit-Reviewer: Greg Padgett <gpadgett at redhat.com>
Gerrit-Reviewer: Martin Sivák <msivak at redhat.com>
Gerrit-Reviewer: Sandro Bonazzola <sbonazzo at redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list