From: Dave Chinner Date: Tue, 20 Jul 2010 07:52:59 +0000 (+1000) Subject: xfs: don't block on buffer read errors X-Git-Tag: v2.6.36-rc1~589^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec53d1dbb3ca960e7b552397613358ba1dbd12bd;p=pandora-kernel.git 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 Reviewed-by: Christoph Hellwig Signed-off-by: Dave Chinner --- Reading git-diff-tree failed