libceph: add CEPH_OSD_OP_ASSERT_VER support
authorJeff Layton <jlayton@kernel.org>
Thu, 25 Aug 2022 13:31:05 +0000 (09:31 -0400)
committerIlya Dryomov <idryomov@gmail.com>
Thu, 24 Aug 2023 09:24:35 +0000 (11:24 +0200)
commit69dd3b3930f96b624228000921f417fb0919a6ab
tree7dde45e606cfc739f0220b6f6c093e41cc57782d
parent77cdb7e17e39ebb986f60bbd3c2b3507687bf475
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.

Signed-off-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
Reviewed-and-tested-by: Luís Henriques <lhenriques@suse.de>
Reviewed-by: Milind Changire <mchangir@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
include/linux/ceph/osd_client.h
include/linux/ceph/rados.h
net/ceph/osd_client.c