[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:
Related
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
Subject: LU-15204 libcfs: no versioning in cfs_hash_for_each_empty()
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 54c238766797a767a7db50395964b55ec4bf102b

Comment by Alex Zhuravlev [ 16/Jan/23 ]

a dup of LU-16272

Generated at Sat Feb 10 03:16:20 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.