Re: sg driver and Fedora Core 2

James Bottomley
2004-05-29T15:55:33Z

On Fri, 2004-05-28 at 12:25, Alan Cox wrote:
> On Sat, May 29, 2004 at 12:05:25AM +1000, Douglas Gilbert wrote:
> > The recently released Fedora Core 2 distribution contains
> > a patch that allocates sg device names (e.g. /dev/sg0)
> > only to those SCSI devices _not_ "claimed" by other upper
>
> This is an error. Linus has also vetoed this change. Consider the
> Fedora kernel wrong on this point. It isnt however your SG_IO issue I think

I don't necessarily regard this as an error: single attachment of ULDs
would be very helpful. However, since the mechanics of implementing
single attachment are difficult (sg has to be the default attachment of
every unclaimed devices, so you need to sort out issues when an ULD is
probed *after* sg is attached etc.), I'm very happy for Fedora to
demonstrate the feasibility of its implementation before a patch is
proposed to mainline.

James