diff options
author | Vitaly Fertman <[email protected]> | 2016-03-30 19:49:06 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2016-03-30 21:38:13 -0700 |
commit | 6cead36d284f230d29c2500c774180b8c716d4e6 (patch) | |
tree | 5d12748853353ab42338b2cf864a134081e62359 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | e9570b490ba209220b43530ca250060035d6bcba (diff) |
staging/lustre/ldlm: Solve a race for LRU lock cancel
This patch solves a race condition that the lock may be used again
after LRU cancellation policy check. In that case, the lock may have
locked or dirty pages that makes the policy check totally useless.
The problem is solved by checking l_last_used at cancellation time
therefore it can make sure that the lock has not been used.
Signed-off-by: Jinshan Xiong <[email protected]>
Signed-off-by: Vitaly Fertman <[email protected]>
Reviewed-on: http://review.whamcloud.com/12603
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-5781
Reviewed-by: James Simmons <[email protected]>
Signed-off-by: Oleg Drokin <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions