]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
librbd/cache/pwl: bump "Waiting for allocation" and "Retiring" dout level
authorIlya Dryomov <idryomov@gmail.com>
Wed, 28 Apr 2021 12:27:12 +0000 (14:27 +0200)
committerDeepika Upadhyay <dupadhya@redhat.com>
Tue, 2 Nov 2021 11:42:05 +0000 (17:12 +0530)
Bump "Waiting for allocation" to 5.

"Retiring" is at 20 for rwl and 1 for ssd.  Bump the latter to 20 as
well.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit 626a995cf6e949ba47517eac62f2b97715e3fb06)

src/librbd/cache/pwl/AbstractWriteLog.cc
src/librbd/cache/pwl/ssd/WriteLog.cc

index dceedc66c7e912a9331b5be9567838c9fea14743..93979500435b7f43ed9e0243e01a51711c1b836b 100644 (file)
@@ -1487,7 +1487,7 @@ bool AbstractWriteLog<I>::check_allocation(C_BlockIORequestT *req,
     if (m_bytes_allocated + bytes_allocated > m_bytes_allocated_cap) {
       if (!req->has_io_waited_for_buffers()) {
         req->set_io_waited_for_buffers(true);
-        ldout(m_image_ctx.cct, 1) << "Waiting for allocation cap (cap="
+        ldout(m_image_ctx.cct, 5) << "Waiting for allocation cap (cap="
                                   << m_bytes_allocated_cap
                                   << ", allocated=" << m_bytes_allocated
                                   << ") in write [" << *req << "]" << dendl;
index 9c0e834a08fc703f861d29a7f24126b4669d7514..edca766cd1bfd17726d5d3ef3d4fc7d8e0e80c55 100644 (file)
@@ -654,8 +654,8 @@ bool WriteLog<I>::retire_entries(const unsigned long int frees_per_tx) {
     }
   }
   if (retiring_entries.size()) {
-    ldout(cct, 1) << "Retiring " << retiring_entries.size()
-                  << " entries" << dendl;
+    ldout(cct, 20) << "Retiring " << retiring_entries.size() << " entries"
+                   << dendl;
 
     // Advance first valid entry and release buffers
     uint64_t flushed_sync_gen;