]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: print debug write before adding to transaction
authorSage Weil <sage@newdream.net>
Thu, 8 Jul 2010 22:41:32 +0000 (15:41 -0700)
committerSage Weil <sage@newdream.net>
Thu, 8 Jul 2010 22:41:32 +0000 (15:41 -0700)
Signed-off-by: Sage Weil <sage@newdream.net>
src/osd/ReplicatedPG.cc

index be07ff2cfe7b997c9bc883f94ef9466a837e11f7..6ecf48f4cf1577dc04c6e534820f4fae9f80bd06 100644 (file)
@@ -3438,8 +3438,8 @@ void ReplicatedPG::sub_op_push(MOSDSubOp *op)
        p++) {
     bufferlist bit;
     bit.substr_of(data, boff, p->second);
-    t->write(coll_t::build_pg_coll(info.pgid), soid, p->first, p->second, bit);
     dout(15) << " write " << p->first << "~" << p->second << dendl;
+    t->write(coll_t::build_pg_coll(info.pgid), soid, p->first, p->second, bit);
     boff += p->second;
   }