From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Gruenbacher Date: Wed, 22 Feb 2017 16:14:46 +0100 Subject: [Cluster-devel] [PATCH 0/2] GFS2 rhashtable cleanup Message-ID: <1487776488-18736-1-git-send-email-agruenba@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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(-) -- 2.7.4