All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] SCSI sym53c8xx_2: bigger transfer limits
@ 2006-02-28 19:14 Kai Makisara
  2006-02-28 20:41 ` Matthew Wilcox
  2006-03-01 15:29 ` Jens Axboe
  0 siblings, 2 replies; 14+ messages in thread
From: Kai Makisara @ 2006-02-28 19:14 UTC (permalink / raw)
  To: matthew; +Cc: linux-scsi

This patch enables clustering and sets max_sectors to 0xffff to enable 
reading and writing of large blocks with tapes (and large transfers with 
sg). This change is needed after the sg and st drivers started using 
chained bios through scsi_request_async() in 2.6.16.

Signed-off-by: Kai Makisara <kai.makisara@kolumbus.fi>

--- linux-2.6.16-rc5/drivers/scsi/sym53c8xx_2/sym_glue.c	2006-02-04 13:25:48.000000000 +0200
+++ linux-2.6.16-rc5-k1/drivers/scsi/sym53c8xx_2/sym_glue.c	2006-02-18 09:45:24.000000000 +0200
@@ -1978,7 +1978,8 @@ static struct scsi_host_template sym2_te
 	.eh_bus_reset_handler	= sym53c8xx_eh_bus_reset_handler,
 	.eh_host_reset_handler	= sym53c8xx_eh_host_reset_handler,
 	.this_id		= 7,
-	.use_clustering		= DISABLE_CLUSTERING,
+	.use_clustering		= ENABLE_CLUSTERING,
+	.max_sectors		= 0xFFFF,
 #ifdef SYM_LINUX_PROC_INFO_SUPPORT
 	.proc_info		= sym53c8xx_proc_info,
 	.proc_name		= NAME53C8XX,

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

end of thread, other threads:[~2006-03-04  8:13 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-28 19:14 [PATCH] SCSI sym53c8xx_2: bigger transfer limits Kai Makisara
2006-02-28 20:41 ` Matthew Wilcox
2006-03-01 15:29 ` Jens Axboe
2006-03-01 15:39   ` James Bottomley
2006-03-01 15:54     ` Jens Axboe
2006-03-01 16:00     ` Douglas Gilbert
2006-03-01 16:11       ` Jens Axboe
2006-03-01 16:17       ` James Bottomley
2006-03-01 20:34   ` Kai Makisara
2006-03-01 20:43     ` Jens Axboe
2006-03-01 22:24       ` Kai Makisara
2006-03-02  3:57         ` Matthew Wilcox
2006-03-02  7:29         ` Jens Axboe
2006-03-04  8:16           ` Kai Makisara

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.