From: Sage Weil Date: Fri, 13 Jul 2012 18:30:21 +0000 (-0700) Subject: ceph: add default btrfs mkfs options X-Git-Tag: 1.1.0~2500 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b0985e446b810cb2b29c819c4ae89d0e2e7d00ba;p=teuthology.git ceph: add default btrfs mkfs options --- diff --git a/teuthology/task/ceph.py b/teuthology/task/ceph.py index 65c989a36..5477372c2 100644 --- a/teuthology/task/ceph.py +++ b/teuthology/task/ceph.py @@ -622,6 +622,10 @@ def cluster(ctx, config): package = 'btrfs-tools' if mount_options is None: mount_options = ['noatime','user_subvol_rm_allowed'] + if mkfs_options is None: + mkfs_options = ['-m', 'single', + '-l', '32768', + '-n', '32768'] if fs == 'xfs': package = 'xfsprogs' if mount_options is None: