]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
ceph: new cap message flags indicate if there is pending capsnap
authorYan, Zheng <zyan@redhat.com>
Mon, 24 Jul 2017 09:59:39 +0000 (17:59 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Wed, 6 Sep 2017 17:56:44 +0000 (19:56 +0200)
commit95569713afc0b53ded1bba67834e0be24529a8c9
tree213f9d7dc7f6420161906cc7c6c8ca18be19e9dc
parent3fb99d483e614bc3834784c7a686572c7970bb92
ceph: new cap message flags indicate if there is pending capsnap

These flags tell mds if there is pending capsnap explicitly.
Without this explicit notification, mds can only conclude if
client has pending capsnap. The method mds use is inefficient
and error-prone.

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/caps.c
include/linux/ceph/ceph_fs.h