[LU-14050] ofd_access_log_reader off by one error in alr_sort_and_print_thread() Created: 20/Oct/20 Updated: 07/Nov/20 Resolved: 07/Nov/20 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.14.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | John Hammond | Assignee: | John Hammond |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||
| Severity: | 3 | ||||
| Rank (Obsolete): | 9223372036854775807 | ||||
| Description |
|
There's a bug somewhere in alr_sort_and_print_thread(). If only one file is being accessed then it won't be printed by ofd_access_log_reader. I think there is an off by one error around cut/i that causes us to print one fewer files than we should. |
| Comments |
| Comment by John Hammond [ 20/Oct/20 ] |
|
https://review.whamcloud.com/39934
so that it doesn't suppress single line reports Signed-off-by: Alex Zhuravlev <bzzz@whamcloud.com> |
| Comment by Gerrit Updater [ 07/Nov/20 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/39934/ |
| Comment by Peter Jones [ 07/Nov/20 ] |
|
Landed for 2.14 |