]> 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)
commitf4137eecdda5ab0adc270ac3a06aa3b6423fbb85
tree55bf3640e8553a1e2b3f0067cce0e321e20b83d1
parent80e94201bc6796435587123b6de225c81177f11f
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