]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - include/linux/ceph/ceph_fs.h
ceph: remove exported caps when handling cap import message
authorYan, Zheng <zheng.z.yan@intel.com>
Sun, 24 Nov 2013 06:43:46 +0000 (14:43 +0800)
committerYan, Zheng <zheng.z.yan@intel.com>
Tue, 21 Jan 2014 08:30:28 +0000 (16:30 +0800)
commit4ee6a914edbbd2543884f0ad7d58ea471136be32
tree459a9db93b394a25317c8ab29338668a0973d57c
parent186e4f7a4b1883f3f46aa15366c0bcebc28fdda7
ceph: remove exported caps when handling cap import message

Version 3 cap import message includes the ID of the exported
caps. It allow us to remove the exported caps if we still haven't
received the corresponding cap export message.

We remove the exported caps because they are stale, keeping them
can compromise consistence.

Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
fs/ceph/caps.c
include/linux/ceph/ceph_fs.h