mirror of
https://github.com/ceph/ceph
synced 2025-03-08 09:19:03 +00:00
ceph-osd: log journal-creation failure with derr
Fixes: #2938 Reviewed-by: Josh Durgin <josh.durgin@inktank.com> Signed-off-by: Dan Mick <dan.mick@inktank.com>
This commit is contained in:
parent
95ecab27cb
commit
294c25bb37
@ -1164,7 +1164,7 @@ int FileStore::mkjournal()
|
||||
if (ret < 0) {
|
||||
ret = journal->create();
|
||||
if (ret)
|
||||
dout(0) << "mkjournal error creating journal on " << journalpath
|
||||
derr << "mkjournal error creating journal on " << journalpath
|
||||
<< ": " << cpp_strerror(ret) << dendl;
|
||||
else
|
||||
dout(0) << "mkjournal created journal on " << journalpath << dendl;
|
||||
|
Loading…
Reference in New Issue
Block a user