From: Jason Dillaman Date: Tue, 27 Jun 2017 18:03:34 +0000 (-0400) Subject: qa/tasks/qemu: rbd cache is enabled by default X-Git-Tag: v10.2.10~36^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=412f75a8f8203f236c1eb9f52da8876e476a052f;p=ceph.git qa/tasks/qemu: rbd cache is enabled by default Signed-off-by: Jason Dillaman (cherry picked from commit fdc4c9221f2c54d5fb55e74491ebc5165f73e776) --- diff --git a/qa/tasks/qemu.py b/qa/tasks/qemu.py index 5b25acd4f28f..f75ed97a6737 100644 --- a/qa/tasks/qemu.py +++ b/qa/tasks/qemu.py @@ -335,7 +335,7 @@ def run_qemu(ctx, config): ceph_config = ctx.ceph['ceph'].conf.get('global', {}) ceph_config.update(ctx.ceph['ceph'].conf.get('client', {})) ceph_config.update(ctx.ceph['ceph'].conf.get(client, {})) - if ceph_config.get('rbd cache'): + if ceph_config.get('rbd cache', True): if ceph_config.get('rbd cache max dirty', 1) > 0: cachemode = 'writeback' else: