Skip to content

Block layer patches for kernel v5.8

Bart Van Assche linux-block 3 versions – Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 4 repliesApplied
  2. v24 patches 2 repliesSuperseded
  3. v15 patches 17 repliesSuperseded

Changes in v3 from the cover letter

- In patch 4/4, use __rq_for_each_bio() (Ming).

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/4block: Fix type of first compat_put_{,u}long() argumentblock/ioctl.c+2 -21 reply
2/4bio.h: Declare the arguments of the bio iteration functions constinclude/linux/bio.h+3 -31 reply
3/4block: Document the bio_vec propertiesinclude/linux/bvec.h+11 -21 reply
4/4null_blk: Zero-initialize read buffers in non-memory-backed modedrivers/block/null_blk_main.c+26 -00 replies

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by.

PatchArnd BergmannChristoph HellwigChaitanya KulkarniAlexander PotapenkoJohannes Thumshirn
1/4A-b R-b R-b
2/4R-b R-b R-b
3/4R-b
4/4T-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 5 reviewers.

Read the v3 thread

Cover letter [PATCH v3 0/4] Block layer patches for kernel v5.8

Hi Jens,

The patches in this series are what I came up with as the result of analyzing Alexander Potapenko's report about reading from null_blk. Please consider these patches for kernel v5.8.

Thanks,

Bart.

Changes compared to v2:
- In patch 4/4, use __rq_for_each_bio() (Ming).

Changes compared to v1:
- Adjusted the comments added by patch "Document the bio_vec properties" as requested by Christoph.
- Left out the patch "Fix zero_fill_bio()" since it is not necessary.
- Moved zero_fill_bvec() from patch "Fix zero_fill_bio()" into patch "null_blk: Zero-initialize read buffers in non-memory-backed mode".

Bart Van Assche (4):
block: Fix type of first compat_put_{,u}long() argument bio.h: Declare the arguments of the bio iteration functions const
block: Document the bio_vec properties
null_blk: Zero-initialize read buffers in non-memory-backed mode

 block/ioctl.c                 |  4 ++--
 drivers/block/null_blk_main.c | 26 ++++++++++++++++++++++++++
 include/linux/bio.h           |  6 +++---
 include/linux/bvec.h          | 13 +++++++++++--
 4 files changed, 42 insertions(+), 7 deletions(-)