rhashtable-test: Use walker to test bucket statistics
authorThomas Graf <tgraf@suug.ch>
Thu, 30 Apr 2015 22:37:44 +0000 (22:37 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 May 2015 03:08:54 +0000 (23:08 -0400)
commit246b23a7695bd5a457aa51a36a948cce53d1d477
tree16ff143dd196e071343e5d4d5a451fe8ab7faf64
parentfcc570207c1e7c485050adbab1e5d7808eab0fd4
rhashtable-test: Use walker to test bucket statistics

As resizes may continue to run in the background, use walker to
ensure we see all entries. Also print the encountered number
of rehashes queued up while traversing.

This may lead to warnings due to entries being seen multiple
times. We consider them non-fatal.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
lib/test_rhashtable.c