linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* scsi generic mem2disk patch for 2.6?
@ 2006-02-07  7:14 Michael Morrison
  2006-02-08  6:14 ` Douglas Gilbert
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Morrison @ 2006-02-07  7:14 UTC (permalink / raw)
  To: Linux Scsi Mailing List

Howdy,

There is a sg patch for 2.4 which allows a pci bus address, or rather a
virtual address, to be passed to the scsi generic driver in the
sg_io_hdr struct.   This patch works wonders for doing fast IO between
an HDTV capture card and a bunch of disks.

Is there such a beast for 2.6?   Does 2.6  already have this
functionality built in somehow?
If not, is there any reason why adding said functionality to the current
2.6.15 sg driver would not be doable?

 
see: http://sg.torque.net/sg/mem2disk.html

Thanks

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

* Re: scsi generic mem2disk patch for 2.6?
  2006-02-07  7:14 scsi generic mem2disk patch for 2.6? Michael Morrison
@ 2006-02-08  6:14 ` Douglas Gilbert
  0 siblings, 0 replies; 2+ messages in thread
From: Douglas Gilbert @ 2006-02-08  6:14 UTC (permalink / raw)
  To: Michael Morrison; +Cc: Linux Scsi Mailing List, James.Bottomley, brking

Michael Morrison wrote:
> Howdy,
> 
> There is a sg patch for 2.4 which allows a pci bus address, or rather a
> virtual address, to be passed to the scsi generic driver in the
> sg_io_hdr struct.   This patch works wonders for doing fast IO between
> an HDTV capture card and a bunch of disks.
> 
> Is there such a beast for 2.6?   Does 2.6  already have this
> functionality built in somehow?
> If not, is there any reason why adding said functionality to the current
> 2.6.15 sg driver would not be doable?
> 
>  
> see: http://sg.torque.net/sg/mem2disk.html

Good to read that this lk 2.4 patch was useful.

Now before thinking about such a patch in the sg driver
in lk 2.6 it might be prudent to ask the various veto
holders to look at the above link and comment on whether
such an optimization is:
  - possible in the lk 2.6 series
  - if so, an external patch (such as given on the above
    link) might be developed
  - or perhaps such a facility could be put into the
    standard sg driver in lk 2.6
  - alternatively, could this be done as efficiently with
    the block layer SG_IO ioctl


Doug Gilbert

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

end of thread, other threads:[~2006-02-08  6:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-07  7:14 scsi generic mem2disk patch for 2.6? Michael Morrison
2006-02-08  6:14 ` Douglas Gilbert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).