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, Linus Torvalds wrote:
>
> With partial results, it would need to do only a slightly different
> traversal:
>
> end = bio->bi_io_vec + bio->bi_vcnt*PAGE_SIZE - bio->bi_size
>
> start = end - nr_sectors * 512
>
> PAGE_ALIGN(start)
> PAGE_ALIGN(end)
>
> but it's otherwise the exact same code (doing all the edge calculations in
> bytes, and then only traversing pages that have now been fully done and
> weren't fully done last time).
>
> It _looks_ like it literally needs just a few lines of changes.

Ok, so we now have two "few lines of code" changes. Who wants to actually
_do_ these? I'll do it if nobody else wants to, but I'd much rather see
somebody else _do_ want to do this and test it out and just send me a
tested patch ;)

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:0.075 / U:0.788 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site