Chris Mason 1d9e2ae949 Btrfs: Clear the device->running_pending flag before bailing on congestion
Btrfs maintains a queue of async bio submissions so the checksumming
threads don't have to wait on get_request_wait.  In order to avoid
extra wakeups, this code has a running_pending flag that is used
to tell new submissions they don't need to wake the thread.

When the threads notice congestion on a single device, they
may decide to requeue the job and move on to other devices.  This
makes sure the running_pending flag is cleared before the
job is requeued.

It should help avoid IO stalls by making sure the task is woken up
when new submissions come in.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
2009-01-16 11:58:19 -05:00
..
2009-01-05 21:25:51 -05:00
2009-01-05 21:25:51 -05:00
2009-01-05 21:25:51 -05:00
2009-01-05 21:25:51 -05:00
2009-01-05 21:25:51 -05:00
2008-12-08 16:46:26 -05:00
2009-01-05 21:25:51 -05:00
2008-09-25 11:04:06 -04:00
2009-01-05 21:25:51 -05:00
2009-01-06 11:42:00 -05:00
2008-09-25 11:04:06 -04:00
2009-01-05 21:25:51 -05:00
2009-01-05 21:25:51 -05:00
2009-01-05 21:25:51 -05:00
2008-10-29 14:49:59 -04:00
2009-01-05 21:25:51 -05:00
2009-01-05 21:25:51 -05:00
2008-09-29 15:18:18 -04:00
2009-01-05 21:25:51 -05:00
2009-01-05 21:25:51 -05:00
2009-01-05 21:25:51 -05:00
2008-12-12 10:03:26 -05:00
2009-01-05 21:25:51 -05:00
2008-09-25 11:04:07 -04:00
2009-01-05 21:25:51 -05:00