Dave Kleikamp 4aa0d230c2 JFS: call io_schedule() instead of schedule() to avoid deadlock
The introduction of Jens Axboe's explicit i/o plugging patches introduced a
deadlock in jfs.  This was caused by the process initiating I/O not
unplugging the queue before waiting on the commit thread.  The commit
thread itself was waiting for that I/O to complete.  Calling io_schedule()
rather than schedule() unplugs the I/O queue avoiding the deadlock, and it
appears to be the right function to call in any case.

Signed-off-by: Dave Kleikamp <shaggy@austin.ibm.com>
2007-01-17 21:18:35 -06:00
..
2006-10-02 09:55:27 -05:00
2006-10-02 09:55:27 -05:00
2006-10-30 11:47:02 -06:00
2007-01-09 14:14:48 -06:00
2006-10-02 09:55:27 -05:00
2006-10-02 09:55:27 -05:00
2006-10-02 09:55:27 -05:00
2006-10-02 09:55:27 -05:00
2007-01-09 14:14:48 -06:00
2006-10-02 09:55:27 -05:00
2006-10-02 09:55:27 -05:00
2006-10-02 09:55:27 -05:00
2006-10-02 09:55:27 -05:00
2007-01-09 14:14:48 -06:00
2006-10-02 09:55:27 -05:00
2007-01-09 14:14:48 -06:00
2006-10-02 09:55:27 -05:00
2006-10-02 09:55:27 -05:00
2006-10-02 09:55:27 -05:00
2006-10-02 09:55:27 -05:00
2006-10-02 09:55:27 -05:00
2006-10-02 09:55:27 -05:00
2006-10-02 09:55:27 -05:00
2006-10-02 09:55:27 -05:00
2006-10-02 09:55:27 -05:00
2006-10-02 09:55:27 -05:00
2006-10-02 09:55:27 -05:00
2006-10-02 09:55:27 -05:00
2006-10-02 09:55:27 -05:00
2006-02-09 09:09:16 -06:00
2007-01-09 14:14:48 -06:00
2006-10-02 09:55:27 -05:00
2006-10-02 09:55:27 -05:00