]> 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>
Fri, 5 Nov 2021 14:22:07 +0000 (22:22 +0800)
committerJeff Layton <jlayton@kernel.org>
Tue, 31 May 2022 15:50:00 +0000 (11:50 -0400)
commite28c87cce29e2c6447e2a7d2aefd86826bbe570e
tree7a579d24c39dca72bbd3decaf3c665389816b295
parenta41d4149f8e3693fdd2ea85b34eb9332a03ba1e8
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