提交 14ac8bf5 编写于 作者: M Matthew Wilcox 提交者: James Bottomley

[SCSI] Enable clustering and large transfers

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: NKai Makisara <kai.makisara@kolumbus.fi>
Signed-off-by: NMatthew Wilcox <matthew@wil.cx>
Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
上级 b4e93a73
...@@ -1870,7 +1870,8 @@ static struct scsi_host_template sym2_template = { ...@@ -1870,7 +1870,8 @@ static struct scsi_host_template sym2_template = {
.eh_bus_reset_handler = sym53c8xx_eh_bus_reset_handler, .eh_bus_reset_handler = sym53c8xx_eh_bus_reset_handler,
.eh_host_reset_handler = sym53c8xx_eh_host_reset_handler, .eh_host_reset_handler = sym53c8xx_eh_host_reset_handler,
.this_id = 7, .this_id = 7,
.use_clustering = DISABLE_CLUSTERING, .use_clustering = ENABLE_CLUSTERING,
.max_sectors = 0xFFFF,
#ifdef SYM_LINUX_PROC_INFO_SUPPORT #ifdef SYM_LINUX_PROC_INFO_SUPPORT
.proc_info = sym53c8xx_proc_info, .proc_info = sym53c8xx_proc_info,
.proc_name = NAME53C8XX, .proc_name = NAME53C8XX,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册