Otherwise it is very hard to identify which OSD ops are slow when we've
seen a SLOW_OPS health warning in a qa run.
Notably, without this, bugs like http://tracker.ceph.com/issues/23769
are very challenging to track down.
Signed-off-by: Sage Weil <sage@redhat.com>
int slow = 0;
auto count_slow_ops = [&](TrackedOp& op) {
if (op.get_initiated() < too_old) {
+ lgeneric_subdout(cct,osd,20) << "slow op " << op.get_desc()
+ << " initiated "
+ << op.get_initiated() << dendl;
slow++;
return true;
} else {