diff options
| author | Jinshan Xiong <[email protected]> | 2016-06-20 16:55:28 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2016-06-20 14:28:39 -0700 |
| commit | a6307ff9aaeda8691204dc0ea30cd3680d06f6b3 (patch) | |
| tree | adc7cf002ec1a340ef972d5cd79d59367c7392db /tools/perf/scripts/python | |
| parent | c9cc8d0f6f770635b206784686a16157db3d43b8 (diff) | |
staging/lustre/osc: osc_lock_weight endless loop fix
With huge number of pages to scan by osc_lock_weight() it is likely
CLP_GANG_RESCHED is returned from osc_page_gang_lookup() and the scan
will be repeated again from the start. To be sure that the scan is
progressing across those restarts, next scan should be started from
the last scanned page index plus one.
Xyratex-bug-id: MRP-2145
Signed-off-by: Alexander Zarochentsev <[email protected]>
Signed-off-by: Jinshan Xiong <[email protected]>
Reviewed-on: http://review.whamcloud.com/12362
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-5781
Reviewed-by: Bobi Jam <[email protected]>
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')
0 files changed, 0 insertions, 0 deletions