Dave Chinner ec53d1dbb3 xfs: don't block on buffer read errors
xfs_buf_read() fails to detect dispatch errors before attempting to
wait on sychronous IO. If there was an error, it will get stuck
forever, waiting for an I/O that was never started. Make sure the
error is detected correctly.

Further, such a failure can leave locked pages in the page cache
which will cause a later operation to hang on the page. Ensure that
we correctly process pages in the buffers when we get a dispatch
error.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <david@fromorbit.com>
2010-07-26 13:16:48 -05:00
..
2010-07-26 13:16:44 -05:00
2010-07-26 13:16:33 -05:00
2009-06-10 17:07:47 +02:00
2010-05-21 18:31:19 -04:00
2009-06-10 17:07:47 +02:00
2009-12-14 23:08:16 -06:00
2009-03-29 09:51:14 +02:00
2007-10-15 16:49:49 +10:00
2009-03-29 09:55:42 +02:00
2007-10-15 16:49:49 +10:00
2008-12-01 11:37:35 +11:00
2010-07-26 13:16:44 -05:00
2010-07-26 13:16:44 -05:00
2010-07-26 13:16:44 -05:00
2010-07-26 13:16:44 -05:00
2009-08-31 14:46:22 -05:00
2010-07-26 13:16:44 -05:00
2010-07-26 13:16:33 -05:00
2010-07-26 13:16:44 -05:00
2010-07-26 13:16:33 -05:00
2010-07-26 13:16:44 -05:00
2010-03-01 16:35:44 -06:00
2009-12-14 23:08:16 -06:00