]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: fix MASKTRUNC
authorSage Weil <sage@newdream.net>
Thu, 7 Jan 2010 00:03:31 +0000 (16:03 -0800)
committerSage Weil <sage@newdream.net>
Thu, 7 Jan 2010 00:03:31 +0000 (16:03 -0800)
commitd52e8d2a51a4f1269a774cc0d58851f1c77fd8c5
tree4e938f51d0072b761d116e9ef3937c951e1acd31
parent14f2c78614ba2572022d02f91a46ca6fe62c4aee
osd: fix MASKTRUNC

This was looking at the wrong osd_op for the truncate_seq, which made it
essentially broken.  This was problematic any time the client SETTRUNC
reached an object (on a write after truncate) before the MDS TRIMTRUNC did.
src/osd/ReplicatedPG.cc