librados: fall back to legacy blacklist command if blocklist gets EINVAL
authorSage Weil <sage@newdream.net>
Fri, 26 Jun 2020 22:04:51 +0000 (17:04 -0500)
committerNeha Ojha <nojha@redhat.com>
Mon, 24 Aug 2020 19:53:08 +0000 (19:53 +0000)
commit269b949ab41aa31285fdb6a13377e6b5aa08195b
tree7896a96241dea687655f1539fc317de8c7af68c4
parentc7244e7aade4f9ef887110e600dc76d0ccfb6744
librados: fall back to legacy blacklist command if blocklist gets EINVAL

I would have expected ENOSYS or EOPNOTSUPP or similar, but the mon returns
EINVAL on an unrecognized command

Signed-off-by: Sage Weil <sage@newdream.net>
src/librados/RadosClient.cc