From: Dave Kleikamp Date: Thu, 18 Jan 2007 03:18:35 +0000 (-0600) Subject: JFS: call io_schedule() instead of schedule() to avoid deadlock X-Git-Tag: v2.6.21-rc1~92^2~34^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4aa0d230c2cfc1ac4bcf7c5466f9943cf14233a9;p=pandora-kernel.git 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 --- Reading git-diff-tree failed