]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
objectcacher: write vs truncate races are ok
authorSage Weil <sage@newdream.net>
Thu, 1 Sep 2011 20:14:11 +0000 (13:14 -0700)
committerSage Weil <sage@newdream.net>
Thu, 1 Sep 2011 20:15:21 +0000 (13:15 -0700)
commitc8c205fa73078c1ee46152ed860084a272867f5e
tree7d6fc77bb88699bfde7c439695b0112278119504
parentb2c762beccf8ca260e3d2ad25ee9b7c62eeedbbb
objectcacher: write vs truncate races are ok

It is possible to write a buffer, truncate it away, and then not have it
when we get the commit.

Fixes: #1467
Signed-off-by: Sage Weil <sage@newdream.net>
src/osdc/ObjectCacher.cc