[LU-12394] lctl get_param llite.lfs*.extents_stats only displays first two buckets Created: 05/Jun/19 Updated: 12/Sep/19 Resolved: 21/Aug/19 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.13.0, Lustre 2.12.3 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Patrick Farrell (Inactive) | Assignee: | Patrick Farrell (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||
| Severity: | 3 | ||||
| Rank (Obsolete): | 9223372036854775807 | ||||
| Description |
|
ll_extent_stats is broken on recent versions, displaying on the 0-4K and 4K - 8K buckets: lctl get_param llite.*.extents_stats
llite.[...].extents_stats=
snapshot_time: 1559766954.651554186 (secs.nsecs)
read | write
extents calls % cum% | calls % cum%
0K - 4K : 0 0 0 | 0 0 0
4K - 8K : 0 0 0 | 207590 100 100
This was broken in: commit adb5aca3d67380078c4bd35c74651a7b9f848f4d LU-8066 llite: Move all remaining procfs entries to debugfs This moves all remaining procfs handling in llite layer to debugfs. This is a modified version of Linux-commit : ae7c0f4833a65b7648cceaf1a60503a89e057f0f Change-Id: Id5c411d21a660a17a015ca9976b857e6b088c28a By this change: - for(i = 0; (count >= (1 << LL_HIST_START << i)) && + for(i = 0; (count >= BIT(LL_HIST_START << i)) && BIT(LL_HIST_START << i) is not actually the same as 1 << LL_HIST_START << i due to operation ordering details. BIT(LL_HIST_START + i) gives the desired behavior. |
| Comments |
| Comment by Gerrit Updater [ 05/Jun/19 ] |
|
Patrick Farrell (pfarrell@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/35075 |
| Comment by Gerrit Updater [ 21/Aug/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35075/ |
| Comment by Peter Jones [ 21/Aug/19 ] |
|
Landed for 2.13 |
| Comment by Gerrit Updater [ 22/Aug/19 ] |
|
Minh Diep (mdiep@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/35866 |
| Comment by Gerrit Updater [ 12/Sep/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35866/ |