]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: add an interface to invalidate cached data
authorJosh Durgin <josh.durgin@inktank.com>
Thu, 24 Apr 2014 21:47:24 +0000 (14:47 -0700)
committerJosh Durgin <josh.durgin@inktank.com>
Sat, 9 Aug 2014 22:47:30 +0000 (15:47 -0700)
commitdda98b9afb5d74c8c5f101b792daca9ca344fe87
tree4a741044336eb55b3e173e2bf2502e2153b0b477
parentd93579514db74eed61580a6166c2787304a8a9fb
librbd: add an interface to invalidate cached data

This is useful for qemu to guarantee live migration with caching is
safe, by invalidating the cache on the destination before starting it.

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
(cherry picked from commit 5d340d26dd70192eb0e4f3f240e3433fb9a24154)
src/include/rbd/librbd.h
src/include/rbd/librbd.hpp
src/librbd/internal.cc
src/librbd/internal.h
src/librbd/librbd.cc
src/pybind/rbd.py
src/test/pybind/test_rbd.py