]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3cf040970eaa564fa353799694cd223b76b4ae84
tree55bf3640e8553a1e2b3f0067cce0e321e20b83d1
parent913dd9b20f6c64cc9e8f96d10f204418ad8f9e6c
ceph: add imported caps when handling cap export message

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