Re: Patch??: linux-2.5.20/fs/bio.c - ll_rw_kio could generate bio's bigger than queue could handle

From: Adam J. Richter (adam@yggdrasil.com)
Date: Fri Jun 07 2002 - 17:46:10 EST


"Thunder from the hill" <thunder@ngforever.de> wrote:
[...]
>> for (i = 1; i < parent->num_children; i++) {
>> max_phys = min(max_phys, parent->childqueue[0].max_phys_segments);
>> max_hw = min(max_hw, parent->childqueue[0].max_hw_segments);
>> max_sec = min(max_sec, parent->childqueue[0].max_sectors);
>> }

>Just a question: Did you mean parent->childqueue[0] here, or rather
>parent->childqueue[i]?

        parent->childqueue[i]. Thanks for correcting it.

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/



This archive was generated by hypermail 2b29 : Fri Jun 07 2002 - 22:00:31 EST