diff options
author | Dave Chinner <david@fromorbit.com> | 2010-03-04 02:46:23 +0100 |
---|---|---|
committer | Alex Elder <aelder@sgi.com> | 2010-03-05 18:01:45 +0100 |
commit | 20f6b2c785cf187445f126321638ab8ba7aa7494 (patch) | |
tree | bf8ba702047ae78cffeac6fd97852bde3741621b /fs/xfs/xfs_dir2_sf.c | |
parent | xfs: Fix a build warning in xfs_aops.c (diff) | |
download | linux-20f6b2c785cf187445f126321638ab8ba7aa7494.tar.xz linux-20f6b2c785cf187445f126321638ab8ba7aa7494.zip |
xfs: check for more work before sleeping in xfssyncd
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>
Diffstat (limited to 'fs/xfs/xfs_dir2_sf.c')
0 files changed, 0 insertions, 0 deletions