From: James Bottomley <James.Bottomley@HansenPartnership.com>
To: Andrew Morton <akpm@linux-foundation.org>,
Linus Torvalds <torvalds@linux-foundation.org>
Cc: linux-scsi <linux-scsi@vger.kernel.org>,
linux-kernel <linux-kernel@vger.kernel.org>
Subject: [GIT PULL] SCSI topic updates for the 5.2+ merge window: sg
Date: Tue, 09 Jul 2019 13:47:58 -0700 [thread overview]
Message-ID: <1562705278.30003.8.camel@HansenPartnership.com> (raw)
This topic branch covers a fundamental change in how our sg lists are
allocated to make mq more efficient by reducing the size of the
preallocated sg list. This necessitates a large number of driver
changes because the previous guarantee that if a driver specified
SG_ALL as the size of its scatter list, it would get a non-chained list
and didn't need to bother with scatterlist iterators is now broken and
every driver *must* use scatterlist iterators.
This was broken out as a separate topic because we need to convert all
the drivers before pulling the trigger and unconverted drivers kept
being found, plus the odd bug, necessitating a rebase.
The patch is available here:
git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git scsi-sg
The short changelog is:
Finn Thain (2):
scsi: NCR5380: use sg helper to iterate over scatterlist
scsi: aha152x: use sg helper to iterate over scatterlist
Ming Lei (19):
scsi: core: don't preallocate small SGL in case of NO_SG_CHAIN
scsi: lib/sg_pool.c: clear 'first_chunk' in case of no preallocation
scsi: core: avoid preallocating big SGL for data
scsi: core: avoid preallocating big SGL for protection information
scsi: lib/sg_pool.c: improve APIs for allocating sg pool
scsi: esp: use sg helper to iterate over scatterlist
scsi: wd33c93: use sg helper to iterate over scatterlist
scsi: ppa: use sg helper to iterate over scatterlist
scsi: pcmcia: nsp_cs: use sg helper to iterate over scatterlist
scsi: imm: use sg helper to iterate over scatterlist
scsi: s390: zfcp_fc: use sg helper to iterate over scatterlist
scsi: staging: unisys: visorhba: use sg helper to iterate over scatterlist
scsi: usb: image: microtek: use sg helper to iterate over scatterlist
scsi: pmcraid: use sg helper to iterate over scatterlist
scsi: ipr: use sg helper to iterate over scatterlist
scsi: mvumi: use sg helper to iterate over scatterlist
scsi: lpfc: use sg helper to iterate over scatterlist
scsi: advansys: use sg helper to iterate over scatterlist
scsi: vmw_pscsi: use sg helper to iterate over scatterlist
And the diffstat:
drivers/nvme/host/fc.c | 7 ++--
drivers/nvme/host/rdma.c | 7 ++--
drivers/nvme/target/loop.c | 4 +--
drivers/s390/scsi/zfcp_fc.c | 4 +--
drivers/scsi/NCR5380.c | 41 ++++++++++------------
drivers/scsi/advansys.c | 2 +-
drivers/scsi/aha152x.c | 46 ++++++++++++-------------
drivers/scsi/esp_scsi.c | 20 +++++++----
drivers/scsi/esp_scsi.h | 2 ++
drivers/scsi/imm.c | 2 +-
drivers/scsi/ipr.c | 29 +++++++++-------
drivers/scsi/lpfc/lpfc_nvmet.c | 3 +-
drivers/scsi/mvumi.c | 11 +++---
drivers/scsi/pcmcia/nsp_cs.c | 4 +--
drivers/scsi/pmcraid.c | 14 ++++----
drivers/scsi/ppa.c | 2 +-
drivers/scsi/scsi_lib.c | 35 ++++++++++++++-----
drivers/scsi/vmw_pvscsi.c | 2 +-
drivers/scsi/wd33c93.c | 2 +-
drivers/staging/unisys/visorhba/visorhba_main.c | 9 +++--
drivers/usb/image/microtek.c | 20 +++++------
drivers/usb/image/microtek.h | 2 +-
include/linux/scatterlist.h | 11 +++---
lib/scatterlist.c | 36 ++++++++++++-------
lib/sg_pool.c | 39 +++++++++++++++------
net/sunrpc/xprtrdma/svc_rdma_rw.c | 5 +--
James
next reply other threads:[~2019-07-09 20:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-09 20:47 James Bottomley [this message]
2019-07-11 22:30 ` [GIT PULL] SCSI topic updates for the 5.2+ merge window: sg pr-tracker-bot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1562705278.30003.8.camel@HansenPartnership.com \
--to=james.bottomley@hansenpartnership.com \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=torvalds@linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.