* [GIT PATCH] scsi updates for post 2.6.18
@ 2006-09-24 2:37 James Bottomley
0 siblings, 0 replies; 8+ messages in thread
From: James Bottomley @ 2006-09-24 2:37 UTC (permalink / raw)
To: Linus Torvalds, Andrew Morton; +Cc: linux-kernel, linux-scsi
This is the usual grab bag of updates including three new drivers:
aic94xx, stex and arcmsr.
The patch is available here:
master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6.git
The short changelog is:
<brking:charter.net>:
o megaraid: Add support for change_queue_depth
<malahal:us.ibm.com>:
o aic94xx: Fix for a typo in aic94xx_init()
Alan Cox:
o Switch some more scsi drivers to pci_get_device and refcounted pci structures
o eata_pio cleanup and PCI fix
Alan Stern:
o sanitize INQUIRY strings
Alexis Bruemmer:
o aic94xx: Removes Reliance on FLASH Manufacture IDs
Andreas Herrmann:
o zfcp: update maintainers file
o zfcp: fix: avoid removal of fsf reqs before qdio queues are down
o zfcp: introduce struct timer_list in struct zfcp_fsf_req
o zfcp: fix: use correct req_id in eh_abort_handler
o limit recursion when flushing shost->starved_list
o This stack overflow occurred during tests on s390 using zfcp
Andrew Morton:
o areca sysfs fix
Brian King:
o ipr: Bump driver version to 2.1.4
o ipr: Auto sense handling fix
o ipr: Properly handle IOA recovered errors
o ipr: Handle new SAS error codes
o ipr: Add some hardware defined types for SATA
o DAC960: PCI id table fixup
Christoph Hellwig:
o remove SCSI_STATE_ #defines
Daniel Walker:
o fix compile error on module_refcount
o BusLogic gcc 4.1 warning fixes
Darrick Wong:
o aic94xx: Increase can_queue for better performance
Dave Jones:
o remove unnecessary includes of linux/config.h from drivers/scsi/
o advansys pci tweaks
dave wysochanski:
o Don't add scsi_device for devices that return PQ=1, PDT=0x1f
Doug Ledford:
o aic7xxx: pause sequencer before touching SBLKCTL
Douglas Gilbert:
o scsi_debug version 1.80
Ed Lin:
o stex: add shared tags from block
Erich Chen:
o arcmsr: initial driver, version 1.20.00.13
Hannes Reinecke:
o Wrong size information for devices with disabled read access
Heiko Carstens:
o zfcp: create private slab caches to guarantee proper data alignment
o zfcp: remove zfcp_ccw_unregister function
Henrik Kretzschmar:
o wd33c93: Scsi_Cmnd convertion
o scsi-driver ultrastore replace Scsi_Cmnd with struct scsi_cmnd
o convert to PCI_DEVICE() macro
James Bottomley:
o Merge mulgrave-w:git/linux-2.6
o SPI transport class: misc DV fixes
o aic7xxx: avoid checking SBLKCTL register for certain cards
o Merge mulgrave-w:git/scsi-misc-2.6
o aha152x: remove static host array
o fix up SCSI netlink build
o aci94xx: implement link rate setting
o scsi_transport_sas: make minimum and maximum linkrate settable quantities
o SAS: consolidate linkspeed definitions
o fix up non-modular SCSI
o Fix refcount breakage with 'echo "1" > scan' when target already present
o add failure return to scsi_init_shared_tag_map()
o sd: fix cache flushing on module removal (and individual device removal)
o add shared tag map helpers
o block: add support for shared tag maps
o aic94xx: add MODULE_FIRMWARE tag
o aic94xx: new driver
o The log of the separate development is
o scsi_transport_sas: remove local_attached flag
o Merge ../linux-2.6
o fix up short inquiry printing
o arcmsr: fix up sysfs values
o mptsas: add parent port backlink
James Smart:
o lpfc 8.1.10 : Change version number to 8.1.10
o lpfc 8.1.10 : Add support for new lpfc soft_wwpn attribute
o lpfc 8.1.10 : Add support for dev_loss_tmo_callbk and fast_io_fail_tmo_callbk
o FC transport: Add dev_loss_tmo callbacks, and new fast_io_fail_tmo w/ callback
o lpfc 8.1.10 : Add support to return adapter symbolic name
o lpfc 8.1.10 : Add support to post events via new FC event interfaces
o & FC transport: extend event vendor id's to 64bits
o and FC Transport: add netlink support for posting of transport events
o fc transport: add fc_host system_hostname attribute and u64_to_wwn()
o fc transport: convert fc_host symbolic_name attribute to a dynamic attribute
Jeff Garzik:
o Add Promise SuperTrak driver
Jesper Juhl:
o megaraid: Make megaraid_ioctl() check copy_to_user() return value
Jon Masters:
o MODULE_FIRMWARE for binary firmware(s)
Mark Haverkamp:
o aacraid: README update
o aacraid: remove scsi_remove_device
o aacraid: merge rx and rkt code
o aacraid: expose physical devices
o aacraid: misc cleanup
o aacraid: Reset adapter in recovery timeout
o aacraid: Check for unlikely errors
o aacraid: Restart adapter on firmware assert (Update 2)
o aacraid: interruptible ioctl
Matthew Wilcox:
o Improve inquiry printing
Michael Reed:
o mptfc: add additional fc transport attributes
o scsi_queue_work() documented return value is incorrect
Michal Piotrowski:
o megaraid_sas: pci_module_init to pci_register_driver conversion
Mike Christie:
o iscsi class: update version
o libiscsi: don't call into lld to cleanup task
o libiscsi: check that command ptr is set before accessing it
o iscsi_tcp: fix partial digest recv
o libiscsi: only check burst lengths when sending unsol data
o iscsi_tcp: update header size during relogin
o iscsi_tcp: fix header resend
o scsi_tcp: rm data rx and tx tfms
o iscsi_tcp: fix padding, data digests, and IO at weird offsets
o attempt to complete r2t with data len greater than max burst
o add refcouting around ctask usage in main IO patch
o libiscsi, iscsi_tcp, iscsi_iser: check that burst lengths are valid
Randy Dunlap:
o aic7*: cleanup MODULE_PARM_DESC strings
Swen Schillig:
o zfcp: update maintainers file
And the diffstat:
Documentation/scsi/ChangeLog.arcmsr | 56
Documentation/scsi/aacraid.txt | 53
Documentation/scsi/arcmsr_spec.txt | 574 +++++++
Documentation/scsi/libsas.txt | 484 ++++++
MAINTAINERS | 4
block/ll_rw_blk.c | 109 +
drivers/block/DAC960.c | 2
drivers/block/cciss_scsi.c | 14
drivers/infiniband/ulp/iser/iscsi_iser.c | 18
drivers/infiniband/ulp/iser/iscsi_iser.h | 1
drivers/message/fusion/mptfc.c | 96 +
drivers/message/fusion/mptsas.c | 19
drivers/s390/scsi/zfcp_aux.c | 84 -
drivers/s390/scsi/zfcp_ccw.c | 13
drivers/s390/scsi/zfcp_dbf.c | 13
drivers/s390/scsi/zfcp_def.h | 24
drivers/s390/scsi/zfcp_erp.c | 231 --
drivers/s390/scsi/zfcp_ext.h | 18
drivers/s390/scsi/zfcp_fsf.c | 295 +--
drivers/s390/scsi/zfcp_scsi.c | 114 -
drivers/scsi/BusLogic.c | 61
drivers/scsi/Kconfig | 32
drivers/scsi/Makefile | 5
drivers/scsi/a2091.c | 6
drivers/scsi/a2091.h | 4
drivers/scsi/a3000.c | 8
drivers/scsi/a3000.h | 4
drivers/scsi/aacraid/aachba.c | 60
drivers/scsi/aacraid/aacraid.h | 20
drivers/scsi/aacraid/commctrl.c | 25
drivers/scsi/aacraid/comminit.c | 13
drivers/scsi/aacraid/commsup.c | 279 +++
drivers/scsi/aacraid/dpcsup.c | 10
drivers/scsi/aacraid/linit.c | 35
drivers/scsi/aacraid/rkt.c | 446 -----
drivers/scsi/aacraid/rx.c | 117 +
drivers/scsi/aacraid/sa.c | 21
drivers/scsi/advansys.c | 90 -
drivers/scsi/aha152x.c | 53
drivers/scsi/aic7xxx/aic79xx_osm.c | 4
drivers/scsi/aic7xxx/aic7xxx_osm.c | 23
drivers/scsi/aic7xxx_old.c | 11
drivers/scsi/aic94xx/Kconfig | 41
drivers/scsi/aic94xx/Makefile | 39
drivers/scsi/aic94xx/aic94xx.h | 114 +
drivers/scsi/aic94xx/aic94xx_dev.c | 353 ++++
drivers/scsi/aic94xx/aic94xx_dump.c | 959 ++++++++++++
drivers/scsi/aic94xx/aic94xx_dump.h | 52
drivers/scsi/aic94xx/aic94xx_hwi.c | 1376 +++++++++++++++++
drivers/scsi/aic94xx/aic94xx_hwi.h | 397 +++++
drivers/scsi/aic94xx/aic94xx_init.c | 866 +++++++++++
drivers/scsi/aic94xx/aic94xx_reg.c | 332 ++++
drivers/scsi/aic94xx/aic94xx_reg.h | 302 +++
drivers/scsi/aic94xx/aic94xx_reg_def.h | 2398 +++++++++++++++++++++++++++++++
drivers/scsi/aic94xx/aic94xx_sas.h | 785 ++++++++++
drivers/scsi/aic94xx/aic94xx_scb.c | 758 +++++++++
drivers/scsi/aic94xx/aic94xx_sds.c | 1089 ++++++++++++++
drivers/scsi/aic94xx/aic94xx_seq.c | 1404 ++++++++++++++++++
drivers/scsi/aic94xx/aic94xx_seq.h | 70
drivers/scsi/aic94xx/aic94xx_task.c | 642 ++++++++
drivers/scsi/aic94xx/aic94xx_tmf.c | 636 ++++++++
drivers/scsi/arcmsr/Makefile | 6
drivers/scsi/arcmsr/arcmsr.h | 472 ++++++
drivers/scsi/arcmsr/arcmsr_attr.c | 381 ++++
drivers/scsi/arcmsr/arcmsr_hba.c | 1496 +++++++++++++++++++
drivers/scsi/dpt_i2o.c | 7
drivers/scsi/eata_generic.h | 1
drivers/scsi/eata_pio.c | 127 -
drivers/scsi/fcal.c | 3
drivers/scsi/g_NCR5380.c | 3
drivers/scsi/gvp11.c | 8
drivers/scsi/gvp11.h | 4
drivers/scsi/hosts.c | 7
drivers/scsi/hptiop.c | 1
drivers/scsi/ipr.c | 34
drivers/scsi/ipr.h | 82 -
drivers/scsi/iscsi_tcp.c | 811 ++++------
drivers/scsi/iscsi_tcp.h | 41
drivers/scsi/libata-eh.c | 1
drivers/scsi/libiscsi.c | 144 +
drivers/scsi/libsas/Kconfig | 39
drivers/scsi/libsas/Makefile | 36
drivers/scsi/libsas/sas_discover.c | 749 +++++++++
drivers/scsi/libsas/sas_dump.c | 76
drivers/scsi/libsas/sas_dump.h | 42
drivers/scsi/libsas/sas_event.c | 75
drivers/scsi/libsas/sas_expander.c | 1855 +++++++++++++++++++++++
drivers/scsi/libsas/sas_init.c | 267 +++
drivers/scsi/libsas/sas_internal.h | 146 +
drivers/scsi/libsas/sas_phy.c | 158 ++
drivers/scsi/libsas/sas_port.c | 279 +++
drivers/scsi/libsas/sas_scsi_host.c | 786 ++++++++++
drivers/scsi/lpfc/lpfc.h | 8
drivers/scsi/lpfc/lpfc_attr.c | 285 +++
drivers/scsi/lpfc/lpfc_crtn.h | 3
drivers/scsi/lpfc/lpfc_ct.c | 25
drivers/scsi/lpfc/lpfc_disc.h | 6
drivers/scsi/lpfc/lpfc_els.c | 5
drivers/scsi/lpfc/lpfc_hbadisc.c | 186 --
drivers/scsi/lpfc/lpfc_init.c | 8
drivers/scsi/lpfc/lpfc_nportdisc.c | 2
drivers/scsi/lpfc/lpfc_scsi.c | 10
drivers/scsi/lpfc/lpfc_version.h | 2
drivers/scsi/megaraid.c | 9
drivers/scsi/megaraid/megaraid_mbox.c | 16
drivers/scsi/megaraid/megaraid_sas.c | 36
drivers/scsi/mvme147.c | 6
drivers/scsi/mvme147.h | 4
drivers/scsi/scsi.c | 58
drivers/scsi/scsi.h | 2
drivers/scsi/scsi_debug.c | 230 ++
drivers/scsi/scsi_lib.c | 10
drivers/scsi/scsi_netlink.c | 199 ++
drivers/scsi/scsi_priv.h | 11
drivers/scsi/scsi_proc.c | 4
drivers/scsi/scsi_scan.c | 146 -
drivers/scsi/scsi_transport_fc.c | 368 ++++
drivers/scsi/scsi_transport_iscsi.c | 2
drivers/scsi/scsi_transport_sas.c | 83 -
drivers/scsi/scsi_transport_spi.c | 30
drivers/scsi/sd.c | 2
drivers/scsi/sgiwd93.c | 8
drivers/scsi/stex.c | 1252 ++++++++++++++++
drivers/scsi/ultrastor.c | 23
drivers/scsi/ultrastor.h | 12
include/linux/blkdev.h | 2
include/linux/module.h | 5
include/linux/netlink.h | 2
include/linux/pci_ids.h | 17
include/scsi/libiscsi.h | 6
include/scsi/libsas.h | 627 ++++++++
include/scsi/sas.h | 631 ++++++++
include/scsi/scsi.h | 16
include/scsi/scsi_cmnd.h | 14
include/scsi/scsi_host.h | 7
include/scsi/scsi_netlink.h | 87 +
include/scsi/scsi_netlink_fc.h | 71
include/scsi/scsi_tcq.h | 15
include/scsi/scsi_transport_fc.h | 80 -
include/scsi/scsi_transport_sas.h | 37
include/scsi/scsi_transport_spi.h | 3
141 files changed, 26685 insertions(+), 2285 deletions(-)
James
^ permalink raw reply [flat|nested] 8+ messages in thread
* [GIT PATCH] scsi updates for post 2.6.18
@ 2006-10-04 21:01 James Bottomley
2006-10-05 19:11 ` Guennadi Liakhovetski
0 siblings, 1 reply; 8+ messages in thread
From: James Bottomley @ 2006-10-04 21:01 UTC (permalink / raw)
To: Linus Torvalds, Andrew Morton; +Cc: linux-kernel, linux-scsi
This is (hopefully) my final batch of updates before we go -rc1. It's
mainly code cleanups, some driver updates and the new qla4xxx iScsi
driver.
The patch is available here:
master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6.git
The short changelog is:
Alan Cox:
o Switch ips to pci_register from pci_module
Alexey Dobriyan:
o 3w-xxxx: fix "ATA UDMA upgrade" message number
Andrew Morton:
o scsi: device_reprobe() can fail
Andrew Vasquez:
o qla2xxx: Update version number to 8.01.07-k2
o qla2xxx: Stall mid-layer error handlers while rport is blocked
o qla2xxx: Add MODULE_FIRMWARE tags
o qla2xxx: Add support for host port state FC transport attribute
o qla2xxx: Add support for fabric name FC transport attribute
o qla2xxx: Add support for system hostname FC transport attribute
o qla2xxx: Add support for symbolic nodename FC transport attribute
o qla2xxx: Add iIDMA support
Arne Redlich:
o trivial scsi_execute_async fix
Brian King:
o ipr: Support attaching SATA devices
David Somayajulu:
o Initial Commit of qla4xxx
Denis Vlasenko:
o aic7xxx: fix byte I/O order in ahd_inw
Douglas Gilbert:
o sg: fixes for large page_size
Ed Lin:
o stex: add new device (id 0x8650) support
o stex: cancel unused field in struct req_msg
Eric Sesterhenn:
o fix scsi_device_types overrun in scsi.c
o Signedness issue in drivers/scsi/ipr.c
o Signdness issue in drivers/scsi/osst.c
Eric W. Biederman:
o megaraid: Use the proper type to hold the irq number
Guennadi Liakhovetski:
o enable clustering for tmscsim
Henne:
o scsi: remove hosts.h
o scsi: Scsi_Cmnd convertion in aic7xxx_old.c
o scsi: Scsi_Cmnd convertion in arm subtree
o scsi: Convertion to struct scsi_cmnd in ips-driver
Henrik Kretzschmar:
o pci_module_init conversion in scsi subsystem
o scsi: included header cleanup
o seagate: remove header and convert to struct scsi_cmnd
James Smart:
o lpfc: don't free mempool if mailbox is busy
Jeff Garzik:
o raid class: handle component-add errors
o megaraid_sas: handle thrown errors
o aic94xx: handle sysfs errors
o st: fix error handling in module init, sysfs
o sd: fix module init/exit error handling
o osst: add error handling to module init, sysfs
Jes Sorensen:
o qla1280 command timeout
Michal Piotrowski:
o drivers/message/fusion/linux_compat.h Removal of old code
o drivers/scsi/gdth.h: removal of old scsi code
o drivers/scsi/dpt/dpti_i2o.h: removal of old scsi code
o drivers/scsi/nsp32.h: removal of old scsi code
Mike Christie:
o scsi_devinfo: scsi2 HP and Hitachi entries
o scsi_devinfo: add nec iStorage
o scsi_devinfo: add Tornado
o scsi_devinfo: add EMC Invista
Muli Ben-Yehuda:
o aic94xx: require firmware loader
Randy Dunlap:
o dc395x: fix printk format warning
Sumant Patro:
o megaraid_sas: sets ioctl timeout and updates version,changelog
o megaraid_sas: adds tasklet for cmd completion
o megaraid_sas: prints pending cmds before setting hw_crit_error
o megaraid_sas: function pointer for disable interrupt
o megaraid_sas: frame count optimization
o megaraid_sas: FW transition and q size changes
And the diffstat:
b/Documentation/scsi/ChangeLog.megaraid_sas | 45
b/drivers/message/fusion/linux_compat.h | 9
b/drivers/scsi/3w-9xxx.c | 2
b/drivers/scsi/3w-xxxx.c | 2
b/drivers/scsi/3w-xxxx.h | 2
b/drivers/scsi/Kconfig | 7
b/drivers/scsi/Makefile | 1
b/drivers/scsi/a100u2w.c | 2
b/drivers/scsi/aic7xxx/aic79xx_inline.h | 3
b/drivers/scsi/aic7xxx/aic79xx_osm_pci.c | 2
b/drivers/scsi/aic7xxx/aic7xxx_inline.h | 3
b/drivers/scsi/aic7xxx/aic7xxx_osm_pci.c | 3
b/drivers/scsi/aic7xxx_old.c | 298 ++--
b/drivers/scsi/aic94xx/Kconfig | 1
b/drivers/scsi/aic94xx/aic94xx_init.c | 41
b/drivers/scsi/arm/acornscsi.c | 48
b/drivers/scsi/arm/acornscsi.h | 4
b/drivers/scsi/arm/fas216.c | 50
b/drivers/scsi/arm/fas216.h | 36
b/drivers/scsi/arm/queue.c | 37
b/drivers/scsi/arm/queue.h | 28
b/drivers/scsi/arm/scsi.h | 2
b/drivers/scsi/dc395x.c | 4
b/drivers/scsi/dmx3191d.c | 2
b/drivers/scsi/dpt/dpti_i2o.h | 10
b/drivers/scsi/dpt_i2o.c | 2
b/drivers/scsi/dpti.h | 2
b/drivers/scsi/gdth.h | 10
b/drivers/scsi/ipr.c | 687 ++++++++++
b/drivers/scsi/ipr.h | 18
b/drivers/scsi/ips.c | 91 -
b/drivers/scsi/ips.h | 16
b/drivers/scsi/lpfc/lpfc_init.c | 6
b/drivers/scsi/megaraid/mega_common.h | 2
b/drivers/scsi/megaraid/megaraid_sas.c | 362 ++++-
b/drivers/scsi/megaraid/megaraid_sas.h | 22
b/drivers/scsi/nsp32.c | 2
b/drivers/scsi/nsp32.h | 42
b/drivers/scsi/osst.c | 134 +-
b/drivers/scsi/pcmcia/nsp_cs.c | 1
b/drivers/scsi/qla1280.c | 6
b/drivers/scsi/qla2xxx/qla_attr.c | 57
b/drivers/scsi/qla2xxx/qla_def.h | 40
b/drivers/scsi/qla2xxx/qla_gbl.h | 9
b/drivers/scsi/qla2xxx/qla_gs.c | 228 +++
b/drivers/scsi/qla2xxx/qla_init.c | 84 +
b/drivers/scsi/qla2xxx/qla_isr.c | 4
b/drivers/scsi/qla2xxx/qla_mbx.c | 86 +
b/drivers/scsi/qla2xxx/qla_os.c | 48
b/drivers/scsi/qla2xxx/qla_version.h | 2
b/drivers/scsi/qla4xxx/Kconfig | 7
b/drivers/scsi/qla4xxx/Makefile | 5
b/drivers/scsi/qla4xxx/ql4_dbg.c | 197 +++
b/drivers/scsi/qla4xxx/ql4_dbg.h | 55
b/drivers/scsi/qla4xxx/ql4_def.h | 586 +++++++++
b/drivers/scsi/qla4xxx/ql4_fw.h | 843 +++++++++++++
b/drivers/scsi/qla4xxx/ql4_glbl.h | 78 +
b/drivers/scsi/qla4xxx/ql4_init.c | 1340 +++++++++++++++++++++
b/drivers/scsi/qla4xxx/ql4_inline.h | 84 +
b/drivers/scsi/qla4xxx/ql4_iocb.c | 368 +++++
b/drivers/scsi/qla4xxx/ql4_isr.c | 797 ++++++++++++
b/drivers/scsi/qla4xxx/ql4_mbx.c | 930 ++++++++++++++
b/drivers/scsi/qla4xxx/ql4_nvram.c | 224 +++
b/drivers/scsi/qla4xxx/ql4_nvram.h | 256 ++++
b/drivers/scsi/qla4xxx/ql4_os.c | 1755 ++++++++++++++++++++++++++++
b/drivers/scsi/qla4xxx/ql4_version.h | 13
b/drivers/scsi/raid_class.c | 20
b/drivers/scsi/scsi.c | 2
b/drivers/scsi/scsi_devinfo.c | 16
b/drivers/scsi/scsi_lib.c | 2
b/drivers/scsi/sd.c | 23
b/drivers/scsi/seagate.c | 24
b/drivers/scsi/sg.c | 53
b/drivers/scsi/st.c | 115 +
b/drivers/scsi/stex.c | 197 ++-
b/drivers/scsi/tmscsim.c | 12
b/include/linux/raid_class.h | 5
b/include/scsi/scsi_device.h | 4
b/include/scsi/sg.h | 59
drivers/scsi/hosts.h | 2
drivers/scsi/seagate.h | 19
81 files changed, 9920 insertions(+), 774 deletions(-)
James
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [GIT PATCH] scsi updates for post 2.6.18
2006-10-04 21:01 [GIT PATCH] scsi updates for post 2.6.18 James Bottomley
@ 2006-10-05 19:11 ` Guennadi Liakhovetski
2006-10-05 19:16 ` Jeff Garzik
0 siblings, 1 reply; 8+ messages in thread
From: Guennadi Liakhovetski @ 2006-10-05 19:11 UTC (permalink / raw)
To: James Bottomley; +Cc: Linus Torvalds, Andrew Morton, linux-kernel, linux-scsi
On Wed, 4 Oct 2006, James Bottomley wrote:
> This is (hopefully) my final batch of updates before we go -rc1. It's
> mainly code cleanups, some driver updates and the new qla4xxx iScsi
> driver.
James, is there a reason why you didn't include this one:
http://marc.theaimsgroup.com/?l=linux-scsi&m=115974328128341&w=2
Do you think it can cause problems?
Thanks
Guennadi
---
Guennadi Liakhovetski
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [GIT PATCH] scsi updates for post 2.6.18
2006-10-05 19:11 ` Guennadi Liakhovetski
@ 2006-10-05 19:16 ` Jeff Garzik
2006-10-05 19:56 ` Guennadi Liakhovetski
0 siblings, 1 reply; 8+ messages in thread
From: Jeff Garzik @ 2006-10-05 19:16 UTC (permalink / raw)
To: Guennadi Liakhovetski
Cc: James Bottomley, Linus Torvalds, Andrew Morton, linux-kernel,
linux-scsi
Guennadi Liakhovetski wrote:
> On Wed, 4 Oct 2006, James Bottomley wrote:
>
>> This is (hopefully) my final batch of updates before we go -rc1. It's
>> mainly code cleanups, some driver updates and the new qla4xxx iScsi
>> driver.
>
> James, is there a reason why you didn't include this one:
>
> http://marc.theaimsgroup.com/?l=linux-scsi&m=115974328128341&w=2
>
> Do you think it can cause problems?
It would be nice to get it tested, based on your "don't know if it works
though" comment...
Jeff
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [GIT PATCH] scsi updates for post 2.6.18
2006-10-05 19:16 ` Jeff Garzik
@ 2006-10-05 19:56 ` Guennadi Liakhovetski
2006-10-05 20:12 ` Jeff Garzik
2006-10-05 23:34 ` Douglas Gilbert
0 siblings, 2 replies; 8+ messages in thread
From: Guennadi Liakhovetski @ 2006-10-05 19:56 UTC (permalink / raw)
To: Jeff Garzik
Cc: James Bottomley, Linus Torvalds, Andrew Morton, linux-kernel,
linux-scsi
On Thu, 5 Oct 2006, Jeff Garzik wrote:
> Guennadi Liakhovetski wrote:
> > On Wed, 4 Oct 2006, James Bottomley wrote:
> >
> > > This is (hopefully) my final batch of updates before we go -rc1. It's
> > > mainly code cleanups, some driver updates and the new qla4xxx iScsi
> > > driver.
> >
> > James, is there a reason why you didn't include this one:
> >
> > http://marc.theaimsgroup.com/?l=linux-scsi&m=115974328128341&w=2
> >
> > Do you think it can cause problems?
>
> It would be nice to get it tested, based on your "don't know if it works
> though" comment...
Sure, it WOULD be nice, but I don't know how. The "don't know" refers to
the case 16MB block size, my tape supports only 16MB - 1 byte (according
to st report). Is there a way to test various block sizes with CDs /
hard-disks / ZIP / scanners? Would something with sg_dd work? Looks like
it must be only sector size. Can I low-level format a disk with 16M
sector?:-)
Another possibility is to limit the block size at 8MB - I can test that.
Thanks
Guennadi
---
Guennadi Liakhovetski
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [GIT PATCH] scsi updates for post 2.6.18
2006-10-05 19:56 ` Guennadi Liakhovetski
@ 2006-10-05 20:12 ` Jeff Garzik
2006-10-05 22:12 ` Guennadi Liakhovetski
2006-10-05 23:34 ` Douglas Gilbert
1 sibling, 1 reply; 8+ messages in thread
From: Jeff Garzik @ 2006-10-05 20:12 UTC (permalink / raw)
To: Guennadi Liakhovetski
Cc: James Bottomley, Linus Torvalds, Andrew Morton, linux-kernel,
linux-scsi
Guennadi Liakhovetski wrote:
> Sure, it WOULD be nice, but I don't know how. The "don't know" refers to
> the case 16MB block size, my tape supports only 16MB - 1 byte (according
> to st report). Is there a way to test various block sizes with CDs /
> hard-disks / ZIP / scanners? Would something with sg_dd work? Looks like
> it must be only sector size. Can I low-level format a disk with 16M
> sector?:-)
>
> Another possibility is to limit the block size at 8MB - I can test that.
I would say, increase it to whatever the max is you can test...
Jeff
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [GIT PATCH] scsi updates for post 2.6.18
2006-10-05 20:12 ` Jeff Garzik
@ 2006-10-05 22:12 ` Guennadi Liakhovetski
0 siblings, 0 replies; 8+ messages in thread
From: Guennadi Liakhovetski @ 2006-10-05 22:12 UTC (permalink / raw)
To: Jeff Garzik
Cc: James Bottomley, Linus Torvalds, Andrew Morton, linux-kernel,
linux-scsi
On Thu, 5 Oct 2006, Jeff Garzik wrote:
> Guennadi Liakhovetski wrote:
> > Sure, it WOULD be nice, but I don't know how. The "don't know" refers to the
> > case 16MB block size, my tape supports only 16MB - 1 byte (according to st
> > report). Is there a way to test various block sizes with CDs / hard-disks /
> > ZIP / scanners? Would something with sg_dd work? Looks like it must be only
> > sector size. Can I low-level format a disk with 16M sector?:-)
> >
> > Another possibility is to limit the block size at 8MB - I can test that.
>
> I would say, increase it to whatever the max is you can test...
Ok, tested with 8MB, an updated patch submitted.
Thanks for the suggestion
Guennadi
---
Guennadi Liakhovetski
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [GIT PATCH] scsi updates for post 2.6.18
2006-10-05 19:56 ` Guennadi Liakhovetski
2006-10-05 20:12 ` Jeff Garzik
@ 2006-10-05 23:34 ` Douglas Gilbert
1 sibling, 0 replies; 8+ messages in thread
From: Douglas Gilbert @ 2006-10-05 23:34 UTC (permalink / raw)
To: Guennadi Liakhovetski
Cc: Jeff Garzik, James Bottomley, Linus Torvalds, Andrew Morton,
linux-kernel, linux-scsi
Guennadi Liakhovetski wrote:
> On Thu, 5 Oct 2006, Jeff Garzik wrote:
>
>> Guennadi Liakhovetski wrote:
>>> On Wed, 4 Oct 2006, James Bottomley wrote:
>>>
>>>> This is (hopefully) my final batch of updates before we go -rc1. It's
>>>> mainly code cleanups, some driver updates and the new qla4xxx iScsi
>>>> driver.
>>> James, is there a reason why you didn't include this one:
>>>
>>> http://marc.theaimsgroup.com/?l=linux-scsi&m=115974328128341&w=2
>>>
>>> Do you think it can cause problems?
>> It would be nice to get it tested, based on your "don't know if it works
>> though" comment...
>
> Sure, it WOULD be nice, but I don't know how. The "don't know" refers to
> the case 16MB block size, my tape supports only 16MB - 1 byte (according
> to st report). Is there a way to test various block sizes with CDs /
> hard-disks / ZIP / scanners?
> Would something with sg_dd work?
Interesting challenge.
In lk 2.6.19-rc1 with /dev/sda and
/dev/sg0 the same SCSI disk I can get close:
[root@sas parameters]# cd /sys/block/sda/queue/
[root@sas queue]# echo 32767 > max_sectors_kb
[root@sas queue]# cd /sys/module/sg/parameters/
[root@sas parameters]# echo 131072 > scatter_elem_sz
[root@sas parameters]# sg_dd if=/dev/sg0 of=/dev/null bs=512 bpt=32640 count=32k verbose=3
>> Input file type: SCSI generic (sg) device
open input(sg_io), flags=0x800
inquiry cdb: 12 00 00 00 24 00
/dev/sg0: SEAGATE ST336754SS 0003 [pdt=0]
>> Output file type: null device
read cdb: 28 00 00 00 00 00 00 7f 80 00
duration=180 ms
read cdb: 28 00 00 00 7f 80 00 00 80 00
duration=4 ms
32768+0 records in
32768+0 records out
So I got within 128 (512 byte) sectors of a 16 MB transfer
on a single command. Hmm.
This is with a adaptec 48300 HBA with the aic94xx driver
(take your pick which one).
Looks like
> it must be only sector size. Can I low-level format a disk with 16M
> sector?:-)
No usually. Some SCSI disk can be formatted up to 528
byte sectors but that is a long way short.
> Another possibility is to limit the block size at 8MB - I can test that.
The sg driver gets around that in lk 2.6.19-rc1
Doug Gilbert
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2006-10-05 23:33 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-04 21:01 [GIT PATCH] scsi updates for post 2.6.18 James Bottomley
2006-10-05 19:11 ` Guennadi Liakhovetski
2006-10-05 19:16 ` Jeff Garzik
2006-10-05 19:56 ` Guennadi Liakhovetski
2006-10-05 20:12 ` Jeff Garzik
2006-10-05 22:12 ` Guennadi Liakhovetski
2006-10-05 23:34 ` Douglas Gilbert
-- strict thread matches above, loose matches on Subject: below --
2006-09-24 2:37 James Bottomley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox