mirror of
https://github.com/ceph/ceph
synced 2025-01-19 01:21:49 +00:00
FileJournal: Clarify log message on journal too small.
The OSDs tolerate a full journal, it will just result in a latency spike. Make the error message say operation will continue, just slower. Signed-off-by: Tommi Virtanen <tv@inktank.com>
This commit is contained in:
parent
04a75d29ed
commit
62db60bede
@ -724,7 +724,7 @@ int FileJournal::check_for_full(uint64_t seq, off64_t pos, off64_t size)
|
||||
|
||||
off64_t max = header.max_size - get_top();
|
||||
if (size > max)
|
||||
dout(0) << "JOURNAL TOO SMALL: item " << size << " > journal " << max << " (usable)" << dendl;
|
||||
dout(0) << "JOURNAL TOO SMALL: continuing, but slow: item " << size << " > journal " << max << " (usable)" << dendl;
|
||||
|
||||
return -ENOSPC;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user