[LU-14967] rhashtable_walk_next() can return -EAGAIN Created: 27/Aug/21  Updated: 17/Sep/21  Resolved: 11/Sep/21

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Upstream
Fix Version/s: Lustre 2.15.0

Type: Bug Priority: Minor
Reporter: Alex Zhuravlev Assignee: Alex Zhuravlev
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

this is a legal case which can happen due to concurrent hashtable resize.
the caller should check for EAGAIN and just repeat rhashtable_walk_next()



 Comments   
Comment by Gerrit Updater [ 27/Aug/21 ]

"Alex Zhuravlev <bzzz@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/44766
Subject: LU-14967 obdclass: EAGAIN after rhashtable_walk_next()
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: f42f67fd0269ac03c66909ebb2c7a4fa7d1dc3fa

Comment by Gerrit Updater [ 11/Sep/21 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/44766/
Subject: LU-14967 obdclass: EAGAIN after rhashtable_walk_next()
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 96aa615f91cd25b04c393f16f122e33f6744fdc9

Comment by Peter Jones [ 11/Sep/21 ]

Landed for 2.15

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