linux-stable/drivers/md
Benjamin Marzinski 32ea54b00b dm-delay: fix max_delay calculations
[ Upstream commit 64eb88d6ca ]

delay_ctr() pointlessly compared max_delay in cases where multiple delay
classes were initialized identically. Also, when write delays were
configured different than read delays, delay_ctr() never compared their
value against max_delay. Fix these issues.

Fixes: 70bbeb29fa ("dm delay: for short delays, use kthread instead of timers and wq")
Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-05-30 09:49:24 +02:00
..
bcache for-6.8/block-2024-01-08 2024-01-11 13:58:04 -08:00
persistent-data
Kconfig for-6.8/block-2024-01-08 2024-01-11 13:58:04 -08:00
Makefile md: Remove deprecated CONFIG_MD_FAULTY 2023-12-19 10:37:50 -08:00
dm-audit.c
dm-audit.h
dm-bio-prison-v1.c
dm-bio-prison-v1.h
dm-bio-prison-v2.c
dm-bio-prison-v2.h
dm-bio-record.h
dm-bufio.c dm io: Support IO priority 2024-03-26 18:17:38 -04:00
dm-builtin.c
dm-cache-background-tracker.c
dm-cache-background-tracker.h
dm-cache-block-types.h
dm-cache-metadata.c
dm-cache-metadata.h
dm-cache-policy-internal.h
dm-cache-policy-smq.c
dm-cache-policy.c
dm-cache-policy.h
dm-cache-target.c
dm-clone-metadata.c
dm-clone-metadata.h
dm-clone-target.c
dm-core.h dm: limit the number of targets and parameter size area 2024-01-30 14:05:02 -05:00
dm-crypt.c dm-crypt, dm-integrity, dm-verity: bump target version 2024-02-20 13:35:47 -05:00
dm-delay.c dm-delay: fix max_delay calculations 2024-05-30 09:49:24 +02:00
dm-dust.c
dm-ebs-target.c
dm-era-target.c
dm-exception-store.c
dm-exception-store.h
dm-flakey.c mm, treewide: rename MAX_ORDER to MAX_PAGE_ORDER 2024-01-08 15:27:15 -08:00
dm-ima.c
dm-ima.h
dm-init.c
dm-integrity.c dm integrity: fix out-of-range warning 2024-04-10 16:38:00 +02:00
dm-io-rewind.c
dm-io-tracker.h
dm-io.c dm io: Support IO priority 2024-03-26 18:17:38 -04:00
dm-ioctl.c dm: limit the number of targets and parameter size area 2024-01-30 14:05:02 -05:00
dm-kcopyd.c dm io: Support IO priority 2024-03-26 18:17:38 -04:00
dm-linear.c
dm-log-userspace-base.c
dm-log-userspace-transfer.c
dm-log-userspace-transfer.h
dm-log-writes.c
dm-log.c dm io: Support IO priority 2024-03-26 18:17:38 -04:00
dm-mpath.c
dm-mpath.h
dm-path-selector.c
dm-path-selector.h
dm-ps-historical-service-time.c
dm-ps-io-affinity.c
dm-ps-queue-length.c
dm-ps-round-robin.c
dm-ps-service-time.c
dm-raid.c dm-raid: fix lockdep waring in "pers->hot_add_disk" 2024-04-03 15:32:14 +02:00
dm-raid1.c dm io: Support IO priority 2024-03-26 18:17:38 -04:00
dm-region-hash.c
dm-rq.c
dm-rq.h
dm-snap-persistent.c dm io: Support IO priority 2024-03-26 18:17:38 -04:00
dm-snap-transient.c
dm-snap.c dm snapshot: fix lockup in dm_exception_table_exit 2024-04-03 15:32:28 +02: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-switch.c
dm-sysfs.c
dm-table.c dm: limit the number of targets and parameter size area 2024-01-30 14:05:02 -05:00
dm-target.c
dm-thin-metadata.c
dm-thin-metadata.h
dm-thin.c
dm-uevent.c
dm-uevent.h
dm-unstripe.c
dm-verity-fec.c
dm-verity-fec.h
dm-verity-loadpin.c
dm-verity-target.c dm io: Support IO priority 2024-03-26 18:17:38 -04:00
dm-verity-verify-sig.c
dm-verity-verify-sig.h
dm-verity.h dm-verity, dm-crypt: align "struct bvec_iter" correctly 2024-02-20 13:34:32 -05:00
dm-writecache.c dm io: Support IO priority 2024-03-26 18:17:38 -04:00
dm-zero.c
dm-zone.c
dm-zoned-metadata.c block: remove support for the host aware zone model 2023-12-19 20:17:43 -07:00
dm-zoned-reclaim.c
dm-zoned-target.c block: remove support for the host aware zone model 2023-12-19 20:17:43 -07:00
dm-zoned.h
dm.c dm: call the resume method on internal suspend 2024-03-26 18:16:58 -04:00
dm.h
md-autodetect.c md: Remove deprecated CONFIG_MD_LINEAR 2023-12-19 10:16:51 -08:00
md-bitmap.c md: fix resync softlockup when bitmap size is less than array size 2024-05-30 09:49:03 +02:00
md-bitmap.h
md-cluster.c
md-cluster.h
md-linear.h
md-multipath.h
md.c dm-raid456, md/raid456: fix a deadlock for dm-raid456 while io concurrent with reshape 2024-04-03 15:32:14 +02:00
md.h dm-raid456, md/raid456: fix a deadlock for dm-raid456 while io concurrent with reshape 2024-04-03 15:32:14 +02:00
raid0.c
raid0.h
raid1-10.c md: factor out a helper exceed_read_errors() to check read_errors 2023-12-15 15:22:15 -08:00
raid1.c raid1: fix use-after-free for original bio in raid1_write_request() 2024-04-17 11:23:24 +02:00
raid1.h md/raid1: record nonrot rdevs while adding/removing rdevs to conf 2024-03-26 18:16:28 -04:00
raid5-cache.c
raid5-log.h
raid5-ppl.c
raid5.c dm-raid456, md/raid456: fix a deadlock for dm-raid456 while io concurrent with reshape 2024-04-03 15:32:14 +02:00
raid5.h
raid10.c md: Don't register sync_thread for reshape directly 2024-02-15 14:17:22 -08:00
raid10.h