Daniel writes:
> Yes, and so long as your journal is not on another partition/disk things
> will eventually be set right. The combination of a partially updated
> filesystem and its journal is in some sense a complete, consistent
> filesystem.
>
> I'm curious - how does ext3 handle the possibility of a crash during
> journal recovery?
Unless Stephen says otherwise, my understanding is that a crash during
journal recovery will just mean the journal is replayed again at the next
recovery. Because the ext3 journal is just a series of data blocks to
be copied into the filesystem (rather than "actions" to be done), it
doesn't matter how many times it is done. The recovery flags are not
reset until after the journal replay is completed.
Cheers, Andreas
--
Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto,
\ would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/ -- Dogbert
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/
- Re: Journaling: Surviving or ... Andreas Dilger
- Re: Journaling: Surviving or ... Stephen C. Tweedie
- Re: Journaling: Surviving or allowing ... David Woodhouse
- Re: Journaling: Surviving or allo... Marc Lehmann
- Re: Journaling: Surviving or ... Stefan Traby
- Re: Journaling: Surviving or ... Chris Mason
- Re: Journaling: Surviving or ... Marc Lehmann
- Re: Journaling: Surviving or ... Stephen C. Tweedie
- Re: Journaling: Surviving or ... Roger Gammans
- Re: Journaling: Surviving or allowing uncl... Daniel Phillips
- Re: Journaling: Surviving or allowing ... Andreas Dilger
- Re: Journaling: Surviving or allo... Alan Cox
- Re: Journaling: Surviving or ... Stephen C. Tweedie
- Re: Journaling: Surviving or allowing ... Stephen C. Tweedie
- Re: Journaling: Surviving or allowing unclean shutdown? Mo McKinlay
- Re: Journaling: Surviving or allowing unclean shut... David Lang
- Re: Journaling: Surviving or allowing unclean ... Mo McKinlay
- Re: Journaling: Surviving or allowing uncl... Richard B. Johnson
- Re: Journaling: Surviving or allowing ... egger
- Re: Journaling: Surviving or allo... Richard B. Johnson

