diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2009-05-20 10:48:47 +0100 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2009-05-20 10:48:47 +0100 |
commit | 09010978345e8883003bf411bb99753710eb5a3a (patch) | |
tree | c3a7eaf3a775649d11ad01c2be5d3549e90f6581 /ipc/compat_mq.c | |
parent | ef9e8b14a5c1d0afbaf12b4c3b271188ddfc52a4 (diff) | |
download | lwn-09010978345e8883003bf411bb99753710eb5a3a.tar.gz lwn-09010978345e8883003bf411bb99753710eb5a3a.zip |
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 <swhiteho@redhat.com>
Diffstat (limited to 'ipc/compat_mq.c')
0 files changed, 0 insertions, 0 deletions