]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/NewStore: don't clear overlay in the create/append case of write
authorZhiqiang Wang <zhiqiang.wang@intel.com>
Thu, 23 Apr 2015 01:41:35 +0000 (09:41 +0800)
committerSage Weil <sage@redhat.com>
Tue, 1 Sep 2015 17:39:40 +0000 (13:39 -0400)
commitdffa43051ae29775361231c50aaa4e4fb4909487
tree9bad7b0f8632d5ed1b373e2c92d612a55a629c60
parentf9f9e1b105167e6991f80b8d6e6b4973ea56ca31
os/NewStore: don't clear overlay in the create/append case of write

Shouldn't clear the overlay in the create/append case of write.
Otherwise, this removes the overlay data and leads to data loss.

Signed-off-by: Zhiqiang Wang <zhiqiang.wang@intel.com>
src/os/newstore/NewStore.cc