Re: [PATCH 3/6] rhashtable: reset intr when rhashtable_walk_start sees new table

From: Herbert Xu
Date: Tue Mar 27 2018 - 11:47:22 EST


On Tue, Mar 27, 2018 at 10:33:04AM +1100, NeilBrown wrote:
> The documentation claims that when rhashtable_walk_start_check()
> detects a resize event, it will rewind back to the beginning
> of the table. This is not true. We need to set ->slot and
> ->skip to be zero for it to be true.
>
> Signed-off-by: NeilBrown <neilb@xxxxxxxx>

Acked-by: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt