Skip to content

fix a few problems in block layer

Jiufei Xue linux-block 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 6 repliesIn review
  2. v14 patches 8 repliesSuperseded

Changes in v2 from the cover letter

- add a Fixes tag in individual patch.
- check end-of-device of bio in blk_partition_remap when the bi_partno is not zero to avoid another partition lookup.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4block: fix the count of PGPGOUT for WRITE_SAMEblock/blk-core.c+1 -10 replies
2/4block: bio_check_eod() needs to consider partitionblock/blk-core.c+43 -363 replies
3/4block: display the correct diskname for bioblock/partition-generic.c include/linux/bio.h+7 -31 reply
4/4block: fix a typodrivers/block/pktcdvd.c+1 -11 reply

Reviews trailers per patch

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

PatchOmar SandovalChristoph Hellwig
1/4R-b R-b
2/4
3/4R-b R-b
4/4R-b

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/4] fix a few problems in block layer

I have found a few problems while reviewing the patch 74d46992e0d9 ("block: replace bi_bdev with a gendisk pointer and partitions index"), So fix them.

Changes since v1:
- add a Fixes tag in individual patch.
- check end-of-device of bio in blk_partition_remap when the bi_partno is not zero to avoid another partition lookup.

Jiufei Xue (4)
block: fix the count of PGPGOUT for WRITE_SAME
block: bio_check_eod() needs to consider partition
block: display the correct disk name for bio
block: fix a typo and modify the documentation for bio

 block/blk-core.c          |   81 +++++++++++++++++++++-------------------------
 block/partition-generic.c |    6 ---
 drivers/block/pktcdvd.c   |    2 -
 include/linux/bio.h       |    4 +-
 4 files changed, 41 insertions(+), 52 deletions(-)