[PATCH V2 0/4] fix a few problems in block layer

Jiufei Xue
2018-02-27T12:07:04Z

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(-)