Commit 33eded2
dm: provide helper to set stacked limits
There are multiple device mappers that set up their stacking limits
exactly the same for the logical, physical and minimum IO queue limits.
Provide a helper for it.
Signed-off-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>1 parent cbc1532 commit 33eded2
5 files changed
Lines changed: 11 additions & 27 deletions
File tree
- drivers/md
- include/linux
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3684 | 3684 | | |
3685 | 3685 | | |
3686 | 3686 | | |
3687 | | - | |
3688 | | - | |
3689 | | - | |
3690 | | - | |
3691 | | - | |
| 3687 | + | |
3692 | 3688 | | |
3693 | 3689 | | |
3694 | 3690 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4046 | 4046 | | |
4047 | 4047 | | |
4048 | 4048 | | |
4049 | | - | |
4050 | | - | |
4051 | | - | |
4052 | | - | |
4053 | | - | |
4054 | | - | |
| 4049 | + | |
4055 | 4050 | | |
4056 | 4051 | | |
4057 | 4052 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1011 | 1011 | | |
1012 | 1012 | | |
1013 | 1013 | | |
1014 | | - | |
1015 | | - | |
1016 | | - | |
1017 | | - | |
1018 | | - | |
1019 | | - | |
1020 | | - | |
| 1014 | + | |
1021 | 1015 | | |
1022 | 1016 | | |
1023 | 1017 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1640 | 1640 | | |
1641 | 1641 | | |
1642 | 1642 | | |
1643 | | - | |
1644 | | - | |
1645 | | - | |
1646 | | - | |
1647 | | - | |
1648 | | - | |
1649 | | - | |
1650 | | - | |
| 1643 | + | |
1651 | 1644 | | |
1652 | 1645 | | |
1653 | | - | |
1654 | 1646 | | |
1655 | 1647 | | |
1656 | 1648 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
755 | 755 | | |
756 | 756 | | |
757 | 757 | | |
| 758 | + | |
| 759 | + | |
| 760 | + | |
| 761 | + | |
| 762 | + | |
| 763 | + | |
| 764 | + | |
758 | 765 | | |
0 commit comments