mirror of
https://github.com/ceph/ceph
synced 2025-01-19 09:32:00 +00:00
osd: use derr (instead of cerr) for convertfs
This will appear in the log *and* stderr (if we're running in the foreground). Signed-off-by: Sage Weil <sage@inktank.com>
This commit is contained in:
parent
74658dfa2f
commit
f3f144adf1
@ -270,13 +270,13 @@ int OSD::do_convertfs(ObjectStore *store)
|
||||
derr << "collection " << *i << " updated" << dendl;
|
||||
}
|
||||
}
|
||||
cerr << "All collections up to date, updating version stamp..." << std::endl;
|
||||
derr << "All collections up to date, updating version stamp..." << dendl;
|
||||
r = store->update_version_stamp();
|
||||
if (r < 0)
|
||||
return r;
|
||||
store->sync_and_flush();
|
||||
store->sync();
|
||||
cerr << "Version stamp updated, done!" << std::endl;
|
||||
derr << "Version stamp updated, done with upgrade!" << dendl;
|
||||
return store->umount();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user