Messages in this thread | | | Date | Thu, 5 Sep 2002 13:38:05 -0700 (PDT) | From | Linus Torvalds <> | Subject | Re: 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/
| |