Chaining sg lists for big IO commands v6
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest19 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/19 | crypto: don't pollute the global namespace with sg_next()crypto/ crypto/ crypto/ | +3 | 0 replies | |
| 2/19 | Add sg helpers for iterating over a scatterlist tableinclude/ | +9 | 0 replies | |
| 3/19 | libata: convert to using sg helpersdrivers/ include/ | +26 | 0 replies | |
| 4/19 | block: convert to using sg helpersblock/ | +12 | 0 replies | |
| 5/19 | scsi: convert to using sg helpersdrivers/ | +11 | 2 replies | |
| 6/19 | Add chained sg support to linux/scatterlist.hinclude/ | +77 | 0 replies | |
| 7/19 | i386 dma_map_sg: convert to using sg helpersinclude/ | +7 | 0 replies | |
| 8/19 | i386: enable sg chaininginclude/ | +2 | 0 replies | |
| 9/19 | swiotlb: sg chaining supportlib/ | +12 | 0 replies | |
| 10/19 | x86-64: update iommu/dma mapping functions to sg helpersarch/ arch/ arch/ | +49 | 0 replies | |
| 11/19 | x86-64: enable sg chaininginclude/ include/ | +3 | 0 replies | |
| 12/19 | IA64: sg chaining supportarch/ arch/ include/ +1 more | +16 | 0 replies | |
| 13/19 | PPC: sg chaining supportarch/ arch/ arch/ +3 more | +26 | 0 replies | |
| 14/19 | SPARC: sg chaining supportarch/ arch/ arch/ +2 more | +33 | 0 replies | |
| 15/19 | SPARC64: sg chaining supportarch/ arch/ arch/ +1 more | +73 | 0 replies | |
| 16/19 | scsi: simplify scsi_free_sgtable()drivers/ drivers/ include/ | +8 | 0 replies | |
| 17/19 | SCSI: support for allocating large scatterlistsdrivers/ include/ include/ | +164 | 0 replies | |
| 18/19 | ll_rw_blk: temporarily enable max_segments tweakingblock/ | +23 | 0 replies | |
| 19/19 | drivers: sg chaining supportarch/ drivers/ drivers/ +67 more | +552 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/19] Chaining sg lists for big IO commands v6
(please ignore last posting, git send-email got hold of the wrong directory...)
Hi,
Round 6 of the sg chaining patch set. Changes since v5:
- Support for more architectures. It should now run and work on i386, x86-64, sparc, sparc64, ia64, and ppc (32 and 64-bit). I have only tested i386/x86-64/ppc64 myself.
- Large command support is now automatically enabled by the SCSI mid layer, if the arch supports sg chaining. The debug queue entry in /sys/block/<dev>/queue/max_segments still exists if you want to tweak it further. The default limit is now 2048 entries, or at least 8mb ios. Remember that you still need to tweak the soft limit to allow the block layer to build large commands, that is the max_sectors_kb variable in the same directory.
- Add kerneldoc documentation to scatterlist.h
It's solid here, so please give it a spin. I'd like to get some performance results as well, if someone feels inclined to do so.
arch/ia64/hp/common/sba_iommu.c | 14 - arch/ia64/hp/sim/simscsi.c | 23 +- arch/ia64/sn/pci/pci_dma.c | 11 - arch/powerpc/kernel/dma_64.c | 5 arch/powerpc/kernel/ibmebus.c | 11 - arch/powerpc/kernel/iommu.c | 18 + arch/powerpc/platforms/ps3/system-bus.c | 5 arch/sparc/kernel/ioport.c | 25 +- arch/sparc/mm/io-unit.c | 12 - arch/sparc/mm/iommu.c | 10 arch/sparc/mm/sun4c.c | 10 arch/sparc64/kernel/pci_iommu.c | 39 ++- arch/sparc64/kernel/pci_sun4v.c | 32 +- arch/sparc64/kernel/sbus.c | 44 ++-- arch/x86_64/kernel/pci-calgary.c | 25 +- arch/x86_64/kernel/pci-gart.c | 60 ++--- arch/x86_64/kernel/pci-nommu.c | 5 block/ll_rw_blk.c | 42 +++ crypto/digest.c | 2 crypto/scatterwalk.c | 2 crypto/scatterwalk.h | 2 drivers/ata/libata-core.c | 30 +- drivers/ide/cris/ide-cris.c | 3 drivers/ide/ide-dma.c | 2 drivers/ide/ide-taskfile.c | 17 + drivers/ide/mips/au1xxx-ide.c | 2 drivers/ide/pci/sgiioc4.c | 2 drivers/ide/ppc/pmac.c | 2 drivers/infiniband/hw/ipath/ipath_dma.c | 9 drivers/infiniband/ulp/iser/iser_memory.c | 75 +++--- drivers/infiniband/ulp/srp/ib_srp.c | 22 +- drivers/message/fusion/mptscsih.c | 4 drivers/scsi/3w-9xxx.c | 8 drivers/scsi/3w-xxxx.c | 8 drivers/scsi/53c700.c | 16 - drivers/scsi/BusLogic.c | 7 drivers/scsi/NCR53c406a.c | 18 - drivers/scsi/a100u2w.c | 9 drivers/scsi/aacraid/aachba.c | 29 +- drivers/scsi/advansys.c | 21 - drivers/scsi/aha1542.c | 21 - drivers/scsi/aha1740.c | 8 drivers/scsi/aic7xxx/aic79xx_osm.c | 3 drivers/scsi/aic7xxx/aic7xxx_osm.c | 12 - drivers/scsi/aic94xx/aic94xx_task.c | 6 drivers/scsi/arcmsr/arcmsr_hba.c | 11 - drivers/scsi/dc395x.c | 7 drivers/scsi/dpt_i2o.c | 13 - drivers/scsi/eata.c | 8 drivers/scsi/esp_scsi.c | 5 drivers/scsi/gdth.c | 45 ++-- drivers/scsi/hptiop.c | 8 drivers/scsi/ibmmca.c | 11 - drivers/scsi/ibmvscsi/ibmvscsi.c | 4 drivers/scsi/ide-scsi.c | 31 +- drivers/scsi/initio.c | 12 - drivers/scsi/ipr.c | 9 drivers/scsi/ips.c | 74 +++--- drivers/scsi/iscsi_tcp.c | 43 ++- drivers/scsi/jazz_esp.c | 27 +- drivers/scsi/lpfc/lpfc_scsi.c | 9 drivers/scsi/mac53c94.c | 9 drivers/scsi/megaraid.c | 13 - drivers/scsi/megaraid/megaraid_mbox.c | 7 drivers/scsi/megaraid/megaraid_sas.c | 16 - drivers/scsi/mesh.c | 12 - drivers/scsi/ncr53c8xx.c | 7 drivers/scsi/nsp32.c | 9 drivers/scsi/pcmcia/sym53c500_cs.c | 18 - drivers/scsi/qla1280.c | 66 +++--- drivers/scsi/qla2xxx/qla_iocb.c | 9 drivers/scsi/qla4xxx/ql4_iocb.c | 8 drivers/scsi/qlogicfas408.c | 9 drivers/scsi/qlogicpti.c | 15 - drivers/scsi/scsi_debug.c | 29 +- drivers/scsi/scsi_lib.c | 239 ++++++++++++++++------ drivers/scsi/scsi_tgt_lib.c | 4 drivers/scsi/sg.c | 16 - drivers/scsi/sym53c416.c | 9 drivers/scsi/sym53c8xx_2/sym_glue.c | 7 drivers/scsi/u14-34f.c | 10 drivers/scsi/ultrastor.c | 10 drivers/scsi/wd7000.c | 7 drivers/usb/storage/alauda.c | 16 - drivers/usb/storage/datafab.c | 10 drivers/usb/storage/jumpshot.c | 10 drivers/usb/storage/protocol.c | 20 + drivers/usb/storage/protocol.h | 2 drivers/usb/storage/sddr09.c | 16 - drivers/usb/storage/sddr55.c | 16 - drivers/usb/storage/shuttle_usbat.c | 17 - include/asm-i386/dma-mapping.h | 13 - include/asm-i386/scatterlist.h | 2 include/asm-ia64/dma-mapping.h | 1 include/asm-ia64/scatterlist.h | 2 include/asm-powerpc/dma-mapping.h | 2 include/asm-powerpc/scatterlist.h | 2 include/asm-sparc/scatterlist.h | 2 include/asm-sparc64/scatterlist.h | 2 include/asm-x86_64/dma-mapping.h | 3 include/asm-x86_64/scatterlist.h | 2 include/linux/i2o.h | 2 include/linux/ide.h | 2 include/linux/libata.h | 16 - include/linux/scatterlist.h | 84 +++++++ include/scsi/scsi.h | 7 include/scsi/scsi_cmnd.h | 3 lib/swiotlb.c | 19 + 108 files changed, 1104 insertions(+), 744 deletions(-)