public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Change in add_gendisk() in 2.4.11-preXXX
@ 2001-10-05 18:02 John Byrne
  2001-10-05 18:07 ` Christoph Hellwig
  0 siblings, 1 reply; 2+ messages in thread
From: John Byrne @ 2001-10-05 18:02 UTC (permalink / raw)
  To: Christoph Hellwig; +Cc: linux-kernel


Cristoph,

Looking in the Changelog for 2.4.11-pre, I find that you are given
credit for the change to add_gendisk() which should prevent the
/proc/paritions loop; which is good. However, I was tracing the bug
myself and come to the conclusion the culprit in my case was the "sd"
driver. One of our systems has two different SCSI HBAs and this resulted
in two calls to sd_finish() which results in the sd_gendisk structures
being added twice and, hence, the loop. So, I am a little concerned that
your change is covering up the problem so well, that the actual issue
may not be addressed. Unfortunately, I don't understand the ins and outs
of the SCSI and blkdev layers to suggest a fix for "sd".

So, my question to you or anyone is, is anyone looking further at the
causes of the problem right now?

John Byrne

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Change in add_gendisk() in 2.4.11-preXXX
  2001-10-05 18:02 Change in add_gendisk() in 2.4.11-preXXX John Byrne
@ 2001-10-05 18:07 ` Christoph Hellwig
  0 siblings, 0 replies; 2+ messages in thread
From: Christoph Hellwig @ 2001-10-05 18:07 UTC (permalink / raw)
  To: John Byrne; +Cc: linux-kernel

On Fri, Oct 05, 2001 at 11:02:32AM -0700, John Byrne wrote:
> 
> Cristoph,
> 
> Looking in the Changelog for 2.4.11-pre, I find that you are given
> credit for the change to add_gendisk() which should prevent the
> /proc/paritions loop; which is good.

In fact it was Alan's fix, I just sent it to Linus 8)

> However, I was tracing the bug
> myself and come to the conclusion the culprit in my case was the "sd"
> driver. One of our systems has two different SCSI HBAs and this resulted
> in two calls to sd_finish() which results in the sd_gendisk structures
> being added twice and, hence, the loop. So, I am a little concerned that
> your change is covering up the problem so well, that the actual issue
> may not be addressed. Unfortunately, I don't understand the ins and outs
> of the SCSI and blkdev layers to suggest a fix for "sd".

If you look at the new add_gendisk structure it is clearly marked that
the new bahaviour is a workaround.

It will be fixed in 2.5, but the scsi layer is too fragile to do such
changes in 2.4.

	Christoph

-- 
Of course it doesn't work. We've performed a software upgrade.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-10-05 18:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-05 18:02 Change in add_gendisk() in 2.4.11-preXXX John Byrne
2001-10-05 18:07 ` Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox