From 8241a322aadbed199ff9a308b3af1d0cc5cd04ed Mon Sep 17 00:00:00 2001 From: Willem Jan Withagen Date: Wed, 26 Jul 2017 11:44:46 +0200 Subject: [PATCH] common: make some message informative, instead of error Signed-off-by: Willem Jan Withagen --- src/ceph_osd.cc | 4 ++-- src/os/filestore/FileJournal.h | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/ceph_osd.cc b/src/ceph_osd.cc index f3d585b47759a..3f26cc4c4852a 100644 --- a/src/ceph_osd.cc +++ b/src/ceph_osd.cc @@ -285,8 +285,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 - << " for osd." << whoami << " fsid " << mc.monmap.fsid << dendl; + dout(0) << "created object store " << g_conf->osd_data + << " for osd." << whoami << " fsid " << mc.monmap.fsid << dendl; } if (mkkey) { common_init_finish(g_ceph_context); diff --git a/src/os/filestore/FileJournal.h b/src/os/filestore/FileJournal.h index 532fe2eae8419..66890904c3eec 100644 --- a/src/os/filestore/FileJournal.h +++ b/src/os/filestore/FileJournal.h @@ -16,6 +16,7 @@ #ifndef CEPH_FILEJOURNAL_H #define CEPH_FILEJOURNAL_H +#include #include using std::deque; @@ -433,7 +434,7 @@ private: aio = false; } #ifndef HAVE_LIBAIO - if (aio) { + if (aio && ::getenv("CEPH_DEV") == NULL) { lderr(cct) << "FileJournal::_open_any: libaio not compiled in; disabling aio" << dendl; aio = false; } -- 2.47.3