[LU-11889] sanity test 156 fails on ZFS: roc_hit not safe to use Created: 26/Jan/19 Updated: 21/Mar/19 |
|
| Status: | Open |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.10.7, Lustre 2.12.1 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Trivial |
| Reporter: | Alex Zhuravlev | Assignee: | Alex Zhuravlev |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Environment: |
zfs |
||
| Issue Links: |
|
||||||||||||||||
| Severity: | 3 | ||||||||||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||||||||||
| Description |
|
because osd-zfs doesn't maintain cache hit/miss stats, there is just no regular API for this at the moment. |
| Comments |
| Comment by Gerrit Updater [ 26/Jan/19 ] |
|
Alex Zhuravlev (bzzz@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/34114 |
| Comment by Andreas Dilger [ 27/Jan/19 ] |
|
Are there examples of this failing in autotest? |
| Comment by Alex Zhuravlev [ 27/Jan/19 ] |
|
yes, I found number of failures like this: |
| Comment by Andreas Dilger [ 27/Jan/19 ] |
|
It looks like this bug originated in |
| Comment by Gerrit Updater [ 27/Jan/19 ] |
|
Andreas Dilger (adilger@whamcloud.com) merged in patch https://review.whamcloud.com/34114/ |
| Comment by Andreas Dilger [ 27/Jan/19 ] |
|
Alex, is it possible to easily implement the cache_hits tracking for ZFS? |
| Comment by Alex Zhuravlev [ 04/Feb/19 ] |
|
adilger I checked ZFS sources and it looks that there is no easy way to get stats for Lustre-related dbufs - all stats ZFS collects are global. We could pre-lookup dbufs and check its status, but that would be +1 lookup for every dbuf which isn't free. not sure we want to pay that price. |