]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: do write_full for whole object write 5750/head
authorZhiqiang Wang <zhiqiang.wang@intel.com>
Wed, 2 Sep 2015 03:20:12 +0000 (11:20 +0800)
committerZhiqiang Wang <zhiqiang.wang@intel.com>
Wed, 2 Sep 2015 03:20:12 +0000 (11:20 +0800)
commit7bfb7f9025a8ee0d2305f49bf0336d2424da5b5b
tree790c86353b68ceca083fa3b2745de5330c2ff7fe
parentb199c492b072e5a43f6c134c760c3f178bd176d0
librbd: do write_full for whole object write

This is useful when ec is the base tier in the cache tiering setup. The
write_full can be proxied from the cache tier to the base tier. So that
we don't need to promote the object.

Signed-off-by: Zhiqiang Wang <zhiqiang.wang@intel.com>
Suggested-by: Nick Fisk<nick@fisk.me.uk>
src/librbd/AioRequest.cc