]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
debian/control, ceph-disk-prepare: Depend on xfsprogs, use xfs by default.
authorTommi Virtanen <tv@inktank.com>
Wed, 3 Oct 2012 19:38:38 +0000 (12:38 -0700)
committerTommi Virtanen <tv@inktank.com>
Fri, 5 Oct 2012 22:41:35 +0000 (15:41 -0700)
Ext4 as a default is a bad choice, as we don't perform enough QA with
it. To use XFS as the default for ceph-disk-prepare, we need to depend
on xfsprogs.

btrfs-tools is already recommended, so no change there. If you set
osd_fs_type=btrfs, and don't have the package installed, you'll just
get an error message.

Signed-off-by: Tommi Virtanen <tv@inktank.com>
debian/control
src/ceph-disk-prepare

index 6556054bdfe0f26d7c111eb787fe2fb77d80f39e..acf3db0ab4056fd55216736f9c02010101a08089 100644 (file)
@@ -11,7 +11,7 @@ Standards-Version: 3.9.3
 
 Package: ceph
 Architecture: linux-any
-Depends: ${shlibs:Depends}, ${misc:Depends}, sdparm | hdparm, binutils, ceph-common, uuid-runtime, python
+Depends: ${shlibs:Depends}, ${misc:Depends}, sdparm | hdparm, binutils, ceph-common, uuid-runtime, python, xfsprogs
 Recommends: ceph-mds, librados2, librbd1, btrfs-tools, gdisk
 Description: distributed storage and file system
  Ceph is a distributed storage system designed to provide excellent
index d6ca516ed78bddc4d3d9a463a5ac18c9b57f0717..03c1527bd936a1996ec09ebbe43782d0fd74b293 100755 (executable)
@@ -93,10 +93,7 @@ def get_fsid(cluster):
     return fsid
 
 
-# TODO depend on xfsprogs?
-# TODO switch default to xfs once xfsprogs is guaranteed.
-# TODO depend on btrfs-tools?
-DEFAULT_FS_TYPE = 'ext4'
+DEFAULT_FS_TYPE = 'xfs'
 
 MOUNT_OPTIONS = dict(
     btrfs='noatime,user_subvol_rm_allowed',