From: Steven Whitehouse Date: Wed, 20 May 2009 09:48:47 +0000 (+0100) Subject: GFS2: Improve resource group error handling X-Git-Tag: v2.6.31-rc1~390^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=09010978345e8883003bf411bb99753710eb5a3a;p=pandora-kernel.git GFS2: Improve resource group error handling This patch improves the error handling in the case where we discover that the summary information in the resource group doesn't match the bitmap information while in the process of allocating blocks. Originally this resulted in a kernel bug, but this patch changes that so that we return -EIO and print some messages explaining what went wrong, and how to fix it. We also remember locally not to try and allocate from the same rgrp again, so that a subsequent allocation in a different rgrp should succeed. Signed-off-by: Steven Whitehouse --- Reading git-diff-tree failed