mirror of
https://github.com/ceph/ceph
synced 2025-02-22 02:27:29 +00:00
librbd/cache/pwl: bump "Waiting for allocation" and "Retiring" dout level
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>
This commit is contained in:
parent
27dd7f85ae
commit
626a995cf6
2
src/librbd/cache/pwl/AbstractWriteLog.cc
vendored
2
src/librbd/cache/pwl/AbstractWriteLog.cc
vendored
@ -1490,7 +1490,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;
|
||||
|
4
src/librbd/cache/pwl/ssd/WriteLog.cc
vendored
4
src/librbd/cache/pwl/ssd/WriteLog.cc
vendored
@ -656,8 +656,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;
|
||||
|
Loading…
Reference in New Issue
Block a user