GFS2: Allow flocks to use normal glock dq rather than dq_wait
authorBob Peterson <rpeterso@redhat.com>
Thu, 26 Jun 2014 14:46:25 +0000 (10:46 -0400)
committerSteven Whitehouse <swhiteho@redhat.com>
Fri, 18 Jul 2014 10:13:56 +0000 (11:13 +0100)
commit5bef3e7cf18c56cc733777c61b6b61a0b8a62b35
treea3b75df7abfcb6dcb77139cf23c540e51d761f7e
parent6ec43b1838bd71633ac3f853c63ddf1f5940b1ed
GFS2: Allow flocks to use normal glock dq rather than dq_wait

This patch allows flock glocks to use a non-blocking dequeue rather
than dq_wait. It also reverts the previous patch I had posted regarding
dq_wait. The reverted patch isn't necessarily a bad idea, but I decided
this might avoid unforeseen side effects, and was therefore safer.

Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/file.c
fs/gfs2/glock.c