linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 09/10] Enable clustering and large transfers
@ 2006-03-28 16:03 Matthew Wilcox
  2006-04-01 14:35 ` Kai Makisara
  0 siblings, 1 reply; 6+ messages in thread
From: Matthew Wilcox @ 2006-03-28 16:03 UTC (permalink / raw)
  To: linux-scsi; +Cc: Matthew Wilcox, Kai Makisara

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>
Signed-off-by: Matthew Wilcox <matthew@wil.cx>

---

 drivers/scsi/sym53c8xx_2/sym_glue.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

1c573ec4648b4b4ddadcbd1945a9a608977df513
diff --git a/drivers/scsi/sym53c8xx_2/sym_glue.c b/drivers/scsi/sym53c8xx_2/sym_glue.c
index e48409e..2c4e5f1 100644
--- a/drivers/scsi/sym53c8xx_2/sym_glue.c
+++ b/drivers/scsi/sym53c8xx_2/sym_glue.c
@@ -1870,7 +1870,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,
-- 
1.2.4.g375a5



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

end of thread, other threads:[~2006-04-02 14:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-28 16:03 [PATCH 09/10] Enable clustering and large transfers Matthew Wilcox
2006-04-01 14:35 ` Kai Makisara
2006-04-01 17:03   ` Christoph Hellwig
2006-04-01 20:26     ` Kai Makisara
2006-04-01 20:22   ` Douglas Gilbert
2006-04-02 14:18     ` Kai Makisara

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).