public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* deterministic scsi order with async scan
@ 2009-07-16  1:09 david
  2009-07-16 11:33 ` Boaz Harrosh
  2009-07-16 11:57 ` Matthew Wilcox
  0 siblings, 2 replies; 16+ messages in thread
From: david @ 2009-07-16  1:09 UTC (permalink / raw)
  To: linux-kernel, linux-scsi

is there any way to get deterministic device ordering with scsi async 
scanning?

currently (2.6.30) it seems that the various scsi busses are loaded in the 
order that they are detected, which can vary from boot to boot depending 
on how long it takes for the card to initialize.

would it be possible to detect the cards/drives, but not register them 
until all the detection is complete so that they can be registered in a 
deterministic order?

having two drives on two different controllers swap positions from boot to 
boot makes it very painful. yes I can make an initrd that fixes this up in 
user space by examining each drive and creating links to re-order them, 
but this is a lot of work to fix randomization that can be prevented in 
the first place.

David Lang

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

end of thread, other threads:[~2009-07-16 20:59 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-16  1:09 deterministic scsi order with async scan david
2009-07-16 11:33 ` Boaz Harrosh
2009-07-16 17:22   ` david
2009-07-16 18:32     ` James Smart
2009-07-16 18:43       ` david
2009-07-16 19:39         ` James Bottomley
2009-07-16 19:48           ` david
2009-07-16 19:56             ` James Bottomley
2009-07-16 20:59               ` david
2009-07-16 19:58             ` Boaz Harrosh
2009-07-16 20:05             ` Matthew Wilcox
2009-07-16 19:53     ` Boaz Harrosh
2009-07-16 11:57 ` Matthew Wilcox
2009-07-16 17:23   ` david
2009-07-16 18:15     ` Matthew Wilcox
2009-07-16 18:31       ` david

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