]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: utilize neorados to issue async blacklist request
authorJason Dillaman <dillaman@redhat.com>
Tue, 14 Jul 2020 22:38:17 +0000 (18:38 -0400)
committerJason Dillaman <dillaman@redhat.com>
Thu, 16 Jul 2020 20:02:55 +0000 (16:02 -0400)
commit44a0d7c839b31d9cccc6b28443830c3ff6d9701b
tree920c88c0cf8ceb001965847ebb10f028db91343f
parentc87c669a7802c1d97409cd6c96d3d3b27c2e1330
librbd: utilize neorados to issue async blacklist request

The librados API does not currently offer an async 'mon_command'
API method. Instead of adding one just to support this effort,
re-use the neorados API to issue an asynchronous 'mon_command'
for blacklisting a client.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/managed_lock/BreakRequest.cc
src/librbd/managed_lock/BreakRequest.h
src/test/librbd/managed_lock/test_mock_BreakRequest.cc