mirror of
https://github.com/ceph/ceph
synced 2025-02-23 02:57:21 +00:00
lttng: Remove 'ver' from trace in code for CEPH_OSD_OP_NOTIFY
'ver' is obsolete and variable exists only for proper deserialization Signed-off-by: Adam Crume <adamcrume@gmail.com>
This commit is contained in:
parent
e1e157fba2
commit
772148e25d
@ -3705,7 +3705,7 @@ int ReplicatedPG::do_osd_ops(OpContext *ctx, vector<OSDOp>& ops)
|
||||
case CEPH_OSD_OP_NOTIFY:
|
||||
++ctx->num_read;
|
||||
{
|
||||
uint32_t ver;
|
||||
uint32_t ver; // obsolete
|
||||
uint32_t timeout;
|
||||
bufferlist bl;
|
||||
|
||||
@ -3716,7 +3716,7 @@ int ReplicatedPG::do_osd_ops(OpContext *ctx, vector<OSDOp>& ops)
|
||||
} catch (const buffer::error &e) {
|
||||
timeout = 0;
|
||||
}
|
||||
tracepoint(osd, do_osd_op_pre_notify, soid.oid.name.c_str(), soid.snap.val, ver, timeout);
|
||||
tracepoint(osd, do_osd_op_pre_notify, soid.oid.name.c_str(), soid.snap.val, timeout);
|
||||
if (!timeout)
|
||||
timeout = cct->_conf->osd_default_notify_timeout;
|
||||
|
||||
|
@ -303,12 +303,10 @@ TRACEPOINT_EVENT(osd, do_osd_op_pre_notify,
|
||||
TP_ARGS(
|
||||
const char*, oid,
|
||||
uint64_t, snap,
|
||||
uint64_t, ver,
|
||||
uint64_t, timeout),
|
||||
TP_FIELDS(
|
||||
ctf_string(oid, oid)
|
||||
ctf_integer(uint64_t, snap, snap)
|
||||
ctf_integer(uint64_t, ver, ver)
|
||||
ctf_integer(uint64_t, timeout, timeout)
|
||||
)
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user