From: Andreas Gruenbacher Date: Tue, 9 Oct 2018 16:47:21 +0200 Subject: [Cluster-devel] [PATCH 1/2] GFS2: use schedule timeout in find insert glock In-Reply-To: <2495633.7Q8Fd300OR@dhcp-3-135.uk.xensource.com> References: <1539002191-40831-1-git-send-email-mark.syms@citrix.com> <21999012.kCAuXqbhYe@dhcp-3-135.uk.xensource.com> <2495633.7Q8Fd300OR@dhcp-3-135.uk.xensource.com> Message-ID: <20181009144721.13463-1-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 Mark and Tim, does the following patch fix the problem, perhaps? Thanks, Andreas --- fs/gfs2/glock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/gfs2/glock.c b/fs/gfs2/glock.c index 4614ee25f621..71e7c380d4c4 100644 --- a/fs/gfs2/glock.c +++ b/fs/gfs2/glock.c @@ -121,7 +121,7 @@ static void wake_up_glock(struct gfs2_glock *gl) wait_queue_head_t *wq = glock_waitqueue(&gl->gl_name); if (waitqueue_active(wq)) - __wake_up(wq, TASK_NORMAL, 1, &gl->gl_name); + __wake_up(wq, TASK_NORMAL, 0, &gl->gl_name); } static void gfs2_glock_dealloc(struct rcu_head *rcu) -- 2.17.1