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

Adam J. Richter
2002-06-07T22:46:27Z

"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.