]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
neorados: Change `cmpxattr_op` to `cmp_op` and use in `Op::cmp_omap`
authorAdam Emerson <aemerson@redhat.com>
Wed, 9 Aug 2023 03:19:24 +0000 (23:19 -0400)
committerAdam Emerson <aemerson@redhat.com>
Thu, 14 Sep 2023 21:48:00 +0000 (17:48 -0400)
commit36aa8e4973b5da3a5ccd22d6059fccb3706e2b9f
treebe0a7981d25156c9f9e5808e78054d3f78ae9e91
parent3febae8eea715de2c45890a31a5b6bf26379088f
neorados: Change `cmpxattr_op` to `cmp_op` and use in `Op::cmp_omap`

Omap and Xattr comparison use the same values, but in the Xattr case
it's eight bits wide.

Rename the enum to `cmp_op` to reflect this, and open-code encoding
the assertions so we don't have to allocate an intermediate structure.

Signed-off-by: Adam Emerson <aemerson@redhat.com>
src/include/neorados/RADOS.hpp
src/neorados/RADOS.cc
src/osdc/Objecter.h