ceph: trim deleted inode
authorYan, Zheng <zheng.z.yan@intel.com>
Sun, 21 Jul 2013 02:07:51 +0000 (10:07 +0800)
committerSage Weil <sage@inktank.com>
Sat, 10 Aug 2013 00:55:10 +0000 (17:55 -0700)
commitca20c991917ef6a98d6b40184fefe981727d9328
treeefc1544a391cf6ffc26b3ddca265788d54acb08f
parent85ce127a9adf5ab9e9d57ddf64c858927d5e546d
ceph: trim deleted inode

The MDS uses caps message to notify clients about deleted inode.
when receiving a such message, invalidate any alias of the inode.
This makes the kernel release the inode ASAP.

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