diff options
author | Dave Chinner <david@fromorbit.com> | 2010-03-04 01:46:23 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-04-26 07:48:02 -0700 |
commit | d4187adfe63696f0abc60d32320271f1ec7e8110 (patch) | |
tree | 387480abcbe8a6217ee4b281e94ddf28646219b7 /drivers/acpi/acpica/exprep.c | |
parent | 87bcb4b15d9443cf9a12943fb9162e53ac045b55 (diff) |
xfs: check for more work before sleeping in xfssyncd
commit 20f6b2c785cf187445f126321638ab8ba7aa7494 upstream.
xfssyncd processes a queue of work by detaching the queue and
then iterating over all the work items. It then sleeps for a
time period or until new work comes in. If new work is queued
while xfssyncd is actively processing the detached work queue,
it will not process that new work until after a sleep timeout
or the next work event queued wakes it.
Fix this by checking the work queue again before going to sleep.
Signed-off-by: Dave Chinner <david@fromorbit.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Alex Elder <aelder@sgi.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/acpi/acpica/exprep.c')
0 files changed, 0 insertions, 0 deletions