[PATCH 0/3] Fix blk_mq_end_request() and blk_end_request() for WRITE SAME

Bart Van Assche
2018-06-26T00:10:06Z

Hello Jens,

This series of three patches fixes a crash in the block layer core that I
encountered while retesting the SRP tests in blktests. Please consider these
patches for kernel v4.19.

Thanks,

Bart.

Bart Van Assche (3):
block: Fix blk_rq_payload_bytes()
sd: Remove the __data_len hack for WRITE SAME again
block: Fix blk_end_request_all() for WRITE SAME requests

block/blk-core.c | 31 ++++++++++++++++++++++++-------
block/blk-mq.c | 2 +-
block/blk.h | 2 ++
drivers/scsi/sd.c | 18 +-----------------
include/linux/blkdev.h | 14 +++++++++-----
5 files changed, 37 insertions(+), 30 deletions(-)

--
2.17.1