ceph: add imported caps when handling cap export message
authorYan, Zheng <zheng.z.yan@intel.com>
Sun, 24 Nov 2013 06:44:38 +0000 (14:44 +0800)
committerYan, Zheng <zheng.z.yan@intel.com>
Tue, 21 Jan 2014 08:30:31 +0000 (16:30 +0800)
Version 3 cap export message includes information about the imported
caps. It allows us to add the imported caps if the corresponding cap
import message still hasn't been received.

This allow us to handle situation that the importer MDS crashes and
the cap import message is missing.

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

diff --cc fs/ceph/caps.c
Simple merge
diff --cc fs/ceph/inode.c
Simple merge
diff --cc fs/ceph/super.h
Simple merge