1
0
mirror of https://github.com/ceph/ceph synced 2025-04-01 14:51:13 +00:00

Merge pull request from wjwithagen/wip-wjw-reduce-info-messages

common: make some message informative, instead of error

Reviewed-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
Sage Weil 2017-08-11 08:31:53 -05:00 committed by GitHub
commit d73e0b28ad
2 changed files with 4 additions and 3 deletions

View File

@ -286,8 +286,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);

View File

@ -16,6 +16,7 @@
#ifndef CEPH_FILEJOURNAL_H
#define CEPH_FILEJOURNAL_H
#include <stdlib.h>
#include <deque>
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;
}