GlusterFS volume mount should check for O_DIRECT support
Bug #1177103 reported by
Eric Harney
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Expired
|
Undecided
|
Unassigned |
Bug Description
From https:/
GlusterFS mounts on older platforms (i.e. Ubuntu 12.04) don't support O_DIRECT, and fail because driver_cache = "none" is set by LibvirtBaseVolu
The instance store LibvirtDriver has a check for this which sets disk_cachemode to "writethrough" if O_DIRECT is not supported. The volume mounting code should do a similar check and set the option accordingly.
Changed in nova: | |
assignee: | nobody → Eric Harney (eharney) |
Changed in nova: | |
status: | New → Triaged |
importance: | Undecided → Low |
Changed in nova: | |
assignee: | Eric Harney (eharney) → nobody |
Changed in nova: | |
status: | Triaged → Confirmed |
tags: | added: glusterfs |
To post a comment you must log in.
It seems that when using libgfapi [1], this bug is still exist.
[1] https:/ /blueprints. launchpad. net/nova/ +spec/glusterfs -native- support