ceph: drop unconnected inodes
authorYan, Zheng <zheng.z.yan@intel.com>
Fri, 20 Sep 2013 11:55:31 +0000 (19:55 +0800)
committerSage Weil <sage@inktank.com>
Fri, 13 Dec 2013 17:13:16 +0000 (09:13 -0800)
commit9f12bd119e408388233e7aeb1152f372a8b5dcad
tree9cf2b88f6c466ec72a52be088d1db3ab33b60906
parent56f91aad69444d650237295f68c195b74d888d95
ceph: drop unconnected inodes

Positve dentry and corresponding inode are always accompanied in MDS reply.
So no need to keep inode in the cache after dropping all its aliases.

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