Whamcloud - gitweb
LU-15207 libcfs: reset hs_rehash_bits 33/45533/2
authorAlex Zhuravlev <bzzz@whamcloud.com>
Thu, 11 Nov 2021 08:19:46 +0000 (11:19 +0300)
committerAlex Zhuravlev <bzzz@whamcloud.com>
Thu, 11 Nov 2021 08:33:37 +0000 (11:33 +0300)
commit0c51e83b1345059c7f6847ea394e589ebffd0121
tree8a122821f659560af7046952d4ff3b5fdc888577
parent05e6ccd344e7eba44e43230fa2fa0a1b3b6115c4
LU-15207 libcfs: reset hs_rehash_bits

if rehash work is cancelled, then nobody resets
hs_rehash_bits and the first iterator asserts
at LASSERT(!cfs_hash_is_rehashing(hs)) in
cfs_hash_for_each_relax().

Signed-off-by: Alex Zhuravlev <bzzz@whamcloud.com>
Change-Id: I1a567f6be77ca6c45e5d4f256722206b12588554
libcfs/libcfs/hash.c