lkml.org 
[lkml]   [2008]   [Apr]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [RFC] MMC multiwrite capability removal
    On Sat, 19 Apr 2008 19:34:12 -0700 (PDT)
    Alex Dubov <oakad@yahoo.com> wrote:

    >
    > tifm_sd relies on controller to report the number of successfully transferred
    > blocks. Of course, I cannot be sure to what extent the controller is
    > trustworthy. It worked fine until now, though.
    >

    Sounds like a perfect example of when we have to report 0 upon
    failures. I suspect most controllers will be like this as all the specs
    I've glanced at lack the detail needed to implement a proper sector
    count.

    The problems caused by reporting incorrect values here are extremely
    rare and difficult to provoke, so normal testing is not likely to
    uncover it.

    Rgds
    --
    -- Pierre Ossman

    Linux kernel, MMC maintainer http://www.kernel.org
    PulseAudio, core developer http://pulseaudio.org
    rdesktop, core developer http://www.rdesktop.org


    \
     
     \ /
      Last update: 2008-04-20 10:35    [W:0.021 / U:1.268 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site