Linux block layer
 help / color / mirror / Atom feed
* [GIT PULL] block fixes for 7.2-rc1
@ 2026-06-25 12:12 Jens Axboe
  0 siblings, 0 replies; only message in thread
From: Jens Axboe @ 2026-06-25 12:12 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-block@vger.kernel.org

Hi Linus,

A set of changes queued up after the initial merge window PR, and fixes
etc that came in during the merge window. This pull request contains:

- blk-cgroup locking rework and fixes: fix a use-after-free in
  __blkcg_rstat_flush(), defer freeing policy data until after an RCU
  grace period, defer the blkcg css_put until the blkg is unlinked from
  the queue, and a series unwinding the queue_lock nesting under RCU /
  blkcg->lock across the lookup, create, associate and destroy paths.

- NVMe fixes via Keith:
	- Fix a crash and memory leak during invalid cdev teardown, and
	  related cdev cleanups (Maurizio, John)
	- nvmet fixes: handle TCP_CLOSING in the tcp state_change
	  handler, reject short AUTH_RECEIVE buffers, handle inline data
	  with a nonzero offset in rdma, fix an sq refcount leak, and
	  allocate ana_state with the port
	  (Maurizio, Michael, Bryam, Wentao, Rosen)
	- nvme-fc fix to not cancel requests on an IO target before it is
	  initialized (Mohamed)
	- nvme-apple fix to prevent shared tags across queues on Apple A11
	  (Nick)
	- Various smaller fixes and cleanups (John)

- MD fixes via Yu Kuai:
	- raid1/raid10 fixes for writes_pending and barrier reference
	  leaks on write and discard failures, plus REQ_NOWAIT handling
	  fixes (Abd-Alrhman)
	- raid5 discard accounting and validation, and a batch of fixes
	  for stripe batch races (Yu Kuai, Chen)
	- Protect raid1 head_position during read balancing (Chen)

- block bio-integrity fixes: correct an error injection static key
  decrement, fix GFP flag confusion in bio_integrity_alloc_buf(), and
  handle REQ_OP_ZONE_APPEND in __bio_integrity_action() (Christoph)

- Fixes for bio_iov_iter_bounce_write(): revert the iov_iter after a
  short copy, and respect the iov_iter nofault flag (Qu)

- Invalidate the cached plug timestamp after a task switch, and clear
  PF_BLOCK_TS in copy_process() (Usama)

- Fix the IORING_URING_CMD_REISSUE flags check in blkdev_uring_cmd()
  (Yitang)

- Remove a redundant plug in __submit_bio() (Wen)

- Don't warn when reclassifying a busy socket lock in nbd (Deepanshu)

Please pull!


The following changes since commit 6b5a2b7d9bc156e505f09e698d85d6a1547c1206:

  Merge tag 'trace-tools-v7.2' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace (2026-06-16 17:50:34 +0530)

are available in the Git repository at:

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

for you to fetch changes up to a1c8bdbbd72564cebb0d02948c1ed57b80b2e773:

  block: handle REQ_OP_ZONE_APPEND in __bio_integrity_action (2026-06-24 06:53:25 -0600)

----------------------------------------------------------------
Abd-Alrhman Masalkhi (6):
      md/raid1: fix writes_pending and barrier reference leaks on write failures
      md/raid10: fix writes_pending leak on write request failures
      md/raid10: fix writes_pending and barrier reference leaks on discard failures
      md/raid1: simplify raid1_write_request() error handling
      md/raid1: honor REQ_NOWAIT when waiting for behind writes
      md/raid1: free r1_bio when REQ_NOWAIT is set and read would block on retry

Bryam Vargas (1):
      nvmet-rdma: handle inline data with a nonzero offset

Cen Zhang (1):
      block, bfq: protect async queue reset with blkcg locks

Chen Cheng (4):
      md/raid1: protect head_position for read balance
      md/raid5: let stripe batch bm_seq comparison wrap-safe
      md/raid5: use stripe state snapshot in break_stripe_batch_list()
      md/raid5: avoid R5_Overlap races while breaking stripe batches

Christoph Hellwig (3):
      block: fix incorrect error injection static key decrement
      block: fix GFP_ flags confusion in bio_integrity_alloc_buf
      block: handle REQ_OP_ZONE_APPEND in __bio_integrity_action

Deepanshu Kartikey (1):
      nbd: don't warn when reclassifying a busy socket lock

Jens Axboe (2):
      Merge tag 'nvme-7.2-2026-06-23' of git://git.infradead.org/nvme into block-7.2
      Merge branch 'md-7.2' of https://git.kernel.org/pub/scm/linux/kernel/git/mdraid/linux into block-7.2

John Garry (3):
      nvme: quieten sparse warning in valid LBA size check
      nvme: make some sysfs diagnostic structures static
      nvme: make nvme_add_ns{_head}_cdev return void

Maurizio Lombardi (2):
      nvme: fix crash and memory leak during invalid cdev teardown
      nvmet-tcp: handle TCP_CLOSING state in nvmet_tcp_state_change

Michael Bommarito (1):
      nvmet-auth: reject short AUTH_RECEIVE buffers

Michal Koutný (1):
      blk-cgroup: fix UAF in __blkcg_rstat_flush()

Mohamed Khalfella (1):
      nvme-fc: Do not cancel requests in io target before it is initialized

Nick Chan (1):
      nvme-apple: Prevent shared tags across queues on Apple A11

Qu Wenruo (2):
      block: revert the iov_iter after a short copy in bio_iov_iter_bounce_write()
      block: respect iov_iter::nofault flag in bio_iov_iter_bounce_write()

Rosen Penev (1):
      nvme: target: allocate ana_state with port

Usama Arif (2):
      kernel/fork: clear PF_BLOCK_TS in copy_process()
      block: invalidate cached plug timestamp after task switch

Wen Xiong (1):
      block: Remove redundant plug in __submit_bio()

Wentao Liang (1):
      nvmet: fix refcount leak in nvmet_sq_create()

Yitang Yang (1):
      block: fix IORING_URING_CMD_REISSUE flags check in blkdev_uring_cmd

Yu Kuai (11):
      md/raid5: account discard IO
      md/raid5: validate discard support at request time
      md/raid5: always convert llbitmap bits for discard
      blk-cgroup: protect iterating blkgs with blkcg->lock in blkcg_print_stat()
      blk-cgroup: delay freeing policy data after rcu grace period
      blk-cgroup: don't nest queue_lock under rcu in blkcg_print_blkgs()
      blk-cgroup: don't nest queue_lock under rcu in blkg_lookup_create()
      blk-cgroup: don't nest queue_lock under rcu in bio_associate_blkg()
      blk-cgroup: don't nest queue_lock under blkcg->lock in blkcg_destroy_blkgs()
      mm/page_io: don't nest queue_lock under rcu in bio_associate_blkg_from_page()
      block, bfq: don't grab queue_lock to initialize bfq

Zizhi Wo (1):
      blk-cgroup: defer blkcg css_put until blkg is unlinked from queue

 block/bfq-cgroup.c                     |  30 ++++-
 block/bfq-iosched.c                    |   8 +-
 block/bio-integrity-auto.c             |   2 +-
 block/bio-integrity-fs.c               |   4 +-
 block/bio-integrity.c                  |   9 +-
 block/bio.c                            |  21 +++-
 block/blk-cgroup-rwstat.c              |  15 ++-
 block/blk-cgroup.c                     | 196 +++++++++++++++++++--------------
 block/blk-cgroup.h                     |   8 +-
 block/blk-core.c                       |   7 --
 block/blk-iocost.c                     |  22 +++-
 block/blk-iolatency.c                  |  10 +-
 block/blk-throttle.c                   |  13 ++-
 block/error-injection.c                |   4 +-
 block/ioctl.c                          |   2 +-
 drivers/block/nbd.c                    |   2 +-
 drivers/md/md-bitmap.c                 |   9 +-
 drivers/md/md-bitmap.h                 |   2 +-
 drivers/md/md-llbitmap.c               |  13 ++-
 drivers/md/md.c                        |   2 +-
 drivers/md/raid1.c                     |  99 ++++++++++-------
 drivers/md/raid10.c                    |  28 +++--
 drivers/md/raid5.c                     | 131 +++++++++++++---------
 drivers/md/raid5.h                     |   1 +
 drivers/nvme/host/apple.c              |  12 +-
 drivers/nvme/host/core.c               |  45 +++++---
 drivers/nvme/host/fc.c                 |   7 +-
 drivers/nvme/host/multipath.c          |  24 ++--
 drivers/nvme/host/nvme.h               |   5 +-
 drivers/nvme/host/sysfs.c              |   6 +-
 drivers/nvme/target/configfs.c         |   9 +-
 drivers/nvme/target/core.c             |   2 +-
 drivers/nvme/target/fabrics-cmd-auth.c |  26 ++++-
 drivers/nvme/target/nvmet.h            |   2 +-
 drivers/nvme/target/rdma.c             |  18 +--
 drivers/nvme/target/tcp.c              |   1 +
 include/linux/bio-integrity.h          |   2 +-
 include/linux/blkdev.h                 |  16 +--
 kernel/fork.c                          |   1 +
 kernel/sched/core.c                    |  12 +-
 mm/page_io.c                           |   7 +-
 41 files changed, 518 insertions(+), 315 deletions(-)

-- 
Jens Axboe


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-25 12:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-25 12:12 [GIT PULL] block fixes for 7.2-rc1 Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox