ceph: set mds_want according to cap import message
authorYan, Zheng <zheng.z.yan@intel.com>
Wed, 27 Feb 2013 01:26:09 +0000 (09:26 +0800)
committerSage Weil <sage@inktank.com>
Thu, 2 May 2013 04:14:32 +0000 (21:14 -0700)
commit964266cce94cee7e4aca42994fcda206c111e917
tree015e18b06e2282a7fee1eb359267f131634357ed
parentd40ee0dcc1b27792b9b2f3905a5eaf4da061dbd5
ceph: set mds_want according to cap import message

MDS ignores cap update message if migrate_seq mismatch, so when
receiving a cap import message with higher migrate_seq, set mds_want
according to the cap import message.

Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
Reviewed-by: Greg Farnum <greg@inktank.com>
fs/ceph/caps.c