mirror of
https://github.com/ceph/ceph
synced 2025-04-18 13:26:02 +00:00
Merge pull request #16594 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:
commit
d73e0b28ad
@ -286,8 +286,8 @@ int main(int argc, const char **argv)
|
|||||||
<< g_conf->osd_data << ": " << cpp_strerror(-err) << TEXT_NORMAL << dendl;
|
<< g_conf->osd_data << ": " << cpp_strerror(-err) << TEXT_NORMAL << dendl;
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
derr << "created object store " << g_conf->osd_data
|
dout(0) << "created object store " << g_conf->osd_data
|
||||||
<< " for osd." << whoami << " fsid " << mc.monmap.fsid << dendl;
|
<< " for osd." << whoami << " fsid " << mc.monmap.fsid << dendl;
|
||||||
}
|
}
|
||||||
if (mkkey) {
|
if (mkkey) {
|
||||||
common_init_finish(g_ceph_context);
|
common_init_finish(g_ceph_context);
|
||||||
|
@ -16,6 +16,7 @@
|
|||||||
#ifndef CEPH_FILEJOURNAL_H
|
#ifndef CEPH_FILEJOURNAL_H
|
||||||
#define CEPH_FILEJOURNAL_H
|
#define CEPH_FILEJOURNAL_H
|
||||||
|
|
||||||
|
#include <stdlib.h>
|
||||||
#include <deque>
|
#include <deque>
|
||||||
using std::deque;
|
using std::deque;
|
||||||
|
|
||||||
@ -433,7 +434,7 @@ private:
|
|||||||
aio = false;
|
aio = false;
|
||||||
}
|
}
|
||||||
#ifndef HAVE_LIBAIO
|
#ifndef HAVE_LIBAIO
|
||||||
if (aio) {
|
if (aio && ::getenv("CEPH_DEV") == NULL) {
|
||||||
lderr(cct) << "FileJournal::_open_any: libaio not compiled in; disabling aio" << dendl;
|
lderr(cct) << "FileJournal::_open_any: libaio not compiled in; disabling aio" << dendl;
|
||||||
aio = false;
|
aio = false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user