Commit 8e0ef41
dm: use queue_limits_set
Use queue_limits_set which validates the limits and takes care of
updating the readahead settings instead of directly assigning them to
the queue. For that make sure all limits are actually updated before
the assignment.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Mike Snitzer <snitzer@kernel.org>
Link: https://lore.kernel.org/r/20240228225653.947152-4-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>1 parent c1373f1 commit 8e0ef41
2 files changed
+13
-16
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
267 | 267 | | |
268 | 268 | | |
269 | 269 | | |
270 | | - | |
| 270 | + | |
271 | 271 | | |
272 | 272 | | |
273 | 273 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1963 | 1963 | | |
1964 | 1964 | | |
1965 | 1965 | | |
1966 | | - | |
1967 | | - | |
1968 | | - | |
1969 | | - | |
1970 | | - | |
1971 | 1966 | | |
1972 | 1967 | | |
1973 | 1968 | | |
1974 | 1969 | | |
1975 | 1970 | | |
1976 | 1971 | | |
1977 | | - | |
1978 | | - | |
1979 | | - | |
1980 | | - | |
1981 | | - | |
| 1972 | + | |
| 1973 | + | |
| 1974 | + | |
| 1975 | + | |
1982 | 1976 | | |
1983 | 1977 | | |
| 1978 | + | |
| 1979 | + | |
| 1980 | + | |
1984 | 1981 | | |
1985 | | - | |
| 1982 | + | |
| 1983 | + | |
| 1984 | + | |
| 1985 | + | |
| 1986 | + | |
1986 | 1987 | | |
1987 | 1988 | | |
1988 | 1989 | | |
| |||
2007 | 2008 | | |
2008 | 2009 | | |
2009 | 2010 | | |
2010 | | - | |
2011 | | - | |
2012 | | - | |
2013 | 2011 | | |
2014 | 2012 | | |
2015 | 2013 | | |
| |||
2047 | 2045 | | |
2048 | 2046 | | |
2049 | 2047 | | |
2050 | | - | |
2051 | 2048 | | |
2052 | 2049 | | |
2053 | 2050 | | |
| |||
0 commit comments