Re: bio_chain: proposed solution for bio_alloc failure and large IO simplification

Adam J. Richter (adam@yggdrasil.com)
Sat, 15 Jun 2002 13:01:55 -0700


>- It's tricky to determine how many bvecs are available in
> a bio. There is no straightforward "how big is it" field
> in struct bio.

Can't I make a macro to do a table lookup from bio->bi_max?

Adam J. Richter __ ______________ 575 Oroville Road
adam@yggdrasil.com \ / Milpitas, California 95035
+1 408 309-6081 | g g d r a s i l United States of America
"Free Software For The Rest Of Us."
-
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/