diff options
| author | Mikhail Pershin <[email protected]> | 2016-11-18 11:49:52 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2016-11-19 14:12:10 +0100 |
| commit | ab16bdd8340ffe7d2be1bda3a586b8fd62faa313 (patch) | |
| tree | 66b745c77c81718c76a68b44e9821d8a3aba4221 /tools/perf/scripts/python | |
| parent | 8d78f0f2ba76a5a56de8800e19caeb8a3e161b75 (diff) | |
staging: lustre: llog: fix wrong offset in llog_process_thread()
- llh_cat_idx may become bigger than llog bitmap size in
llog_cat_set_first_idx() function
- it is wrong to use previous cur_offset as new buffer offset,
new offset should be calculated from value returned by
llog_next_block().
- optimize llog_skip_over() to find llog entry offset by index
for llog with fixed-size records.
Signed-off-by: Mikhail Pershin <[email protected]>
Signed-off-by: Bob Glossman <[email protected]>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6714
Reviewed-on: http://review.whamcloud.com/15316
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6163
Reviewed-on: http://review.whamcloud.com/18819
Reviewed-by: John L. Hammond <[email protected]>
Reviewed-by: James Simmons <[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')
0 files changed, 0 insertions, 0 deletions