]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cls_rbd: get_features needs to support legacy negative tests 4469/head
authorJason Dillaman <dillaman@redhat.com>
Mon, 20 Apr 2015 16:40:33 +0000 (12:40 -0400)
committerJason Dillaman <dillaman@redhat.com>
Mon, 27 Apr 2015 03:14:47 +0000 (23:14 -0400)
commit32c41f8ce02d6b6da69c84191e6e002cd0c4a60a
treeffefed52cd9eaa721ced5950ef080e7c1be8352a
parent33bdae7d62ddc1fd77b758e2dd2876a1353f5db6
cls_rbd: get_features needs to support legacy negative tests

During Ceph upgrade testing, older Ceph test suites assume that
get_features will return -ENOENT if provided a missing snapshot.
Support these negative tests until the older releases are no
longer supported.

Fixes: #11380
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 66493b7e839d2cc6f422ca4253c011fcaf0adad1)
src/cls/rbd/cls_rbd.cc
src/test/cls_rbd/test_cls_rbd.cc