• Steven Whitehouse's avatar
    GFS2: Improve resource group error handling · 09010978
    Steven Whitehouse authored
    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: default avatarSteven Whitehouse <swhiteho@redhat.com>
    09010978
eattr.c 31.5 KB