[Ocfs2-tools-devel] [RFC] PATCH: verify slot number in __ocfs2_read_slot_map()

Sunil Mushran sunil.mushran at oracle.com
Sat Mar 7 09:24:21 PST 2009


I have been wanting to change this for sometime. Silence the error
message. As in, it should just say "Unknown" in such cases.

On Sat, Mar 07, 2009 at 11:11:16PM +0800, Coly Li wrote:
> A side information, when data reading is invalid, output info of this patch is:
> 
> # mounted.ocfs2 -f
> Device                FS     Nodes
> /dev/hdb1             ocfs2  Unknown: Internal logic faliure
> 
> Coly Li Wrote:
> [snip]
> > A secondary solution is verify slot map number in __ocfs2_write_slot_map(), I
> > attach the patch here.
> > 
> > I still have no idea how this deadlock happens, still trace the code. Forgive me
> > that I can not provide more information on the deadlock.
> > 
> [snip]
> 
> > ---
> >  libocfs2/slot_map.c |   27 ++++++++++++++++++++++++++-
> >  1 files changed, 26 insertions(+), 1 deletions(-)
> 
> Thanks.
> -- 
> Coly Li
> SuSE Labs
> 
> _______________________________________________
> Ocfs2-tools-devel mailing list
> Ocfs2-tools-devel at oss.oracle.com
> http://oss.oracle.com/mailman/listinfo/ocfs2-tools-devel



More information about the Ocfs2-tools-devel mailing list