summaryrefslogtreecommitdiffstats
path: root/fs/ceph/addr.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2017-04-13 17:07:04 +0200
committerIlya Dryomov <idryomov@gmail.com>2017-05-04 09:19:21 +0200
commit92475f05bdb6daefce3f55f46551153e7ed05f45 (patch)
treedee77a889f3dee44d2441bb50430f24c98a6d8ea /fs/ceph/addr.c
parentlibceph: add an epoch_barrier field to struct ceph_osd_client (diff)
downloadlinux-92475f05bdb6daefce3f55f46551153e7ed05f45.tar.xz
linux-92475f05bdb6daefce3f55f46551153e7ed05f45.zip
ceph: handle epoch barriers in cap messages
Have the client store and update the osdc epoch_barrier when a cap message comes in with one. When sending cap messages, send the epoch barrier as well. This allows clients to inform servers that their released caps may not be used until a particular OSD map epoch. Signed-off-by: Jeff Layton <jlayton@redhat.com> Reviewed-by: "Yan, Zhengā€¯ <zyan@redhat.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions