From: Bob Peterson <rpeterso@redhat.com>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] [GFS2 PATCH 2/2] GFS2: Use resizable hash table for glocks
Date: Thu, 27 Aug 2015 09:34:57 -0400 (EDT) [thread overview]
Message-ID: <498757425.18274950.1440682497407.JavaMail.zimbra@redhat.com> (raw)
In-Reply-To: <CAHc6FU6qeyvULZt=fKoNGZWdfduHypaEEGhMV3DTKVfWZ_d-kA@mail.gmail.com>
----- Original Message -----
> Bob,
>
> 2015-07-09 20:25 GMT+02:00 Bob Peterson <rpeterso@redhat.com>:
> > @@ -202,9 +176,8 @@ void gfs2_glock_put(struct gfs2_glock *gl)
> >
> > gfs2_glock_remove_from_lru(gl);
> > spin_unlock(&gl->gl_lockref.lock);
> > - spin_lock_bucket(gl->gl_hash);
> > - hlist_bl_del_rcu(&gl->gl_list);
> > - spin_unlock_bucket(gl->gl_hash);
> > + if (gl->gl_node.next != NULL)
> > + rhashtable_remove_fast(&gl_hash_table, &gl->gl_node,
> > ht_parms);
> > GLOCK_BUG_ON(gl, !list_empty(&gl->gl_holders));
> > GLOCK_BUG_ON(gl, mapping && mapping->nrpages);
> > trace_gfs2_glock_put(gl);
>
> what does the added if do?
I guess nothing. I'll remove it with another patch.
Bob Peterson
Red Hat File Systems
prev parent reply other threads:[~2015-08-27 13:34 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-09 18:25 [Cluster-devel] [GFS2 PATCH 0/2] Increase GFS2 glock scalability Bob Peterson
2015-07-09 18:25 ` [Cluster-devel] [GFS2 PATCH 1/2] GFS2: Move glock superblock pointer to field gl_name Bob Peterson
2015-07-13 11:19 ` Steven Whitehouse
2015-07-13 13:39 ` [Cluster-devel] [GFS2 PATCH 1/2][TRY #2] " Bob Peterson
2015-07-13 19:19 ` Steven Whitehouse
2015-08-22 22:00 ` Andreas Gruenbacher
2015-08-23 10:53 ` Steven Whitehouse
2015-08-26 14:12 ` Bob Peterson
2015-07-09 18:25 ` [Cluster-devel] [GFS2 PATCH 2/2] GFS2: Use resizable hash table for glocks Bob Peterson
2015-07-13 11:19 ` Steven Whitehouse
2015-08-24 13:16 ` Andreas Gruenbacher
2015-08-24 13:31 ` Andreas Gruenbacher
2015-08-24 13:46 ` Andreas Gruenbacher
2015-08-27 13:34 ` Bob Peterson [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=498757425.18274950.1440682497407.JavaMail.zimbra@redhat.com \
--to=rpeterso@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.