Unify and simplify SCSI request initialization
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest18 patches 30 repliesIn review
Patches in v1 No applies recorded yet
Reviews trailers per patch
11 of 18 patches have a Reviewed-by or Acked-by.
| Patch | Christoph Hellwig |
|---|---|
| 1/18 | R-b |
| 2/18 | |
| 3/18 | |
| 4/18 | |
| 5/18 | |
| 6/18 | R-b |
| 7/18 | |
| 8/18 | |
| 9/18 | R-b |
| 10/18 | R-b |
| 11/18 | R-b |
| 12/18 | R-b |
| 13/18 | R-b |
| 14/18 | R-b |
| 15/18 | |
| 16/18 | R-b |
| 17/18 | R-b |
| 18/18 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/18] Unify and simplify SCSI request initialization
Hello Martin and James,
The patches in this series unify scsi-mq and scsi-sq request initialization, significantly simplify request initialization and fix a recently introduced bug in the request initialization code. Please consider these patches for kernel v4.13.
Thanks,
Bart.
Bart Van Assche (18):
block: Introduce blk_queue_cmd_size()
bsg: Check private request size before attaching to a queue
pktcdvd: Check private request size 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: storvsc: Initialize driver-private command before using it
scsi-mq: Make behavior scsi_mq_prep_fn() closer to that of
scsi_prep_fn() scsi: Consolidate more initialization code scsi_setup_fs_cmnd(): Call scsi_req_init() instead of open-coding it
block/blk-core.c | 13 ++++++ block/blk-mq.c | 3 ++ block/bsg.c | 7 ++- block/scsi_ioctl.c | 13 +++--- drivers/block/pktcdvd.c | 7 ++- drivers/cdrom/cdrom.c | 6 ++- 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 | 6 +-- drivers/ide/ide-tape.c | 1 - drivers/ide/ide-taskfile.c | 1 - drivers/scsi/osd/osd_initiator.c | 2 - drivers/scsi/osst.c | 1 - drivers/scsi/scsi.c | 9 +--- drivers/scsi/scsi_error.c | 10 +++-- drivers/scsi/scsi_lib.c | 91 ++++++++++++++++++-------------------- drivers/scsi/scsi_priv.h | 3 +- drivers/scsi/scsi_transport_sas.c | 6 +++ drivers/scsi/sg.c | 2 - drivers/scsi/st.c | 1 - drivers/scsi/storvsc_drv.c | 1 + drivers/target/target_core_pscsi.c | 2 - fs/nfsd/blocklayout.c | 4 +- include/linux/blkdev.h | 5 +++ include/scsi/scsi_request.h | 2 +- 31 files changed, 112 insertions(+), 96 deletions(-)
Signature · 1 line
2.12.2