Skip to content

fix(osdtrace): prioritize MSG_OSD_REPOP in handle_full dispatch - #174

Merged
taodd merged 2 commits into
mainfrom
fix/subop-w-op-name-dispatch
Aug 13, 2026
Merged

fix(osdtrace): prioritize MSG_OSD_REPOP in handle_full dispatch#174
taodd merged 2 commits into
mainfrom
fix/subop-w-op-name-dispatch

Conversation

@taodd

@taodd taodd commented Aug 12, 2026

Copy link
Copy Markdown
Owner

Summary

This PR fixes an issue where replica write operations (subop_w / MSG_OSD_REPOP) with zero write bytes (op.wb == 0) were misclassified as read operations (op_r) due to if (op.wb == 0) being evaluated before checking op.type == MSG_OSD_REPOP.

Changes Included

  • src/osdtrace.cc: Updated handle_full() event dispatch logic to check op.type == MSG_OSD_REPOP first, ensuring all subop write operations are correctly formatted by print_subop_w with the subop_w operation name.

taodd added 2 commits August 13, 2026 01:38
Fix an issue where subop_w (MSG_OSD_REPOP) operations with zero write bytes
(op.wb == 0) were misclassified as op_r instead of print_subop_w.
@taodd
taodd merged commit 6565533 into main Aug 13, 2026
4 of 25 checks passed
taodd added a commit that referenced this pull request Aug 13, 2026
Reverts PR #173 (remove BlueStore sub-latencies) and PR #174 (prioritize MSG_OSD_REPOP in handle_full dispatch), restoring main to commit 23a8b5a.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant