mirror of
https://github.com/ceph/ceph
synced 2025-04-01 14:51:13 +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
src
@ -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);
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user