Skip to content

Commit

Permalink
blkin: squash this commit ceph#4
Browse files Browse the repository at this point in the history
Signed-off-by: Ali Maredia <amaredia@redhat.com>
  • Loading branch information
alimaredia committed May 24, 2016
1 parent 05aa546 commit ab36ef5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/os/filestore/FileJournal.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1052,7 +1052,7 @@ int FileJournal::prepare_single_write(write_item &next_write, bufferlist& bl, of
footerptr.copy_in(post_offset + magic2_offset, sizeof(uint64_t), (char *)&magic2);

bl.claim_append(ebl);
if (next_write.tracked_op)
if (next_write.tracked_op) {
next_write.tracked_op->mark_event("write_thread_in_journal_buffer");
next_write.tracked_op->journal_trace.event("prepare_single_write");
}
Expand Down
6 changes: 1 addition & 5 deletions src/os/filestore/FileStore.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2171,12 +2171,8 @@ int FileStore::queue_transactions(Sequencer *posr, vector<Transaction>& tls,
int r = do_transactions(tls, op);

if (r >= 0) {
<<<<<<< 22d1ff7fb6fea4e6add63f12545794f84488f002:src/os/filestore/FileStore.cc
_op_journal_transactions(tbl, orig_len, op, ondisk, osd_op);
=======
trace.event("journal started");
_op_journal_transactions(tbl, data_align, op, ondisk, osd_op);
>>>>>>> blkin: add traces to FileStore/Journal:src/os/FileStore.cc
_op_journal_transactions(tbl, orig_len, op, ondisk, osd_op);
} else {
delete ondisk;
}
Expand Down

0 comments on commit ab36ef5

Please sign in to comment.