Commit 98c47d0
committed
md/raid*: Fix the set_queue_limits implementations
JIRA: https://issues.redhat.com/browse/RHEL-73721
commit fbe8f2f
Author: Bart Van Assche <bvanassche@acm.org>
Date: Wed Feb 12 09:11:07 2025 -0800
md/raid*: Fix the set_queue_limits implementations
queue_limits_cancel_update() must only be called if
queue_limits_start_update() is called first. Remove the
queue_limits_cancel_update() calls from the raid*_set_limits() functions
because there is no corresponding queue_limits_start_update() call.
Cc: Christoph Hellwig <hch@lst.de>
Fixes: c6e56cf ("block: move integrity information into queue_limits")
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/linux-raid/20250212171108.3483150-1-bvanassche@acm.org/
Signed-off-by: Yu Kuai <yukuai@kernel.org>
(cherry picked from commit fbe8f2f)
Signed-off-by: Nigel Croxon <ncroxon@redhat.com>1 parent 00441be commit 98c47d0
3 files changed
+3
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
386 | 386 | | |
387 | 387 | | |
388 | 388 | | |
389 | | - | |
390 | | - | |
| 389 | + | |
391 | 390 | | |
392 | | - | |
393 | 391 | | |
394 | 392 | | |
395 | 393 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3219 | 3219 | | |
3220 | 3220 | | |
3221 | 3221 | | |
3222 | | - | |
3223 | | - | |
| 3222 | + | |
3224 | 3223 | | |
3225 | | - | |
3226 | 3224 | | |
3227 | 3225 | | |
3228 | 3226 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4020 | 4020 | | |
4021 | 4021 | | |
4022 | 4022 | | |
4023 | | - | |
4024 | | - | |
| 4023 | + | |
4025 | 4024 | | |
4026 | | - | |
4027 | 4025 | | |
4028 | 4026 | | |
4029 | 4027 | | |
| |||
0 commit comments