]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: re-add support for nautilus clients talking to jewel clusters 34323/head
authorJason Dillaman <dillaman@redhat.com>
Thu, 2 May 2019 20:55:44 +0000 (16:55 -0400)
committerJason Dillaman <dillaman@redhat.com>
Tue, 31 Mar 2020 15:23:07 +0000 (11:23 -0400)
commitfcb77cf8fac7ba3a3ae35d20ec7266fb84366f28
tree85f38f1fc69c9372c90f9633d9664035ed061274
parent99f754216c46650dfc7f27d0fa760474bc581ec5
librbd: re-add support for nautilus clients talking to jewel clusters

We want to support N - 3 client backward compatibility (special case
to support Jewel since it was a LTS release). The "get_snapshot_timestamp"
cls method does not exist in Jewel clusters so librbd should fallback
to excluding the op if it fails.

Note that this N - 3 also needs to apply for downstream releases as well,
which implies we still need Jewel for the time being.

Fixes: http://tracker.ceph.com/issues/39450
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit c644121820b83c97e68f9896393a45cd34787672)

Conflicts:
src/test/librbd/image/test_mock_RefreshRequest.cc: tweaked to support pool configs
(cherry picked from commit d1a67c3bda09430bb21f768fb743b3e41c7d411e)
src/librbd/image/RefreshRequest.cc
src/librbd/image/RefreshRequest.h
src/test/librbd/image/test_mock_RefreshRequest.cc