lkml.org 
[lkml]   [2002]   [Sep]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: One more bio for for floppy users in 2.5.33..

    On Thu, 5 Sep 2002, Andrew Morton wrote:
    >
    > It would be simpler if it was nr_of_pages_completed.

    Well.. Maybe.

    I actually think that you in practice really only have two cases:

    - we only care about full completion. Easily tested for by just looking
    at bi_size, and leaving the code as it is right now.

    - the code really cares about and uses the incremental information. At
    which point it will already have "handled" any previous incremental
    stuff, and the only thing it really cares about is the "new increment".

    So I'd suggest making at least the first cut only have the incremental
    information, since the global information already exists through bi_size.

    Linus

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:28    [W:7.303 / U:0.200 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site