]> git.proxmox.com Git - ovs.git/commit
hmap: Improve debug log message when reporting unusually large buckets.
authorBen Pfaff <blp@ovn.org>
Tue, 26 Mar 2019 16:58:20 +0000 (09:58 -0700)
committerBen Pfaff <blp@ovn.org>
Tue, 26 Mar 2019 20:29:55 +0000 (13:29 -0700)
commit6a7bceaac390c3fcdf97a259d9d27ba66b44d827
tree81d09f77dd5efc19bf51115a2dbc1c697fcf6d1b
parent51f518b983e2c723ad11b766cce6b603796aee7f
hmap: Improve debug log message when reporting unusually large buckets.

I was seeing a lot of these messages, including a lot of them suppressed
by rate-limiting, and I wondered whether any really big messages were
being suppressed.  By reporting the largest bucket, instead of just every
large bucket, it becomes more likely that the truly too-large buckets get
reported.

(The problem I saw was a false alarm.)

Acked-by: Han Zhou <hzhou8@ebay.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
lib/hmap.c