Bob Peterson 645ebd49f0 GFS2: Don't waste time locking lru_lock for non-lru glocks
Before this patch, glock_dq would call gfs2_glock_remove_from_lru.
For glocks that are never put on the LRU, such as the transaction
glock, this just takes the spin_lock, determines there's nothing to
be done because the list is empty, then unlocks again. This was
causing unnecessary lock contention on the lru_lock spin_lock.
This patch adds a check for GLOF_LRU in the glops before taking
the spin_lock.

Signed-off-by: Bob Peterson <rpeterso@redhat.com>
2017-08-09 09:36:39 -05:00
..
2016-05-12 22:28:05 -04:00
2014-03-03 13:50:12 +00:00
2016-06-27 09:47:09 -05:00
2017-07-21 07:48:22 -05:00
2016-06-27 09:47:08 -05:00
2017-07-17 13:39:15 -05:00
2008-06-27 09:39:44 +01:00
2017-07-07 13:22:05 -05:00
2016-08-02 12:05:27 -05:00
2013-06-03 14:20:18 -07:00
2014-05-14 10:04:34 +01:00
2016-06-07 13:41:38 -06:00
2011-05-10 13:12:49 +01:00
2017-04-19 08:25:43 -04:00
2012-01-11 09:23:05 +00:00
2015-12-06 21:25:17 -05:00