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:
Tommi Virtanen 2012-05-17 09:54:02 -07:00
parent 04a75d29ed
commit 62db60bede

View File

@ -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;
}