lkml.org 
[lkml]   [2015]   [Jan]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 1/6] UBI: Fastmap: Care about the protection queue
    Am 09.01.2015 um 22:23 schrieb Ezequiel Garcia:
    > On 11/24/2014 10:20 AM, Richard Weinberger wrote:
    >> Fastmap can miss a PEB if it is in the protection queue
    >> and not jet in the used tree.
    >
    > s/jet/yet
    >
    >> Treat every protected PEB as used.
    >>
    >
    > I'm wondering if we can have a detailed description of the issues this
    > commit fixes (if any?). In other words, what's the result of *not*
    > having the patch?

    Without this patch fastmap can miss one PEB.
    As consequence of this during attach the fastmap self-check
    will detect this inconsistency and will fall back to a full scan.
    If you try to attach using a custom fastmap implementation (found in
    bootloaders) which do often not have sophisticated self-checks you'll
    face a serious data corruption or if you're lucky UBI will crash.

    Now clearer? :-)

    Thanks,
    //richard


    \
     
     \ /
      Last update: 2015-01-09 22:41    [W:2.849 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site