]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4759227decb78cfccf086b2fdabcd82e57a0593a
treea3b75df7abfcb6dcb77139cf23c540e51d761f7e
parent31d42057a1b1d5791e0b57021fcebce87d1dc2d5
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