diff options
author | Joseph Qi <[email protected]> | 2016-03-25 14:21:29 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2016-03-25 16:37:42 -0700 |
commit | be12b299a83fc807bbaccd2bcb8ec50cbb0cb55c (patch) | |
tree | 97fc5800380144f0b49ed99efac94586bd8ac704 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | ac7cf246dfdbec3d8fed296c7bf30e16f5099dac (diff) |
ocfs2/dlm: fix BUG in dlm_move_lockres_to_recovery_list
When master handles convert request, it queues ast first and then
returns status. This may happen that the ast is sent before the request
status because the above two messages are sent by two threads. And
right after the ast is sent, if master down, it may trigger BUG in
dlm_move_lockres_to_recovery_list in the requested node because ast
handler moves it to grant list without clear lock->convert_pending. So
remove BUG_ON statement and check if the ast is processed in
dlmconvert_remote.
Signed-off-by: Joseph Qi <[email protected]>
Reported-by: Yiwen Jiang <[email protected]>
Cc: Junxiao Bi <[email protected]>
Cc: Mark Fasheh <[email protected]>
Cc: Joel Becker <[email protected]>
Cc: Tariq Saeed <[email protected]>
Cc: Junxiao Bi <[email protected]>
Cc: <[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