]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/ReplicatedPG: fix bl resize on write vs truncate race 645/head
authorSage Weil <sage@inktank.com>
Thu, 26 Sep 2013 17:38:23 +0000 (10:38 -0700)
committerSage Weil <sage@inktank.com>
Thu, 26 Sep 2013 17:38:23 +0000 (10:38 -0700)
commit179001b42c142e0877e6c4991f88e7355c9b82ff
treed8b556858e774d16abb84ad05d8f2f1bbf0652e0
parent1d67aeba729013638ad1d853ab6f23f6e1f6bb26
osd/ReplicatedPG: fix bl resize on write vs truncate race

If we resize the write due to the funky truncate behavior, we need to
resize the bufferlist to match.

Fixes: #6346
Signed-off-by: Sage Weil <sage@inktank.com>
src/osd/ReplicatedPG.cc