Commit 4be0abf
committed
dm-table: check BLK_FEAT_ATOMIC_WRITES inside limits_lock
JIRA: https://issues.redhat.com/browse/RHEL-119008
Upstream Status: kernel/git/torvalds/linux.git
commit 85f6d5b
Author: Benjamin Marzinski <[email protected]>
Date: Fri May 30 10:50:32 2025 -0400
dm-table: check BLK_FEAT_ATOMIC_WRITES inside limits_lock
dm_set_device_limits() should check q->limits.features for
BLK_FEAT_ATOMIC_WRITES while holding q->limits_lock, like it does for
the rest of the queue limits.
Fixes: b7c18b1 ("dm-table: Set BLK_FEAT_ATOMIC_WRITES for target queue limits")
Signed-off-by: Benjamin Marzinski <[email protected]>
Signed-off-by: Mikulas Patocka <[email protected]>
Signed-off-by: Benjamin Marzinski <[email protected]>1 parent 27cb05d commit 4be0abf
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
430 | 430 | | |
431 | 431 | | |
432 | 432 | | |
| 433 | + | |
433 | 434 | | |
434 | 435 | | |
435 | 436 | | |
436 | 437 | | |
437 | 438 | | |
438 | 439 | | |
439 | | - | |
440 | 440 | | |
441 | 441 | | |
442 | 442 | | |
| |||
0 commit comments