[Cluster-devel] [PATCH 0/2] GFS2 rhashtable cleanup

Steven Whitehouse swhiteho at redhat.com
Wed Feb 22 15:21:33 UTC 2017


Hi,

Ah, thats where the rhashtable bit has got to :-)

Looks good,

Steve.

On 22/02/17 15:14, Andreas Gruenbacher wrote:
> The first of these patches adds rhashtable_lookup_get_insert_fast, which is
> modeled after rhashtable_lookup_get_insert_key and returns existing objects in
> the hash table, other than rhashtable_lookup_insert_fast which returns -EEXIST.
>
> The second of these patch cleans up the GFS2 gfs2 rhashtable code by using
> rhashtable_lookup_get_insert_fast.
>
> Andreas Gruenbacher (2):
>    rhashtable: Add rhashtable_lookup_get_insert_fast
>    gfs2: Switch to rhashtable_lookup_get_insert_fast
>
>   fs/gfs2/glock.c            | 45 +++++++++++++++++++++------------------------
>   include/linux/rhashtable.h | 22 ++++++++++++++++++++++
>   2 files changed, 43 insertions(+), 24 deletions(-)
>




More information about the Cluster-devel mailing list