Douglas Gilbert 6460e75a10 [SCSI] sg: fixes for large page_size
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.

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>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
2006-09-26 09:23:15 -07:00
..
2006-08-02 10:53:18 -04:00
2006-08-01 10:37:25 +10:00
2006-09-24 20:07:49 -07:00
2006-08-27 21:59:59 -05:00
2006-07-03 09:41:12 -05:00
2006-01-01 22:21:50 +01:00
2006-01-14 10:55:12 -06:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-07-03 09:41:12 -05:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-09-12 17:12:31 -05:00
2006-09-12 17:12:31 -05:00
2006-09-12 17:12:31 -05:00
2006-09-12 17:12:31 -05:00
2006-08-04 09:28:43 -04:00
2005-04-16 15:20:36 -07:00
2006-07-03 09:41:12 -05:00
2006-06-30 19:25:36 +02:00
2005-04-16 15:20:36 -07:00
2005-11-09 15:44:09 -05:00
2006-09-23 20:28:19 -05:00
2005-04-16 15:20:36 -07:00
2006-08-23 15:33:07 -07:00
2006-08-06 15:59:26 -05:00
2005-11-09 15:48:20 -05:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-08-06 15:59:26 -05:00
2005-04-16 15:20:36 -07:00
2006-09-12 17:12:31 -05:00
2006-09-12 17:12:31 -05:00
2006-08-31 11:18:03 -04:00
2005-04-16 15:20:36 -07:00
2006-08-27 21:59:59 -05:00
2006-08-06 15:50:50 -05:00
2006-08-06 15:51:12 -05:00
2006-09-23 15:33:43 -05:00
2006-09-23 15:33:43 -05:00
2006-09-24 01:52:47 -04:00
2006-08-01 10:37:25 +10:00
2005-04-16 15:20:36 -07:00
2006-06-25 10:00:58 -07:00
2006-06-25 10:00:58 -07:00
2006-09-24 01:52:47 -04:00
2006-08-01 10:37:25 +10:00
2005-04-16 15:20:36 -07:00
2006-09-12 17:12:31 -05:00
2006-09-12 17:12:31 -05:00
2006-06-26 09:58:18 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-07-03 09:41:12 -05:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-11-09 15:48:20 -05:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-05-20 12:53:13 -05:00
2005-05-20 12:53:13 -05:00
2005-05-20 12:53:13 -05:00
2006-07-03 09:41:12 -05:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-09-23 17:37:44 -05:00
2005-04-16 15:20:36 -07:00
2006-06-26 09:30:00 -05:00
2005-04-16 15:20:36 -07:00
2006-08-06 15:59:26 -05:00
2005-04-16 15:20:36 -07:00
2006-09-26 09:23:15 -07:00
2006-09-12 17:12:31 -05:00
2006-03-23 07:38:09 -08:00
2005-04-16 15:20:36 -07:00
2006-07-09 11:27:03 -05:00
2006-06-29 11:06:30 -04:00