public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] sg driver for large page_size, lk 2.6.18
@ 2006-09-20 22:20 Douglas Gilbert
  2006-09-22 21:23 ` Brian King
  0 siblings, 1 reply; 2+ messages in thread
From: Douglas Gilbert @ 2006-09-20 22:20 UTC (permalink / raw)
  To: linux-scsi; +Cc: david.falkinder

[-- Attachment #1: Type: text/plain, Size: 1140 bytes --]

This sg driver patch addresses the problem with larger
page sizes reported by Brian King in this post:
http://marc.theaimsgroup.com/?l=linux-scsi&m=115867718623631&w=2
Some other related matters are also addressed. Some of these
prevent oopses when the SG_SCATTER_SZ or scatter_elem_sz are
set to inappropriate values.

The scatter_elem_sz has been tested up to 4 MB which should
make the largest data transfer with one SCSI command, 32 MB
less one block, achievable with a relatively small number
of elements in the scatter gather list.

For consideration in lk 2.6.19 . The patch is against lk 2.6.18 .

  ChangeLog:
    - add scatter_elem_sz boot time parameter and sysfs module
      parameter that is initialized to SG_SCATTER_SZ
    - the driver will then adjust scatter_elem_sz to be the
      max(given(scatter_elem_sz), PAGE_SIZE)
      It will also round it up, if necessary, to be a power
      of two
    - clean up sg.h header, correct bad urls and some statements
      that are no longer valid
    - make the def_reserved_size sysfs module attribute writable

Signed-off-by: Douglas Gilbert <dougg@torque.net>

Doug Gilbert


[-- Attachment #2: sg_2618scat.diff.gz --]
[-- Type: application/x-gzip, Size: 3924 bytes --]

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

end of thread, other threads:[~2006-09-22 21:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-20 22:20 [PATCH] sg driver for large page_size, lk 2.6.18 Douglas Gilbert
2006-09-22 21:23 ` Brian King

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