[LU-14161] conf-sanity/91 may fail due to rhashtable restart Created: 30/Nov/20  Updated: 17/Dec/20  Resolved: 17/Dec/20

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

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

Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

according to rhashtable documentation:

Also, you may miss objects if there are removals in between rhashtable_walk_stop and the next call to rhashtable_walk_start.

so the fix could be to restart the iteration from scratch using rhashtable_walk_exit() and rhashtable_walk_enter()



 Comments   
Comment by Gerrit Updater [ 30/Nov/20 ]

Alex Zhuravlev (bzzz@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/40794
Subject: LU-14161 obdclass: restart walk in obd_export_evict_by_nid()
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: f2888f7a09d16c7329d5d79f45304ca891483da0

Comment by Gerrit Updater [ 03/Dec/20 ]

Neil Brown (neilb@suse.de) uploaded a new patch: https://review.whamcloud.com/40846
Subject: LU-14161 obdclass: fix some problems with obd_nid_hash
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: b7ab6c5778a75831fb326094374fd59fdafcc153

Comment by Gerrit Updater [ 17/Dec/20 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/40846/
Subject: LU-14161 obdclass: fix some problems with obd_nid_hash
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 160ff3c144a37c7379613190ec752da3bd176fa3

Comment by Peter Jones [ 17/Dec/20 ]

Landed for 2.14

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