summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChao Yu <yuchao0@huawei.com>2016-10-11 22:56:59 +0800
committerJaegeuk Kim <jaegeuk@google.com>2017-09-25 15:05:11 -0700
commit8db338877d72a24743a3808d4bc774f74a058f8f (patch)
tree6f73480fd543eed4e87504d5b1b8fc61b83f047d /tools/perf/scripts/python
parentfbeee49e0605a0c723bd0d870d59175a764377c6 (diff)
f2fs: clear nlink if fail to add_link
commit a11b9f65eae766b17ec3451a6a1766f0a9d1dbff upstream. We don't need to keep incomplete created inode in cache, so if we fail to add link into directory during new inode creation, it's better to set nlink of inode to zero, then we can evict inode immediately. Otherwise release of nid belong to inode will be delayed until inode cache is being shrunk, it may cause a seemingly endless loop while allocating free nids in time of testing generic/269 case of fstest suit. Signed-off-by: Chao Yu <yuchao0@huawei.com> [Jaegeuk Kim: add update_inode_page to fix kernel panic] Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions