]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commit
libceph: add CEPH_OSD_OP_ASSERT_VER support
authorJeff Layton <jlayton@kernel.org>
Thu, 25 Aug 2022 13:31:05 +0000 (09:31 -0400)
committerXiubo Li <xiubli@redhat.com>
Fri, 26 Aug 2022 23:58:54 +0000 (07:58 +0800)
commit8aac23b3267d26750d3408bb67514d4973cf69cd
tree5f2ff4f0886fb0ba3c196e6c96e80d0f89a613f3
parent25ed157d7253f89b9d425f53ddc7e2a23bf64aae
libceph: add CEPH_OSD_OP_ASSERT_VER support

...and record the user_version in the reply in a new field in
ceph_osd_request, so we can populate the assert_ver appropriately.
Shuffle the fields a bit too so that the new field fits in an
existing hole on x86_64.

Reviewed-by: Xiubo Li <xiubli@redhat.com>
Signed-off-by: Jeff Layton <jlayton@kernel.org>
include/linux/ceph/osd_client.h
include/linux/ceph/rados.h
net/ceph/osd_client.c