Skip to contentSkip to conversation

Block fixes for 6.1-rc4

GIT PULL Merged Jens Axboe 2 participants 2 messages Nov 5, 2022 Block layer

lore
Share & tools
lore

Jens Axboe

author maintainer
#0 lore raw

Hi Linus,

A few fixes that should go into the next rc:

- Set of fixes for the ublk driver (Ming)

- Two fixes for error handling memory leaks (Chen Jun, Chen Zhongjin)

- Explicitly clear the last request in a chain when the plug is flushed, as it may have already been issued (Al)

Please pull!

The following changes since commit e3c5a78cdb6237bfb9641b63cccf366325229eec:

blk-mq: Properly init requests from blk_mq_alloc_request_hctx() (2022-10-28 07:54:47 -0600)

are available in the Git repository at:

git://git.kernel.dk/linux.git tags/block-6.1-2022-11-05

for you to fetch changes up to 878eb6e48f240d02ed1c9298020a0b6370695f24:

block: blk_add_rq_to_plug(): clear stale 'last' after flush (2022-10-31 20:21:38 -0600)

----------------------------------------------------------------
block-6.1-2022-11-05

----------------------------------------------------------------
Al Viro (1):
block: blk_add_rq_to_plug(): clear stale 'last' after flush

Chen Jun (1):
blk-mq: Fix kmemleak in blk_mq_init_allocated_queue

Chen Zhongjin (1):
block: Fix possible memory leak for rq_wb on add_disk failure

Ming Lei (4):
ublk_drv: return flag of UBLK_F_URING_CMD_COMP_IN_TASK in case of module
ublk_drv: comment on ublk_driver entry of Kconfig
ublk_drv: avoid to touch io_uring cmd in blk_mq io path
ublk_drv: add ublk_queue_cmd() for cleanup

 block/blk-mq.c           |   5 +--
 block/genhd.c            |   1 +
 drivers/block/Kconfig    |   6 +++
 drivers/block/ublk_drv.c | 115 ++++++++++++++++++++++++++++-------------------
 4 files changed, 77 insertions(+), 50 deletions(-)
Signature · 1 line
Jens Axboe