]> git.itanic.dy.fi Git - linux-stable/commit
ceph: call handle_cap_grant() for cap import message
authorYan, Zheng <zheng.z.yan@intel.com>
Mon, 19 Nov 2012 02:49:09 +0000 (10:49 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Jan 2013 16:51:21 +0000 (08:51 -0800)
commit57d93df8f18dbe66c0e2e1089ed2c120a9b980af
tree137abd76e0041f0553235b7b01f0ca76c932f389
parentfbc8158351e8d34c499b61c422f3614dad6dc910
ceph: call handle_cap_grant() for cap import message

If client sends cap message that requests new max size during
exporting caps, the exporting MDS will drop the message quietly.
So the client may wait for the reply that updates the max size
forever. call handle_cap_grant() for cap import message can
avoid this issue.

Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
Signed-off-by: Sage Weil <sage@inktank.com>
(cherry picked from commit 0e5e1774a92e6fe9c511585de8f078b4c4c68dbb)
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/ceph/caps.c