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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux