[LU-15204] cfs_hash_for_each_empty() don't rescan on hash version's change Created: 10/Nov/21 Updated: 16/Jan/23 Resolved: 16/Jan/23 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Minor |
| Reporter: | Alex Zhuravlev | Assignee: | Alex Zhuravlev |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||
| Rank (Obsolete): | 9223372036854775807 | ||||
| Description |
|
cfs_hash_for_each_empty() is supposed to empty hashtable, it has own loop to repeat if hashtable is still non-empty, so there is no need to rescan in cfs_hash_for_each_relax() if version changes (due to item removal) |
| Comments |
| Comment by Gerrit Updater [ 10/Nov/21 ] |
|
"Alex Zhuravlev <bzzz@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/45512 |
| Comment by Alex Zhuravlev [ 16/Jan/23 ] |
|
a dup of |