]> 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>
Thu, 31 Aug 2017 14:00:32 +0000 (10:00 -0400)
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit fdc4c9221f2c54d5fb55e74491ebc5165f73e776)

qa/tasks/qemu.py

index 5b25acd4f28fa6cd27d0d342e5b27fbbd945cd99..f75ed97a6737ce4de8b8d623b49e96e1e30aebc7 100644 (file)
@@ -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: