From: Dave Chinner Date: Mon, 6 Apr 2009 16:42:11 +0000 (+0200) Subject: xfs: prevent unwritten extent conversion from blocking I/O completion X-Git-Tag: v2.6.30-rc2~68^2^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c626d174cfe38e7f0545d074c299527892cd8c45;p=pandora-kernel.git xfs: prevent unwritten extent conversion from blocking I/O completion Unwritten extent conversion can recurse back into the filesystem due to memory allocation. Memory reclaim requires I/O completions to be processed to allow the callers to make progress. If the I/O completion workqueue thread is doing the recursion, then we have a deadlock situation. Move unwritten extent completion into it's own workqueue so it doesn't block I/O completions for normal delayed allocation or overwrite data. Signed-off-by: Dave Chinner Reviewed-by: Christoph Hellwig --- Reading git-diff-tree failed