]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/tasks/qemu: rbd cache is enabled by default
authorJason Dillaman <dillaman@redhat.com>
Tue, 27 Jun 2017 18:03:34 +0000 (14:03 -0400)
committerJason Dillaman <dillaman@redhat.com>
Tue, 27 Jun 2017 18:03:34 +0000 (14:03 -0400)
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
qa/tasks/qemu.py

index aac51d5f54027ea284d2ccd83fbe62b2cd389bfb..f5c0d81d50c22e173c6c96f711f696621992844e 100644 (file)
@@ -383,7 +383,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: