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

Coly Li coly.li at suse.de
Sat Mar 7 07:11:16 PST 2009


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



More information about the Ocfs2-tools-devel mailing list