From: Miao Xie Date: Thu, 26 Dec 2013 05:07:06 +0000 (+0800) Subject: Btrfs: introduce the delayed inode ref deletion for the single link inode X-Git-Tag: v3.14-rc1~29^2~71 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=67de11769bd5ec339a62169f500b04f304826c00;p=pandora-kernel.git Btrfs: introduce the delayed inode ref deletion for the single link inode The inode reference item is close to inode item, so we insert it simultaneously with the inode item insertion when we create a file/directory.. In fact, we also can handle the inode reference deletion by the same way. So we made this patch to introduce the delayed inode reference deletion for the single link inode(At most case, the file doesn't has hard link, so we don't take the hard link into account). This function is based on the delayed inode mechanism. After applying this patch, we can reduce the time of the file/directory deletion by ~10%. Signed-off-by: Miao Xie Signed-off-by: Chris Mason --- Reading git-diff-tree failed