lkml.org 
[lkml]   [2010]   [Feb]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCHv2] MTD: Add UBI reboot notifier
Artem Bityutskiy wrote:
> FYI, I do not like this patch, because it is not solving the problem, it
> just makes the problem less likely. I.e., you are still screwed if you
> reboot while some other task is doing erasure. Indeed, the background
> thread is not the only task which may do erases.
>
> I'm not going to revert this patch, but wanted to let you know that I
> think it was my mistake to push it.
>

so, how to solve this properly ?

probably the only way is the reboot notifier of the MTD chip driver
(for NOR flash only cmdset_0001 has one).



\
 
 \ /
  Last update: 2010-02-12 15:35    [W:0.242 / U:0.728 seconds]
©2003-2014 Jasper Spaans. Advertise on this site