summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2017-05-12 13:51:34 -0700
committerJaegeuk Kim <jaegeuk@kernel.org>2017-07-13 16:56:01 -0700
commit5d6951b8e115161e940f46690a2c971833769584 (patch)
treed2cba69bcf0f0a27914f20d4d122690d529c8d4d /tools/perf/scripts/python
parenta3b6a409692bee072eec659b9d18766d53f96c36 (diff)
f2fs: avoid f2fs_lock_op for IPU writes
Currently, if we do get_node_of_data before f2fs_lock_op, there may be dead lock as follows, where process A would be in infinite loop, and B will NOT be awaked. Process A(cp): Process B: f2fs_lock_all(sbi) get_dnode_of_data <---- lock dn.node_page flush_nodes f2fs_lock_op So, this patch adds f2fs_trylock_op to avoid f2fs_lock_op done by IPU. Signed-off-by: Hou Pengyang <houpengyang@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions