]> git.proxmox.com Git - ceph.git/blobdiff - ceph/qa/tasks/rbd_fio.py
Import ceph 15.2.8
[ceph.git] / ceph / qa / tasks / rbd_fio.py
index decc60c268bc43ba48d9a360318ac57171338abb..393ac8c4b97b1a6cc032b8f0ebec02c33c0021a8 100644 (file)
@@ -157,6 +157,8 @@ def run_fio(remote, config, rbd_test_dir):
                         '--image', rbd_name,
                         '--image-format', '{f}'.format(f=frmt)]
            map(lambda x: create_args.extend(['--image-feature', x]), feature)
+           if config.get('thick-provision'):
+               create_args.append('--thick-provision')
            remote.run(args=create_args)
            remote.run(args=['rbd', 'info', rbd_name])
            if ioengine != 'rbd':