]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd/diff_iterator: use proper snap to query parent overlap 12396/head
authorXiaoxi Chen <xiaoxchen@ebay.com>
Thu, 8 Dec 2016 18:40:03 +0000 (02:40 +0800)
committerXiaoxi Chen <xiaoxchen@ebay.com>
Tue, 13 Dec 2016 02:53:37 +0000 (10:53 +0800)
commita88ceff2767761483aee73590767c412116a7489
treee0dcace1d1115eb2c5556b43c4ca8293c30f98dd
parentfe814e78b99380b5bd4c093f9f6e1f8746dba3b7
librbd/diff_iterator: use proper snap to query parent overlap

If no snapshot has been made, we will use CEPH_NOSNAP instead of 0,
to query the parent overlap.

Fixes bug http://tracker.ceph.com/issues/18200

Signed-off-by: Xiaoxi Chen <xiaoxchen@ebay.com>
src/librbd/DiffIterate.cc