From: Bart Van Assche <bart.vanassche@sandisk.com>
To: "Martin K . Petersen" <martin.petersen@oracle.com>,
James Bottomley <James.Bottomley@HansenPartnership.com>
Cc: linux-scsi@vger.kernel.org, Christoph Hellwig <hch@lst.de>,
Bart Van Assche <bart.vanassche@sandisk.com>
Subject: [PATCH v3 00/12] SCSI patches for kernel v4.13
Date: Fri, 2 Jun 2017 14:21:51 -0700 [thread overview]
Message-ID: <20170602212203.30401-1-bart.vanassche@sandisk.com> (raw)
Hello Martin,
This patch series consists of the bug fixes and improvements I came up with
during the past two months. This patch series has been developed on top of
your 4.13/scsi-queue branch. Please consider these patches for kernel v4.13.
Thanks,
Bart.
The changes compared to v2 of this patch series are:
- Addressed Christoph's review comments: added an explanation to patch
"Protect SCSI device state changes with a mutex" of why that change is
needed. Removed a printk() from patch "Make __scsi_remove_device go
straight from BLOCKED to DEL". For scsi-mq, moved the initialization of
.prot_sdb from scsi_mq_prep_fn() into scsi_init_request(). Fixed the
driver name in the virtio_scsi patch.
Between v1 and v2:
- Left out the block layer patches from this series.
- Reworked this patch series such that it applies cleanly on the 4.13 SCSI
patch queue and no longer depends on any block layer changes that are not
yet upstream.
- In patch "Avoid that scsi_exit_rq() triggers a use-after-free", make the
prep functions save and restore the SCMD_UNCHECKED_ISA_DMA flag.
- Added patch "Introduce scsi_start_queue()".
Bart Van Assche (12):
Avoid that scsi_exit_rq() triggers a use-after-free
Split scsi_internal_device_block()
Create two versions of scsi_internal_device_unblock()
Protect SCSI device state changes with a mutex
Introduce scsi_start_queue()
Make __scsi_remove_device go straight from BLOCKED to DEL
Only add commands to the device command list if required by the LLD
Introduce scsi_mq_sgl_size()
Make scsi_mq_prep_fn() call scsi_init_command()
snic: Remove code that zeroes driver-private command data
virtio_scsi: Remove code that zeroes driver-private command data
xen/scsifront: Remove code that zeroes driver-private command data
drivers/scsi/mpt3sas/mpt3sas_scsih.c | 8 +-
drivers/scsi/scsi.c | 9 +-
drivers/scsi/scsi_error.c | 8 +-
drivers/scsi/scsi_lib.c | 306 ++++++++++++++++++++++-------------
drivers/scsi/scsi_priv.h | 3 +
drivers/scsi/scsi_scan.c | 16 +-
drivers/scsi/scsi_sysfs.c | 34 +++-
drivers/scsi/scsi_transport_srp.c | 7 +-
drivers/scsi/sd.c | 7 +-
drivers/scsi/snic/snic_scsi.c | 2 -
drivers/scsi/virtio_scsi.c | 1 -
drivers/scsi/xen-scsifront.c | 1 -
include/scsi/scsi_cmnd.h | 1 +
include/scsi/scsi_device.h | 7 +-
14 files changed, 258 insertions(+), 152 deletions(-)
--
2.12.2
next reply other threads:[~2017-06-02 21:22 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-02 21:21 Bart Van Assche [this message]
2017-06-02 21:21 ` [PATCH v3 01/12] Avoid that scsi_exit_rq() triggers a use-after-free Bart Van Assche
2017-06-02 21:21 ` [PATCH v3 02/12] Split scsi_internal_device_block() Bart Van Assche
2017-06-02 21:21 ` [PATCH v3 03/12] Create two versions of scsi_internal_device_unblock() Bart Van Assche
2017-06-02 21:21 ` [PATCH v3 04/12] Protect SCSI device state changes with a mutex Bart Van Assche
2017-06-05 8:09 ` Christoph Hellwig
2017-06-05 15:18 ` Bart Van Assche
2017-06-05 18:36 ` Bart Van Assche
2017-06-08 15:53 ` hch
2017-06-02 21:21 ` [PATCH v3 05/12] Introduce scsi_start_queue() Bart Van Assche
2017-06-02 21:21 ` [PATCH v3 06/12] Make __scsi_remove_device go straight from BLOCKED to DEL Bart Van Assche
2017-06-02 21:21 ` [PATCH v3 07/12] Only add commands to the device command list if required by the LLD Bart Van Assche
2017-06-02 21:21 ` [PATCH v3 08/12] Introduce scsi_mq_sgl_size() Bart Van Assche
2017-06-02 21:22 ` [PATCH v3 09/12] Make scsi_mq_prep_fn() call scsi_init_command() Bart Van Assche
2017-06-05 8:10 ` Christoph Hellwig
2017-06-02 21:22 ` [PATCH v3 10/12] snic: Remove code that zeroes driver-private command data Bart Van Assche
2017-06-02 21:22 ` [PATCH v3 11/12] virtio_scsi: " Bart Van Assche
2017-06-02 21:22 ` [PATCH v3 12/12] xen/scsifront: " Bart Van Assche
2017-06-13 1:04 ` [PATCH v3 00/12] SCSI patches for kernel v4.13 Martin K. Petersen
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=20170602212203.30401-1-bart.vanassche@sandisk.com \
--to=bart.vanassche@sandisk.com \
--cc=James.Bottomley@HansenPartnership.com \
--cc=hch@lst.de \
--cc=linux-scsi@vger.kernel.org \
--cc=martin.petersen@oracle.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox