]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph: fix mkfs -f bug
authorSage Weil <sage@redhat.com>
Tue, 31 Mar 2015 04:11:35 +0000 (21:11 -0700)
committerSage Weil <sage@redhat.com>
Tue, 31 Mar 2015 14:56:53 +0000 (07:56 -0700)
commit182cb630346344a6cb3773012d460fc8dfd14285
tree6ac8756778a5009337758b4c0ffdb83573f01174
parentdcb5e8da9dacd98bf9720dda44c33836d94c3171
ceph: fix mkfs -f bug

Pass -f by default to btrfs instead of first trying without and *then*
trying with.

Among other things, this avoids a confusing failure where we try mkfs.ext4
device (no -f), fail for some reason, and then try again with -f and get
a usage error (-f does not mean force for mke2fs).

Signed-off-by: Sage Weil <sage@redhat.com>
tasks/ceph.py