lkml.org 
[lkml]   [2018]   [Mar]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
Subject[PATCH 0/6] rhashtable: assorted fixes and enhancements
Hi,
I'm hoping to use rhashtable in lustre, to replace the resizeable
hashtable implementation in libcfs.
While working through the conversion I found some minor bugs in the
rhashtable code and documentation, and some areas where enhancements
could make rhashtable a better fit for lustre.

Following 6 patches are the result. Please review.

It would help me if I could get an Ack for these patches, and could
then submit them through the drivers/staging tree together with the
lustre changes that make use to rhashtable. The first 2 are mostly
just fixes to comments and can go in through the netdev tree if you
prefer - the last 4 are needed for lustre to work
correctly/optimally.

Thanks,
NeilBrown


---

NeilBrown (6):
rhashtable: improve documentation for rhashtable_walk_peek()
rhashtable: remove outdated comments about grow_decision etc
rhashtable: reset iter when rhashtable_walk_start sees new table
rhashtable: allow a walk of the hash table without missing objects.
rhashtable: support guaranteed successful insertion.
rhashtable: allow element counting to be disabled.


include/linux/rhashtable.h | 89 ++++++++++++++++++++++++++++----------
lib/rhashtable.c | 102 +++++++++++++++++++++++++++++++-------------
2 files changed, 136 insertions(+), 55 deletions(-)

--
Signature

\
 
 \ /
  Last update: 2018-03-27 03:52    [W:0.139 / U:1.268 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site