Skip to content

block: make sure discard/writesame bio is aligned with logical block size

Ming Lei linux-block stable 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 4 repliesIn review
  2. v13 patches 5 repliesSuperseded

Changes in v2 from the cover letter

- introduce helper of bio_allowed_max_sectors()
- add commit log for patch 2

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3block: make sure discard bio is aligned with logical block sizeblock/blk-lib.c block/blk-merge.c block/blk.h+13 -30 replies
2/3block: cleanup __blkdev_issue_discard()block/blk-lib.c+6 -170 replies
3/3block: make sure writesame bio is aligned with logical block sizeblock/blk-lib.c+1 -10 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by.

PatchRui Salvaterra
SeriesT-b
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH V2 0/3] block: make sure discard/writesame bio is aligned with logical block size

Hi,

The 1st & 3rd patch fixes bio size alignment issue.

The 2nd patch cleans up __blkdev_issue_discard() a bit.

V2:
- introduce helper of bio_allowed_max_sectors()
- add commit log for patch 2

Ming Lei (3):
block: make sure discard bio is aligned with logical block size
block: cleanup __blkdev_issue_discard()
block: make sure writesame bio is aligned with logical block size

 block/blk-lib.c   | 26 +++++++-------------------
 block/blk-merge.c |  3 ++-
 block/blk.h       | 10 ++++++++++
 3 files changed, 19 insertions(+), 20 deletions(-)
Cc Rui Salvaterra <[email protected]>
Cc Mike Snitzer <[email protected]>
Cc Christoph Hellwig <[email protected]>
Cc Xiao Ni <[email protected]>
Cc Mariusz Dabrowski <[email protected]>
Signature · 1 line
2.9.5