@property
def disk_cachemode(self):
    if (self._disk_cachemode is None):
        self._disk_cachemode = 'none'
        if (not self._supports_direct_io(CONF.instances_path)):
            self._disk_cachemode = 'writethrough'
    return self._disk_cachemode
@property
def disk_cachemode(self):
    if (self._disk_cachemode is None):
        self._disk_cachemode = 'none'
        if (not self._supports_direct_io(CONF.instances_path)):
            self._disk_cachemode = 'writethrough'
    return self._disk_cachemode