Re: One more bio for for floppy users in 2.5.33..

Linus Torvalds (torvalds@transmeta.com)
Thu, 5 Sep 2002 12:03:30 -0700 (PDT)


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/