Skip to contentSkip to conversation

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

DISCUSSION Adam J. Richter 1 participant 1 message Jun 7, 2002

lore
Share & tools
lore
#0 lore raw

"Thunder from the hill" <[email protected]> wrote:
[...]

Quoted 8 lines
Quoted 5 lines
	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
[email protected]     \ /                  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."