diff options
author | Xue jiufei <[email protected]> | 2014-06-23 13:22:08 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2014-06-23 16:47:45 -0700 |
commit | a270c6d3c0d7ba914bd82da34152d1102920d805 (patch) | |
tree | 5834fdb2dc9ac617e1a872d5aca3631b42c9c9c8 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 8a8ad1c2f6ef6fbee7487ec293218f42e72ad6a3 (diff) |
ocfs2/dlm: fix misuse of list_move_tail() in dlm_run_purge_list()
When a lockres in purge list but is still in use, it should be moved to
the tail of purge list. dlm_thread will continue to check next lockres in
purge list. However, code list_move_tail(&dlm->purge_list,
&lockres->purge) will do *no* movements, so dlm_thread will purge the same
lockres in this loop again and again. If it is in use for a long time,
other lockres will not be processed.
Signed-off-by: Yiwen Jiang <[email protected]>
Signed-off-by: joyce.xue <[email protected]>
Reviewed-by: Mark Fasheh <[email protected]>
Cc: Joel Becker <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions