DragonFly kernel List (threaded) for 2008-07
DragonFly BSD
DragonFly kernel List (threaded) for 2008-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: How much are filesystem images trusted?


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Sat, 19 Jul 2008 11:27:46 -0700 (PDT)

:I've been looking at the HAMMER code a bit.  It seems the mount will
:hang the kernel at recovery time if the tail of a undo record contains
:a zero size.  I've been told the filesystem is implicitly trusted, but
:I think a failed assert would be better than the stuck while loop.
:
:I have a small disk image to illustrate the hang at:
:http://leaf.dragonflybsd.org/~dion/hammer.small.bz2
:
:This obviously isn't a high priority, but I'm interested in hearing
:opinions on it (does this kind of bug interest us?).
:
:-- Dion

    I'm assuming you just poked the bits in the on-media UNDO FIFO to
    create the failure condition and it isn't a bug per-say, right?

    I think an assertion is fine, or even just have the mount return
    a failure.  Would you like to code up your patch suggestion?  We
    can commit it after the release.

					-Matt
					Matthew Dillon 
					<dillon@backplane.com>



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]