• S
    GFS2: Improve resource group error handling · 09010978
    Steven Whitehouse 提交于
    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: NSteven Whitehouse <swhiteho@redhat.com>
    09010978
bmap.c 31.0 KB