]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cls_rbd: change object_map_update to return 0 on success, add logging 6467/head
authorDouglas Fuller <dfuller@redhat.com>
Thu, 5 Nov 2015 00:58:12 +0000 (16:58 -0800)
committerDouglas Fuller <dfuller@redhat.com>
Fri, 6 Nov 2015 16:37:48 +0000 (08:37 -0800)
commit26befe1512e3ea71489132096805fdbbb6c29c1b
tree248fc6ffd8314f968dd6d59249fdc71f4bf1a1fb
parent3eccde9d9c286e7bdf82f7c5d8b4d4f9d544d8b2
cls_rbd: change object_map_update to return 0 on success, add logging

The rbd_object_map_update class method returns the size of the data read
from the object map when no update is necessary. Change this to return 0
on success. Add error logging to differentiate error cases.

Signed-off-by: Douglas Fuller <dfuller@redhat.com>
src/cls/rbd/cls_rbd.cc