]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph-osd: don't mention journal on mkfs
authorSage Weil <sage@redhat.com>
Mon, 25 Jan 2016 15:21:48 +0000 (10:21 -0500)
committerLoic Dachary <ldachary@redhat.com>
Thu, 4 Feb 2016 07:36:37 +0000 (14:36 +0700)
Some backends don't use it, almost all clusters use the default
path, and there'll always be a symlink.

Signed-off-by: Sage Weil <sage@redhat.com>
src/ceph_osd.cc

index 6c5b7f1835f1634f41ae346354e7813ae0ed5bff..b40b596b25b25367137c91705c324ee7720b4614 100644 (file)
@@ -277,10 +277,8 @@ int main(int argc, const char **argv)
           << g_conf->osd_data << ": " << cpp_strerror(-err) << TEXT_NORMAL << dendl;
       exit(1);
     }
-    derr << "created object store " << g_conf->osd_data;
-    if (!g_conf->osd_journal.empty())
-      *_dout << " journal " << g_conf->osd_journal;
-    *_dout << " for osd." << whoami << " fsid " << mc.monmap.fsid << dendl;
+    derr << "created object store " << g_conf->osd_data
+        << " for osd." << whoami << " fsid " << mc.monmap.fsid << dendl;
   }
   if (mkkey) {
     common_init_finish(g_ceph_context);