diff options
author | Miao Xie <miaox@cn.fujitsu.com> | 2013-12-26 09:07:06 +0400 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2014-01-29 01:20:09 +0400 |
commit | 67de11769bd5ec339a62169f500b04f304826c00 (patch) | |
tree | 5939ead04cfd0ca9a3e99d2fa0b2cfa9ac99ba1b /include | |
parent | 7cf35d91b4f143b5c7529976bf5e7573a07051cd (diff) | |
download | linux-67de11769bd5ec339a62169f500b04f304826c00.tar.xz |
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 <miaox@cn.fujitsu.com>
Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions