Power Down
Oron Ogdan
Orono at m-sys.com
Tue Dec 7 19:58:30 EST 1999
Since DiskOnChip is meant to be used in embedded system, we in M-systems
do is provide a hard disk emulation on flash which is
resistant to power failures. We power cycle the media for several
months to check our algorithms are indeed power fail resistant.
That means that the NFTL structures on the media
are resistant to any power loss during any stage of the algorithm.
The only thing that can happen is that you will have what's called orphan
units that need to be scanned for and released on mount.
But this only protects the logical / physical mapping, It does not
guarantee any damage to the file system on those logical sectors was
not caused.
The only way to be resistant to power failures in the file system level
is to use a log-structured file system. I heard ext3 is log-structured but
I am sure one of the Linux guys here knows more about this, Any other file
system
that takes power failures into account, (I am afraid to guess NFTL ????).
Some of our customers use their own home brewed LFSs and do it successfully.
Oron
-----Original Message-----
From: Bob Canup [mailto:rcanup at go2fax.com]
Sent: Tuesday, December 07, 1999 9:19 PM
To: MTD
Subject: Re:Power Down
Watch dogs are generally there to catch the problem of a run-away
machine - this ought to be a very rare occurrence.
According to Vipin's statistics about 1 in 250 random power failures
during writes to a DOC2000 results in a bad sector on the device. Since
you are required to run the chip in RW mode the only way I see to avoid
the problem is a UPS on the front end - with signaling to indicate power
failure so that an ordered shutdown could occur.
As far as the problem of a bad sector which he discussed I have not seen
any solutions other than the erase and start over one he originally came
up with - which for the reasons he discussed - is unacceptable.
The first step toward solving a problem is understanding exactly what
the problem is. My theory is that if you interrupt a sector write while
it is in progress the data and the error checking code don't match -
thus you get a bad sector. Any other theories?
To unsubscribe, send "unsubscribe mtd" to majordomo at infradead.org
begin 600 winmail.dat
M>)\^(B```0:0"``$```````!``$``0>0!@`(````Y`0```````#H``$(@`<`
M&````$E032Y-:6-R;W-O9G0 at 36%I;"Y.;W1E`#$(`06``P`.````SP<,``@`
M`@`Z`!X``P!'`0$@@`,`#@```,\'#``(``(`.@`>``,`1P$!"8`!`"$````T
M.3-!,$0Q1D8R04-$,S$Q038T1#(P0C,U,$,Q,#`P,```!P$$@`$`#P```%)%
M.B!0;W=E<B!$;W=N`+8$`0V`!``"`````@`"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-_`'@#M5
M_QW at BC.*$23#*0(H8A@@)'"_E=*3&W80'@$[L%P!904P_P&@*#`N#48B%`!B
MX0ZP'>#_'I!(D",!E7$B<#1RA^H[L-\$@4PB><,.P`#0=$L2+N'WAU\=\2=0
M37*3!;`S8#BF_P:0.1-;L020,(`%,2+`DD;_?I(DHB at P3S6E<4V#(D$)P?\$
M$8%S(\`BP#W2EL0#8"?A_RK2-&(%H"*1(>!Z@"\!<3/_9X4H8![P.1,U$*:"
M@)@G4.=86*2C")!S/W`/L']MLON=(53 at 8@3R'L`@8!00/>%N(K(Y'B".<"(>
M@@#`:O-YH0-P;T`+@%T!`0"`H"HN!;!G(81]MH`>`$(0`0```!\````\,S at T
M1#<Y1$,N.$0Q-#(P-C1`9V\R9F%X+F-O;3X```,`WC_D!````P`)60$````#
M``"`""`&``````#`````````1@````!2A0``)VH!`!X``8`((`8``````,``
M``````!&`````%2%```!````!````#DN,``+`,N`""`&``````#`````````
M1@`````&A0````````,``H`((`8``````,````````!&``````&%````````
M"P`#@`@@!@``````P````````$8``````X4````````+``2`""`&``````#`
M````````1@`````.A0````````,`!8`((`8``````,````````!&`````!"%
M`````````P`&@`@@!@``````P````````$8`````$84````````#``>`""`&
M``````#`````````1@`````8A0```````!X`"(`((`8``````,````````!&
M`````#:%```!`````0`````````>``F`""`&``````#`````````1@`````W
MA0```0````$`````````'@`*@`@@!@``````P````````$8`````.(4```$`
M```!``````````,`\3\)!```'@`Q0`$````&````3U)/3D\````#`!I`````
M`!X`,$`!````!@```$]23TY/`````P`90``````#`/T_Y`0```,`)@``````
M`P`V```````#`(`0_____P(!1P`!````-P```&,]55,[83T at .W`]32U3>7-T
M96US.VP]35,M15A#2$%.1T4M.3DQ,C`X,#`U.#,P6BTQ,S(P.0```@'Y/P$`
M``!,`````````-RG0,C`0A`:M+D(`"LOX8(!`````````"]//4TM4UE35$5-
M4R]/53U414PM059)5B]#3CU214-)4$E%3E13+T-./4]23TY/`!X`^#\!````
M"P```$]R;VX at 3V=D86X``!X`.$`!````!@```$]23TY/`````@'[/P$```!,
M`````````-RG0,C`0A`:M+D(`"LOX8(!`````````"]//4TM4UE35$5-4R]/
M53U414PM059)5B]#3CU214-)4$E%3E13+T-./4]23TY/`!X`^C\!````"P``
M`$]R;VX at 3V=D86X``!X`.4`!````!@```$]23TY/````0``','!_O5070;\!
M0``(,/#D.5 at 70;\!'@`]``$````%````4D4Z(``````>`!T.`0````L```!0
M;W=E<B!$;W=N```>`#40`0```#L````\0C$W.#DS,#4R03$W1#(Q,4$Y.#8P
M,#8P.3<X1C=%-C,P,31!,#$S0T!M86EL+FUS>7,N8V\N:6P^```+`"D`````
M``L`(P```````P`&$!5W5AH#``<0V at 8```,`$!```````P`1$``````>``@0
M`0```&4```!324Y#141)4TM/3D-(25!)4TU%04Y45$]"1553141)3D5-0D5$
M1$5$4UE35$5-+%=%24Y-+5-94U1%35-$3TE34%)/5DE$14%(05)$1$E32T5-
M54Q!5$E/3D].1DQ!4TA72$E#``````(!?P`!````.P```#Q",3<X.3,P-3)!
M,3=$,C$Q03DX-C`P-C`Y-SA&-T4V,S`Q-$$P,3-#0&UA:6PN;7-Y<RYC;RYI
&;#X``*LK
`
end
To unsubscribe, send "unsubscribe mtd" to majordomo at infradead.org
More information about the linux-mtd
mailing list