[GFS2] Only wake the reclaim daemon if we need to
authorBob Peterson <rpeterso@redhat.com>
Mon, 28 Jan 2008 20:54:16 +0000 (14:54 -0600)
committerSteven Whitehouse <swhiteho@redhat.com>
Mon, 31 Mar 2008 09:40:00 +0000 (10:40 +0100)
commitef8c441cb7fece75dbbdb1f59d3f82b6a4be7474
tree2319b22825ccf910040fbbb99d88788ff4638708
parent7eabb77e65c559d9c284da232b9ba5354898028a
[GFS2] Only wake the reclaim daemon if we need to

This patch only wakes up the glock reclaim daemon if there is
actually something to be reclaimed.

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