From 91cda52c10f63f4cb8d51aa4d16ca461301346c6 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Thu, 19 Feb 2015 09:05:49 -0800 Subject: [PATCH] osd: better debug for maybe_handle_cache Signed-off-by: Sage Weil --- src/osd/ReplicatedPG.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/osd/ReplicatedPG.cc b/src/osd/ReplicatedPG.cc index 95f7f2b6463e..c3cb5a94b5c4 100644 --- a/src/osd/ReplicatedPG.cc +++ b/src/osd/ReplicatedPG.cc @@ -1810,10 +1810,14 @@ bool ReplicatedPG::maybe_handle_cache(OpRequestRef op, dout(25) << __func__ << " " << obc->obs.oi << " " << (obc->obs.exists ? "exists" : "DNE") << " missing_oid " << missing_oid + << " must_promote " << (int)must_promote + << " in_hit_set " << (int)in_hit_set << dendl; else dout(25) << __func__ << " (no obc)" << " missing_oid " << missing_oid + << " must_promote " << (int)must_promote + << " in_hit_set " << (int)in_hit_set << dendl; // if it is write-ordered and blocked, stop now -- 2.47.3