Skip to content

More patches for kernel v4.13

Bart Van Assche linux-block 6 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest posting 2/212 patches 3 repliesIn review
  2. v3 posting 1/212 patches 6 repliesApplied
  3. v2 posting 3/312 patches 17 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v2 posting 2/312 patches13 repliesSuperseded
v2 posting 1/36 patches14 repliesSuperseded
v119 patches28 repliesSuperseded

Changes in v3 from the cover letter

* Added patch "blk-mq: Reduce blk_mq_hw_ctx size".
* Removed patch "block: Rename blk_mq_rq_{to,from}_pdu()".
* Addressed Christoph's review comments about patch "block: Introduce request_queue.initialize_rq_fn()".
* Rebased (and retested) this patch series on top of a merge of Jens' for-next and for-linus branches.

Patches in v3 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12blk-mq: Reduce blk_mq_hw_ctx sizeblock/blk-mq.c include/linux/blk-mq.h+25 -101 reply
2/12block: Make request operation type argument declarations consistentblock/blk-core.c block/blk-mq.c include/linux/blk-mq.h +1 more+17 -150 replies
3/12block: Introduce request_queue.initialize_rq_fn()block/blk-core.c include/linux/blk-mq.h include/linux/blkdev.h+21 -20 replies
4/12block: Make most scsi_req_init() calls implicitblock/bsg.c block/scsi_ioctl.c drivers/block/pktcdvd.c +21 more+18 -330 replies
5/12block: Change argument type of scsi_req_init()block/scsi_ioctl.c drivers/ide/ide-atapi.c drivers/ide/ide-probe.c +3 more+14 -80 replies
6/12blk-mq: Initialize a request before assigning a tagblock/blk-mq.c+5 -40 replies
7/12block: Add a comment above queue_lockdep_assert_held()include/linux/blkdev.h+7 -00 replies
8/12block: Check locking assumptions at runtimeblock/blk-core.c block/blk-flush.c block/blk-merge.c +2 more+64 -370 replies
9/12block: Document what queue type each function is intended forblock/blk-core.c block/blk.h+35 -00 replies
10/12blk-mq: Document locking assumptionsblock/blk-mq-sched.c block/blk-mq.c+6 -00 replies
11/12block: Constify disk_typeblock/genhd.c+2 -20 replies
12/12blk-mq: Warn when attempting to run a hardware queue that is not mappedblock/blk-mq.c+4 -30 replies

Reviews trailers per patch

11 of 12 patches have a Reviewed-by or Acked-by.

PatchChristoph HellwigHannes ReineckeMartin K. PetersenMing Lei
1/12R-b R-b
2/12R-b
3/12
4/12R-b
5/12R-b R-b R-b
6/12R-b
7/12R-b
8/12R-b
9/12R-b
10/12R-b
11/12R-b
12/12R-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 4 reviewers.

Read the v3 thread

Cover letter [PATCH v3 00/12] More patches for kernel v4.13

Hello Jens,

This patch series contains one patch that reduces the size of struct blk_mq_hw_ctx, a few patches that simplify some of the block layer code and also patches that improve the block layer documentation. Please consider these patches for kernel v4.13.

The basis for these patches is a merge of your for-next and for-linus branches. Please note that the first patch in this series applies fine on top of the merge of these two branches but not on top of your for-next branch.

Thanks,

Bart.

Changes between v2 and v3:
* Added patch "blk-mq: Reduce blk_mq_hw_ctx size".
* Removed patch "block: Rename blk_mq_rq_{to,from}_pdu()".
* Addressed Christoph's review comments about patch "block: Introduce request_queue.initialize_rq_fn()".
* Rebased (and retested) this patch series on top of a merge of Jens' for-next and for-linus branches.

Changes between v1 and v2:
* Addressed Christoph's comment about moving the .initialize_rq_fn() call from blk_rq_init() / blk_mq_rq_ctx_init() into blk_get_request().
* Left out patch "scsi: Make scsi_ioctl_reset() pass the request queue pointer to blk_rq_init()" since it's no longer needed.
* Restored the scsi_req_init() call in ide_prep_sense().
* Combined the two patches that reduce the blk_mq_hw_ctx size into a single patch.
* Modified patch "blk-mq: Initialize a request before assigning a tag" such that .tag and .internal_tag are no longer initialized twice.
* Removed WARN_ON_ONCE(q->mq_ops) from blk_queue_bypass_end() because this function is used by both blk-sq and blk-mq.
* Added several new patches, e.g. "block: Rename blk_mq_rq_{to,from}_pdu()".

Bart Van Assche (12):
blk-mq: Reduce blk_mq_hw_ctx size
block: Make request operation type argument declarations consistent
block: Introduce request_queue.initialize_rq_fn()
block: Make most scsi_req_init() calls implicit
block: Change argument type of scsi_req_init()
blk-mq: Initialize a request before assigning a tag
block: Add a comment above queue_lockdep_assert_held()
block: Check locking assumptions at runtime
block: Document what queue type each function is intended for
blk-mq: Document locking assumptions
block: Constify disk_type
blk-mq: Warn when attempting to run a hardware queue that is not
mapped

 block/blk-core.c                   | 130 ++++++++++++++++++++++++++++---------
 block/blk-flush.c                  |   8 ++-
 block/blk-merge.c                  |   3 +
 block/blk-mq-sched.c               |   2 +
 block/blk-mq.c                     |  60 +++++++++++------
 block/blk-tag.c                    |  15 ++---
 block/blk-timeout.c                |   4 +-
 block/blk.h                        |   2 +
 block/bsg.c                        |   1 -
 block/genhd.c                      |   4 +-
 block/scsi_ioctl.c                 |  13 ++--
 drivers/block/pktcdvd.c            |   1 -
 drivers/cdrom/cdrom.c              |   1 -
 drivers/ide/ide-atapi.c            |   3 +-
 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_error.c          |   1 -
 drivers/scsi/scsi_lib.c            |  12 +++-
 drivers/scsi/scsi_transport_sas.c  |   6 ++
 drivers/scsi/sg.c                  |   2 -
 drivers/scsi/st.c                  |   1 -
 drivers/target/target_core_pscsi.c |   2 -
 fs/nfsd/blocklayout.c              |   1 -
 include/linux/blk-mq.h             |  13 ++--
 include/linux/blkdev.h             |  14 +++-
 include/scsi/scsi_request.h        |   2 +-
 36 files changed, 213 insertions(+), 109 deletions(-)
Signature · 1 line
2.12.2