diff options
author | Fan Yong <[email protected]> | 2016-12-02 19:53:20 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2016-12-06 10:54:33 +0100 |
commit | 3c8fb1b105cd48b1a509d83206bffa356afe359d (patch) | |
tree | 799088d97d16601f3982b77c7b4559cd8f3b48fb /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 817990ba1a1545875fed01a9014ac7f78dedf16d (diff) |
staging: lustre: statahead: set sai_index_wait with lli_sa_lock held
It is the sponsor thread of the statahead thread to update the
sai::sai_index_wait. Originally, it didn't hold the lli_sa_lock
when did that. Becuase of out-of-order execution others may miss
to wakeup such thread.
On the other hand, if the statahead RPC gets failure, it should
wakeup the sponsor thread, not the statahead thread.
Signed-off-by: Li Xi <[email protected]>
Signed-off-by: Fan Yong <[email protected]>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-7828
Reviewed-on: http://review.whamcloud.com/18499
Reviewed-by: Lai Siyao <[email protected]>
Reviewed-by: Andreas Dilger <[email protected]>
Reviewed-by: Oleg Drokin <[email protected]>
Signed-off-by: James Simmons <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions