Skip to content

Commit

Permalink
replcatedBackend: delete one useless op->mark_started as there are tw…
Browse files Browse the repository at this point in the history
…o in ReplicatedBackend::sub_op_modify_impl

delete one mark_start event as there are two same op->mark_started  in ReplicatedBackend::sub_op_modify_impl

Signed-off-by: shun-s <song.shun3@zte.com.cn>
  • Loading branch information
shun-s committed Jun 28, 2016
1 parent dac65d0 commit fbabc6e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/osd/ReplicatedBackend.cc
Expand Up @@ -1193,8 +1193,6 @@ void ReplicatedBackend::sub_op_modify_impl(OpRequestRef op)

rm->bytes_written = rm->opt.get_encoded_bytes();

op->mark_started();

rm->localt.append(rm->opt);
rm->localt.register_on_commit(
parent->bless_context(
Expand Down

0 comments on commit fbabc6e

Please sign in to comment.