diff options
author | 2014-11-21 16:37:40 -0800 | |
---|---|---|
committer | 2014-11-23 21:51:57 -0800 | |
commit | 0341845efcb4a656707b6d551c3057d6dd27009f (patch) | |
tree | 1939d07eeaf6b094877eecc5aee10c560b22d265 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | f2fs: introduce f2fs_dentry_kunmap to clean up (diff) | |
download | linux-dev-0341845efcb4a656707b6d551c3057d6dd27009f.tar.xz linux-dev-0341845efcb4a656707b6d551c3057d6dd27009f.zip |
f2fs: fix livelock calling f2fs_iget during f2fs_evict_inode
In f2fs_evict_inode,
commit_inmemory_pages
f2fs_gc
f2fs_iget
iget_locked
-> wait for inode free
Here, if the inode is same as the one to be evicted, f2fs should wait forever.
Actually, we should not call f2fs_balance_fs during f2fs_evict_inode to avoid
this.
But, the commit_inmem_pages calls f2fs_balance_fs by default, even if
f2fs_evict_inode wants to free inmemory pages only.
Hence, this patch adds to trigger f2fs_balance_fs only when there is something
to write.
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions