lkml.org 
[lkml]   [2007]   [Jul]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: MMC/SD Root filesystem suspend/resume problems
    On Wed 2007-07-25 20:20:42, Richard Purdie wrote:
    > On Wed, 2007-07-25 at 19:01 +0000, Pavel Machek wrote:
    > > > I enabled the MMC_UNSAFE_RESUME option and the problems I was seeing was
    > > > "fixed". I think having this option is a bad idea (in its current form)
    > > > as it doesn't actually stop filesystem corruption.
    > > >
    > > > With the option disabled, if a filesystem is mounted when you suspend my
    > > > tests show the filesystem is corrupted. At least if the option is
    > > > enabled, the filesystem is only corrupted if you remove the card whilst
    > > > suspended which is more preferable.
    > >
    > > Are we talking _corruption_ here, or are we talking 'the kind of
    > > corruption recoverable by fsck that happens on powerfail'?
    >
    > There was more damage to the system than just a dirty bit set. Yes, fsck
    > could fix it but I don't think it should happen in the first place...

    Well, that's "ok", that happens on sudden powerdowns, too.

    (Well, but we do sync() during suspend, so it is a bit strange). Do
    you have fsck logs perhaps?
    Pavel

    --
    (english) http://www.livejournal.com/~pavelmachek
    (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2007-07-26 00:49    [W:0.031 / U:0.588 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site