From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steven Whitehouse Date: Wed, 22 Feb 2017 15:21:33 +0000 Subject: [Cluster-devel] [PATCH 0/2] GFS2 rhashtable cleanup In-Reply-To: <1487776488-18736-1-git-send-email-agruenba@redhat.com> References: <1487776488-18736-1-git-send-email-agruenba@redhat.com> Message-ID: <2dc3907b-d62e-f0cd-abc1-398c29706d77@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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(-) >