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
..
2008-04-29 15:54:02 +10:00
2008-12-04 15:39:21 +11:00
2010-07-26 13:16:44 -05:00
2010-07-26 13:16:46 -05:00
2010-07-26 13:16:41 -05:00
2008-12-29 16:47:18 +11:00
2010-07-26 13:16:44 -05:00
2007-10-22 08:13:20 -07:00
2010-07-26 13:16:47 -05:00
2010-07-26 13:16:33 -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
2010-07-26 13:16:33 -05:00
2010-07-26 13:16:33 -05:00
2009-09-15 12:29:24 -05:00
2008-10-30 16:55:03 +11:00
2010-07-26 13:16:33 -05:00
2010-07-26 13:16:44 -05:00
2009-12-14 23:08:16 -06:00
2010-05-21 18:31:19 -04:00