linux/drivers/md
Linus Torvalds 61e629596f - dm-verity: various optimizations and fixes related to forward error
correction
 
 - dm-verity: add a .dm-verity keyring
 
 - dm-integrity: fix bugs with growing a device in bitmap mode
 
 - dm-mpath: fix leaking fake timeout requests, a UAF bug caused by stale
   rq->bio and minor bugs in device creation
 
 - dm-core: fix a bug related to blkg association, avoid unnecessary
   blk-crypto work on invalid keys
 
 - dm-bufio: dm-bufio cleanup and optimization (reducing hash table
   lookups)
 
 - various other minor fixes and cleanups
 -----BEGIN PGP SIGNATURE-----
 
 iIoEABYIADIWIQRnH8MwLyZDhyYfesYTAyx9YGnhbQUCaYsfghQcbXBhdG9ja2FA
 cmVkaGF0LmNvbQAKCRATAyx9YGnhbcwnAP9Ny3YqC63GI5qH2cd8N42zRQ8P4sN+
 k4cz1XtrstoA4wEA/357lutlowGgUoHUkVRKK03AcGnbcVJk0yMyRDo/0gs=
 =wvTt
 -----END PGP SIGNATURE-----

Merge tag 'for-7.0/dm-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm

Pull device mapper updates from Mikulas Patocka:

 - dm-verity:
     - various optimizations and fixes related to forward error correction
     - add a .dm-verity keyring

 - dm-integrity: fix bugs with growing a device in bitmap mode

 - dm-mpath:
     - fix leaking fake timeout requests
     - fix UAF bug caused by stale rq->bio
     - fix minor bugs in device creation

 - dm-core:
     - fix a bug related to blkg association
     - avoid unnecessary blk-crypto work on invalid keys

 - dm-bufio:
     - dm-bufio cleanup and optimization (reducing hash table lookups)

 - various other minor fixes and cleanups

* tag 'for-7.0/dm-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm: (35 commits)
  dm mpath: make pg_init_delay_msecs settable
  Revert "dm: fix a race condition in retrieve_deps"
  dm mpath: Add missing dm_put_device when failing to get scsi dh name
  dm vdo encodings: clean up header and version functions
  dm: use bio_clone_blkg_association
  dm: fix excessive blk-crypto operations for invalid keys
  dm-verity: fix section mismatch error
  dm-unstripe: fix mapping bug when there are multiple targets in a table
  dm-integrity: fix recalculation in bitmap mode
  dm-bufio: avoid redundant buffer_tree lookups
  dm-bufio: merge cache_put() into cache_put_and_wake()
  selftests: add dm-verity keyring selftests
  dm-verity: add dm-verity keyring
  dm: clear cloned request bio pointer when last clone bio completes
  dm-verity: fix up various workqueue-related comments
  dm-verity: switch to bio_advance_iter_single()
  dm-verity: consolidate the BH and normal work structs
  dm: add WQ_PERCPU to alloc_workqueue users
  dm-integrity: fix a typo in the code for write/discard race
  dm: use READ_ONCE in dm_blk_report_zones
  ...
2026-02-11 17:04:21 -08:00
..
bcache bcache: fix I/O accounting leak in detached_dev_do_request 2026-01-28 19:06:55 -07:00
dm-pcache small dm code refactoring 2025-12-11 12:13:29 +09:00
dm-vdo dm vdo encodings: clean up header and version functions 2026-01-27 17:00:25 +01:00
persistent-data lib/crc: remove CONFIG_LIBCRC32C 2025-04-04 11:31:42 -07:00
dm-audit.c
dm-audit.h
dm-bio-prison-v1.c dm cache: Remove unused functions in bio-prison-v1 2024-11-20 11:38:04 +01:00
dm-bio-prison-v1.h dm cache: Remove unused functions in bio-prison-v1 2024-11-20 11:38:04 +01:00
dm-bio-prison-v2.c dm: use bio_list_merge_init 2024-04-01 11:53:37 -06:00
dm-bio-prison-v2.h
dm-bio-record.h
dm-bufio.c dm-bufio: avoid redundant buffer_tree lookups 2026-01-19 15:39:21 +01:00
dm-builtin.c
dm-cache-background-tracker.c dm cache: Remove unused btracker_nr_writebacks_queued 2024-11-20 11:38:04 +01:00
dm-cache-background-tracker.h dm cache: Remove unused btracker_nr_writebacks_queued 2024-11-20 11:38:04 +01:00
dm-cache-block-types.h
dm-cache-metadata.c dm cache: Remove unused dm_cache_size 2024-11-20 11:38:04 +01:00
dm-cache-metadata.h dm cache: Remove unused dm_cache_size 2024-11-20 11:38:04 +01:00
dm-cache-policy-internal.h
dm-cache-policy-smq.c dm: use vmalloc_array() to simplify code 2025-08-19 11:12:50 +02:00
dm-cache-policy.c
dm-cache-policy.h
dm-cache-target.c dm: add WQ_PERCPU to alloc_workqueue users 2026-01-14 13:16:00 +01:00
dm-clone-metadata.c dm: Make use of __assign_bit() API 2024-09-02 16:53:53 +02:00
dm-clone-metadata.h
dm-clone-target.c dm: add WQ_PERCPU to alloc_workqueue users 2026-01-14 13:16:00 +01:00
dm-core.h Revert "dm: fix a race condition in retrieve_deps" 2026-01-28 15:44:02 +01:00
dm-crypt.c dm: add WQ_PERCPU to alloc_workqueue users 2026-01-14 13:16:00 +01:00
dm-delay.c dm: add WQ_PERCPU to alloc_workqueue users 2026-01-14 13:16:00 +01:00
dm-dust.c dm: Allow .prepare_ioctl to handle ioctls directly 2025-05-04 11:35:05 +02:00
dm-ebs-target.c dm-ebs: Mark full buffer dirty even on partial write 2025-11-18 18:24:26 +01:00
dm-era-target.c dm: Constify struct dm_block_validator 2024-07-19 12:08:15 +02:00
dm-exception-store.c dm: replace -EEXIST with -EBUSY 2026-01-02 15:13:56 +01:00
dm-exception-store.h dm-snapshot: fix 'scheduling while atomic' on real-time kernels 2025-12-10 19:28:22 +01:00
dm-flakey.c block: add a bio_init_inline helper 2025-09-09 07:31:59 -06:00
dm-ima.c dm-ima: drop a useless argument 2025-08-19 11:12:50 +02:00
dm-ima.h
dm-init.c dm init: Handle minors larger than 255 2024-07-02 20:53:41 +02:00
dm-integrity.c dm-integrity: fix recalculation in bitmap mode 2026-01-19 16:16:53 +01:00
dm-io-rewind.c
dm-io-tracker.h
dm-io.c dm-io: Warn on creating multiple atomic write bios for a region 2025-01-17 22:24:09 +01:00
dm-ioctl.c Revert "dm: fix a race condition in retrieve_deps" 2026-01-28 15:44:02 +01:00
dm-kcopyd.c dm: add WQ_PERCPU to alloc_workqueue users 2026-01-14 13:16:00 +01:00
dm-linear.c mm: remove callers of pfn_t functionality 2025-07-09 22:42:19 -07:00
dm-log-userspace-base.c dm: add WQ_PERCPU to alloc_workqueue users 2026-01-14 13:16:00 +01:00
dm-log-userspace-transfer.c
dm-log-userspace-transfer.h
dm-log-writes.c dm log-writes: Add missing set_freezable() for freezable kthread 2025-12-10 19:28:22 +01:00
dm-log.c dm: replace -EEXIST with -EBUSY 2026-01-02 15:13:56 +01:00
dm-mpath.c dm mpath: make pg_init_delay_msecs settable 2026-01-28 15:45:34 +01:00
dm-mpath.h
dm-path-selector.c dm: replace -EEXIST with -EBUSY 2026-01-02 15:13:56 +01:00
dm-path-selector.h dm-mpath: make dm_unregister_path_selector return void 2025-06-30 16:20:04 +02:00
dm-ps-historical-service-time.c dm-mpath: don't print the "loaded" message if registering fails 2025-06-30 16:20:17 +02:00
dm-ps-io-affinity.c dm-mpath: make dm_unregister_path_selector return void 2025-06-30 16:20:04 +02:00
dm-ps-queue-length.c dm-mpath: don't print the "loaded" message if registering fails 2025-06-30 16:20:17 +02:00
dm-ps-round-robin.c dm-mpath: don't print the "loaded" message if registering fails 2025-06-30 16:20:17 +02:00
dm-ps-service-time.c dm-mpath: don't print the "loaded" message if registering fails 2025-06-30 16:20:17 +02:00
dm-raid.c dm-raid: fix possible NULL dereference with undefined raid type 2025-12-10 19:28:22 +01:00
dm-raid1.c dm: add WQ_PERCPU to alloc_workqueue users 2026-01-14 13:16:00 +01:00
dm-region-hash.c dm: use vmalloc_array() to simplify code 2025-08-19 11:12:50 +02:00
dm-rq.c - dm-verity: various optimizations and fixes related to forward error 2026-02-11 17:04:21 -08:00
dm-rq.h
dm-snap-persistent.c dm: add WQ_PERCPU to alloc_workqueue users 2026-01-14 13:16:00 +01:00
dm-snap-transient.c
dm-snap.c dm-snapshot: fix 'scheduling while atomic' on real-time kernels 2025-12-10 19:28:22 +01:00
dm-stats.c dm stats: limit the number of entries 2024-01-30 14:06:44 -05:00
dm-stats.h
dm-stripe.c dm: add WQ_PERCPU to alloc_workqueue users 2026-01-14 13:16:00 +01:00
dm-switch.c dm: use vmalloc_array() to simplify code 2025-08-19 11:12:50 +02:00
dm-sysfs.c dm: sysfs: use sysfs_emit() in dm-sysfs.c 2025-10-20 15:22:21 +02:00
dm-table.c Revert "dm: fix a race condition in retrieve_deps" 2026-01-28 15:44:02 +01:00
dm-target.c dm: replace -EEXIST with -EBUSY 2026-01-02 15:13:56 +01:00
dm-thin-metadata.c dm: Constify struct dm_block_validator 2024-07-19 12:08:15 +02:00
dm-thin-metadata.h
dm-thin.c dm: ignore discard return value 2025-12-10 19:28:22 +01:00
dm-uevent.c
dm-uevent.h
dm-unstripe.c dm-unstripe: fix mapping bug when there are multiple targets in a table 2026-01-19 18:12:10 +01:00
dm-verity-fec.c dm-verity: correctly handle dm_bufio_client_create() failure 2026-01-04 20:35:32 +01:00
dm-verity-fec.h dm-verity: make verity_fec_is_enabled() an inline function 2026-01-04 20:35:32 +01:00
dm-verity-loadpin.c
dm-verity-target.c dm-verity: add dm-verity keyring 2026-01-19 15:21:10 +01:00
dm-verity-verify-sig.c dm-verity: fix section mismatch error 2026-01-21 14:06:23 +01:00
dm-verity-verify-sig.h dm-verity: fix section mismatch error 2026-01-21 14:06:23 +01:00
dm-verity.h dm-verity: consolidate the BH and normal work structs 2026-01-14 13:18:08 +01:00
dm-writecache.c dm: add WQ_PERCPU to alloc_workqueue users 2026-01-14 13:16:00 +01:00
dm-zero.c dm: always manage discard support in terms of max_hw_discard_sectors 2024-05-20 15:51:19 -04:00
dm-zone.c dm: use READ_ONCE in dm_blk_report_zones 2026-01-14 13:12:21 +01:00
dm-zoned-metadata.c dm: zoned: Remove unused functions 2024-11-20 11:38:04 +01:00
dm-zoned-reclaim.c dm: Fix dm-zoned-reclaim zone write pointer alignment 2024-12-10 09:15:33 -07:00
dm-zoned-target.c md: dm-zoned-target: Initialize return variable r to avoid uninitialized use 2025-07-31 15:39:55 +02:00
dm-zoned.h dm: zoned: Remove unused functions 2024-11-20 11:38:04 +01:00
dm.c dm: use bio_clone_blkg_association 2026-01-26 15:36:22 +01:00
dm.h block: introduce disk_report_zone() 2025-11-05 08:07:21 -07:00
Kconfig dm-verity: allow REED_SOLOMON to be 'm' if DM_VERITY is 'm' 2026-01-04 20:35:32 +01:00
Makefile dm docs: fix typos 2025-10-03 18:48:02 -07:00
md-autodetect.c md: reintroduce md-linear 2025-01-13 07:36:29 -08:00
md-bitmap.c md/bitmap: fix GPF in write_page caused by resize race 2026-01-26 13:36:06 +08:00
md-bitmap.h md/md-llbitmap: introduce new lockless bitmap 2025-09-06 17:27:51 +08:00
md-cluster.c md-cluster: fix NULL pointer dereference in process_metadata_update 2026-01-26 13:36:08 +08:00
md-cluster.h md: switch md-cluster to use md_submodle_head 2025-03-05 00:28:39 +08:00
md-linear.c md: allow configuring logical block size 2025-11-11 11:20:15 +08:00
md-llbitmap.c md/md-llbitmap: fix percpu_ref not resurrected on suspend timeout 2026-01-26 13:25:31 +08:00
md.c - dm-verity: various optimizations and fixes related to forward error 2026-02-11 17:04:21 -08:00
md.h md: fix return value of mddev_trylock 2026-02-02 15:39:55 +08:00
raid0.c md: merge mddev serialize_policy into mddev_flags 2026-01-26 13:10:51 +08:00
raid0.h
raid1-10.c md/raid5: use mempool to allocate stripe_request_ctx 2026-01-26 13:11:29 +08:00
raid1.c md/raid1: fix memory leak in raid1_run() 2026-02-02 15:35:03 +08:00
raid1.h md: remove recovery_disabled 2026-01-26 13:17:38 +08:00
raid5-cache.c md/raid5: remove redundant __GFP_NOWARN 2025-11-08 17:49:36 +08:00
raid5-log.h
raid5-ppl.c md: rename recovery_cp to resync_offset 2025-07-31 01:26:04 +08:00
raid5.c md/raid5: fix IO hang with degraded array with llbitmap 2026-01-26 13:18:59 +08:00
raid5.h md: remove recovery_disabled 2026-01-26 13:17:38 +08:00
raid10.c md: remove recovery_disabled 2026-01-26 13:17:38 +08:00
raid10.h md: remove recovery_disabled 2026-01-26 13:17:38 +08:00