Skip to content

Commit

Permalink
osd: osd: remove duplicated "commit_queued_for_journal_write" in OpTr…
Browse files Browse the repository at this point in the history
…acker

* src/os/filestore/FileJournal.cc: remove line 1612-1613 which will print "commit_queued_for_journal_write" twice.

Fixes: http://tracker.ceph.com/issues/23440
Signed-off-by: ashitakasam <694240887@qq.com>
  • Loading branch information
ashitakasam committed Apr 2, 2018
1 parent 0754b79 commit 5e124a7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/os/filestore/FileJournal.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1609,8 +1609,6 @@ void FileJournal::submit_entry(uint64_t seq, bufferlist& e, uint32_t orig_len,
assert(e.length() > 0);
assert(e.length() < header.max_size);

if (osd_op)
osd_op->mark_event("commit_queued_for_journal_write");
if (logger) {
logger->inc(l_filestore_journal_queue_bytes, orig_len);
logger->inc(l_filestore_journal_queue_ops, 1);
Expand Down

0 comments on commit 5e124a7

Please sign in to comment.