Skip to content

Commit

Permalink
common: make some message informative, instead of error
Browse files Browse the repository at this point in the history
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
  • Loading branch information
wjwithagen committed Jul 31, 2017
1 parent da4286e commit 8241a32
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/ceph_osd.cc
Expand Up @@ -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);
Expand Down
3 changes: 2 additions & 1 deletion src/os/filestore/FileJournal.h
Expand Up @@ -16,6 +16,7 @@
#ifndef CEPH_FILEJOURNAL_H
#define CEPH_FILEJOURNAL_H

#include <stdlib.h>
#include <deque>
using std::deque;

Expand Down Expand Up @@ -433,7 +434,7 @@ class FileJournal :
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;
}
Expand Down

0 comments on commit 8241a32

Please sign in to comment.