Skip to contentSkip to conversation

block fixes for 7.2-rc4

GIT PULL Merged Jens Axboe 2 participants 2 messages Jul 19 Block layer

lore
Share & tools
lore

Jens Axboe

author maintainer
#0 lore raw

Hi Linus,

Fixes for block that should go into this release. This pull request contains:

- Fixes for the dio bounce buffer helpers: correct the alignment of bounced dio read bios to avoid a double unpin, handle huge zero folios in bio_free_folios(), and don't warn on the larger-order folio attempts in the greedy allocation path.

- Try a slab allocation in bio_alloc_bioset() before falling back to the mempool, restoring the previous behavior for non-sleeping allocations from a cache-enabled bioset.

- Serialize elevator changes for the same queue using the writer lock.

- Fix a race in blk_time_get_ns() where a task preempted between setting PF_BLOCK_TS and the cached-timestamp reload could return 0.

- blk-cgroup fix for leaks and the online flag on a radix_tree_insert() failure in blkg_create().

- Free the copied pages when blk_rq_map_kern() fails after blk_rq_append_bio() rejects the bio.

- Remove manually added partitions on loop device detach, fixing dead partition devices left behind and a subsequent LOOP_CONFIGURE -EBUSY

- Bound the AIX partition lvd scan to the sector that was actually read.

- Show the block operation in error injection rules (Jackie)

Please pull!

The following changes since commit 181bb9c9eae4f69fe510a62a42c2932d0314a800:

block: remove redundant GD_NEED_PART_SCAN in add_disk_final() (2026-07-10 09:08:50 -0600)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux.git tags/block-7.2-20260717

for you to fetch changes up to df308a14585649f7683a560f5c94978ab4f8224d:

block: fix aligning of bounced dio read bios (2026-07-16 06:11:37 -0600)

----------------------------------------------------------------
Christoph Hellwig (2):
block: handle huge zero folios in bio_free_folios
block: fix aligning of bounced dio read bios

Daan De Meyer (1):
loop: remove manually added partitions on detach

Jackie Liu (2):
block: free copied pages when blk_rq_map_kern() fails
block: show operation in error injection rules

Joseph Qi (1):
block: try slab allocation in bio_alloc_bioset() before mempool

Michael Bommarito (1):
partitions: aix: bound the lvd scan to one sector

Mike Waychison (1):
block: fix race in blk_time_get_ns() returning 0

Qu Wenruo (1):
block: do not warn when doing greedy allocation in folio_alloc_greedy()

Shin'ichiro Kawasaki (1):
block: serialize elevator changes for the same queue using a writer lock

Tao Cui (1):
blk-cgroup: fix leaks and online flag on radix_tree_insert failure

 block/bio.c             | 64 ++++++++++++++++++++++++++++++-------------------
 block/blk-cgroup.c      |  4 ++--
 block/blk-map.c         |  9 +++++--
 block/blk.h             | 13 +++++++---
 block/elevator.c        |  9 +++++--
 block/error-injection.c |  7 +++---
 block/partitions/aix.c  |  9 ++++++-
 drivers/block/loop.c    | 32 +++++++++++--------------
 8 files changed, 91 insertions(+), 56 deletions(-)
Signature · 1 line
Jens Axboe
merge bot Merged
#1 lore raw
The pull request you sent on Sun, 19 Jul 2026 08:41:23 -0600:

The pull request you sent on Sun, 19 Jul 2026 08:41:23 -0600:

Quoted 1 line

https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux.git tags/block-7.2-20260717

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/980ab36ae5972c83f683b939e50c469c4947229e

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html