SCSI patches for kernel v4.13.
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest31 patches 48 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/31 | Split scsi_internal_device_block()drivers/ drivers/ include/ | +50 | 2 replies | |
| 2/31 | Create two versions of scsi_internal_device_unblock()drivers/ drivers/ include/ | +36 | 2 replies | |
| 3/31 | Protect SCSI device state changes with a mutexdrivers/ drivers/ drivers/ +4 more | +66 | 2 replies | |
| 4/31 | Introduce scsi_start_queue()drivers/ drivers/ | +16 | 1 reply | |
| 5/31 | Make __scsi_remove_device go straight from BLOCKED to DELdrivers/ drivers/ | +14 | 1 reply | |
| 6/31 | scmd_eh_abort_handler(): Add a commentdrivers/ | +6 | 1 reply | |
| 7/31 | scsi: Use blk_mq_rq_to_pdu() to convert a request to a SCSI command pointerdrivers/ drivers/ include/ | +11 | 2 replies | |
| 8/31 | sd, sr: Convert two assignments into warning statementsdrivers/ drivers/ | +2 | 2 replies | |
| 9/31 | block: Avoid that blk_exit_rl() triggers a use-after-freeblock/ block/ block/ +1 more | +11 | 2 replies | |
| 10/31 | Avoid that scsi_exit_rq() triggers a use-after-freedrivers/ include/ | +26 | 1 reply | |
| 11/31 | block: Introduce queue flag QUEUE_FLAG_SCSI_SUPblock/ drivers/ drivers/ +3 more | +8 | 2 replies | |
| 12/31 | bsg: Check queue type before attaching to a queueblock/ | +6 | 2 replies | |
| 13/31 | pktcdvd: Check queue type before attaching to a queuedrivers/ | +5 | 1 reply | |
| 14/31 | cdrom: Check private request size before attaching to a queuedrivers/ | +4 | 1 reply | |
| 15/31 | nfsd: Check private request size before submitting a SCSI requestfs/ | +3 | 1 reply | |
| 16/31 | scsi: Make scsi_ioctl_reset() pass the request queue pointer to blk_rq_init()drivers/ | +6 | 1 reply | |
| 17/31 | block: Introduce request_queue.initialize_rq_fn()block/ block/ include/ | +10 | 1 reply | |
| 18/31 | block: Make scsi_req_init() calls implicitblock/ block/ drivers/ +21 more | +18 | 1 reply | |
| 19/31 | scsi: Change argument type of scsi_req_init()block/ drivers/ drivers/ +2 more | +13 | 1 reply | |
| 20/31 | scsi: Only add commands to the device command list if required by the LLDdrivers/ drivers/ drivers/ | +35 | 1 reply | |
| 21/31 | scsi: Move most of scsi_init_command() into scsi_initialize_rq()drivers/ | +8 | 1 reply | |
| 22/31 | scsi: Inline scsi_init_command()drivers/ drivers/ drivers/ | +2 | 1 reply | |
| 23/31 | scsi: Move sense buffer pointer initialization into scsi_initialize_rq()drivers/ | +1 | 1 reply | |
| 24/31 | scsi: Make scsi_initialize_rq() zero the entire struct scsi_cmnddrivers/ | +2 | 1 reply | |
| 25/31 | scsi-mq: Make behavior scsi_mq_prep_fn() closer to that of scsi_prep_fn()drivers/ | +1 | 1 reply | |
| 26/31 | scsi: Move the code for clearing private command data into scsi_dispatch_cmd()drivers/ | +2 | 1 reply | |
| 27/31 | scsi: Consolidate more initialization codedrivers/ drivers/ | +1 | 1 reply | |
| 28/31 | scsi_setup_fs_cmnd(): Call scsi_req_init() instead of open-coding itdrivers/ | +2 | 1 reply | |
| 29/31 | scsi: snic: Remove code that zeroes driver-private command datadrivers/ | +0 | 1 reply | |
| 30/31 | scsi: virtio: Remove code that zeroes driver-private command datadrivers/ | +0 | 1 reply | |
| 31/31 | xen/scsifront: Remove code that zeroes driver-private command datadrivers/ | +0 | 4 replies | |
| 31/31 | xen/scsifront: Remove code that zeroes driver-private command datadrivers/ | +0 | 0 replies |
Reviews trailers per patch
30 of 32 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Christoph Hellwig | Hannes Reinecke | Juergen Gross | Johannes Thumshirn | Tejun Heo | Martin K. Petersen |
|---|---|---|---|---|---|---|
| Series | R-b | |||||
| 1/31 | R-b | R-b | ||||
| 2/31 | R-b | R-b | ||||
| 3/31 | ||||||
| 4/31 | R-b | |||||
| 5/31 | R-b | |||||
| 6/31 | R-b | |||||
| 7/31 | R-b | R-b | ||||
| 8/31 | R-b | R-b | ||||
| 9/31 | R-b | A-b | ||||
| 10/31 | R-b | |||||
| 11/31 | R-b | |||||
| 12/31 | R-b | |||||
| 13/31 | R-b | |||||
| 14/31 | R-b | |||||
| 15/31 | R-b | |||||
| 16/31 | R-b | R-b | ||||
| 17/31 | R-b | |||||
| 18/31 | ||||||
| 19/31 | R-b | R-b | ||||
| 20/31 | R-b | R-b | ||||
| 21/31 | R-b | R-b | ||||
| 22/31 | R-b | R-b | ||||
| 23/31 | R-b | R-b | ||||
| 24/31 | R-b | R-b | ||||
| 25/31 | R-b | |||||
| 26/31 | R-b | |||||
| 27/31 | R-b | R-b | ||||
| 28/31 | R-b | R-b | ||||
| 29/31 | R-b | |||||
| 30/31 | R-b | |||||
| 31/31 | R-b R-b | R-b R-b | ||||
| 31/31 | R-b R-b | R-b R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 6 reviewers.
Cover letter [PATCH 00/31] SCSI patches for kernel v4.13.
Hello Martin,
This patch series consists of the bug fixes I came up with during the past two months. Please consider these patches for kernel v4.13.
Thanks,
Bart.
Bart Van Assche (31):
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 scmd_eh_abort_handler(): Add a comment
scsi: Use blk_mq_rq_to_pdu() to convert a request to a SCSI command
pointer
sd, sr: Convert two assignments into warning statements
block: Avoid that blk_exit_rl() triggers a use-after-free Avoid that scsi_exit_rq() triggers a use-after-free
block: Introduce queue flag QUEUE_FLAG_SCSI_SUP
bsg: Check queue type before attaching to a queue
pktcdvd: Check queue type before attaching to a queue
cdrom: Check private request size before attaching to a queue
nfsd: Check private request size before submitting a SCSI request
scsi: Make scsi_ioctl_reset() pass the request queue pointer to
blk_rq_init()
block: Introduce request_queue.initialize_rq_fn()
block: Make scsi_req_init() calls implicit
scsi: Change argument type of scsi_req_init()
scsi: Only add commands to the device command list if required by the
LLD
scsi: Move most of scsi_init_command() into scsi_initialize_rq()
scsi: Inline scsi_init_command()
scsi: Move sense buffer pointer initialization into
scsi_initialize_rq()
scsi: Make scsi_initialize_rq() zero the entire struct scsi_cmnd
scsi-mq: Make behavior scsi_mq_prep_fn() closer to that of
scsi_prep_fn() scsi: Move the code for clearing private command data into
scsi_dispatch_cmd()
scsi: Consolidate more initialization code scsi_setup_fs_cmnd(): Call scsi_req_init() instead of open-coding it
scsi: snic: Remove code that zeroes driver-private command data
scsi: virtio: Remove code that zeroes driver-private command data xen/scsifront: Remove code that zeroes driver-private command data
block/blk-cgroup.c | 2 +- block/blk-core.c | 13 +- block/blk-mq.c | 3 + block/blk-sysfs.c | 2 +- block/blk.h | 2 +- block/bsg-lib.c | 1 + block/bsg.c | 7 +- block/scsi_ioctl.c | 13 +- drivers/block/cciss.c | 1 + drivers/block/pktcdvd.c | 6 +- drivers/cdrom/cdrom.c | 5 +- drivers/ide/ide-atapi.c | 2 - drivers/ide/ide-cd.c | 1 - drivers/ide/ide-cd_ioctl.c | 1 - drivers/ide/ide-devsets.c | 1 - drivers/ide/ide-disk.c | 1 - drivers/ide/ide-ioctls.c | 2 - drivers/ide/ide-park.c | 2 - drivers/ide/ide-pm.c | 2 - drivers/ide/ide-probe.c | 7 +- drivers/ide/ide-tape.c | 1 - drivers/ide/ide-taskfile.c | 1 - drivers/scsi/mpt3sas/mpt3sas_scsih.c | 8 +- drivers/scsi/osd/osd_initiator.c | 2 - drivers/scsi/osst.c | 1 - drivers/scsi/scsi.c | 9 +- drivers/scsi/scsi_error.c | 26 ++- drivers/scsi/scsi_lib.c | 327 +++++++++++++++++++++-------------- drivers/scsi/scsi_priv.h | 4 +- drivers/scsi/scsi_scan.c | 16 +- drivers/scsi/scsi_sysfs.c | 37 +++- drivers/scsi/scsi_transport_sas.c | 7 + drivers/scsi/scsi_transport_srp.c | 7 +- drivers/scsi/sd.c | 9 +- drivers/scsi/sg.c | 2 - drivers/scsi/snic/snic_scsi.c | 2 - drivers/scsi/sr.c | 2 +- drivers/scsi/st.c | 1 - drivers/scsi/virtio_scsi.c | 1 - drivers/scsi/xen-scsifront.c | 1 - drivers/target/target_core_pscsi.c | 2 - fs/nfsd/blocklayout.c | 4 +- include/linux/blkdev.h | 6 + include/scsi/scsi_cmnd.h | 1 + include/scsi/scsi_device.h | 7 +- include/scsi/scsi_request.h | 2 +- include/scsi/scsi_tcq.h | 2 +- 47 files changed, 345 insertions(+), 217 deletions(-)
Signature · 1 line
2.12.2