]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
FileJournal: Clarify log message on journal too small.
authorTommi Virtanen <tv@inktank.com>
Thu, 17 May 2012 16:54:02 +0000 (09:54 -0700)
committerTommi Virtanen <tv@inktank.com>
Thu, 17 May 2012 16:54:02 +0000 (09:54 -0700)
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>
src/os/FileJournal.cc

index f6b4ec1d8ff352f937e78cd87acff2b3f6cc35c2..0cbb9e1e6c93512c26dd4a0ab36379240767dee7 100644 (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;
 }