Commit 97894f7
md/raid1: use the atomic queue limit update APIs
Build the queue limits outside the queue and apply them using
queue_limits_set. To make the code more obvious also split the queue
limits handling into a separate helper function.
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed--by: Song Liu <[email protected]>
Tested-by: Song Liu <[email protected]>
Signed-off-by: Song Liu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]1 parent 56cf22d commit 97894f7
1 file changed
+16
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1926 | 1926 | | |
1927 | 1927 | | |
1928 | 1928 | | |
1929 | | - | |
1930 | | - | |
1931 | | - | |
| 1929 | + | |
| 1930 | + | |
| 1931 | + | |
1932 | 1932 | | |
1933 | 1933 | | |
1934 | | - | |
1935 | 1934 | | |
1936 | 1935 | | |
1937 | 1936 | | |
| |||
3195 | 3194 | | |
3196 | 3195 | | |
3197 | 3196 | | |
| 3197 | + | |
| 3198 | + | |
| 3199 | + | |
| 3200 | + | |
| 3201 | + | |
| 3202 | + | |
| 3203 | + | |
| 3204 | + | |
| 3205 | + | |
| 3206 | + | |
3198 | 3207 | | |
3199 | 3208 | | |
3200 | 3209 | | |
3201 | 3210 | | |
3202 | 3211 | | |
3203 | | - | |
3204 | 3212 | | |
3205 | 3213 | | |
3206 | 3214 | | |
| |||
3228 | 3236 | | |
3229 | 3237 | | |
3230 | 3238 | | |
3231 | | - | |
3232 | | - | |
3233 | | - | |
3234 | | - | |
| 3239 | + | |
| 3240 | + | |
| 3241 | + | |
3235 | 3242 | | |
3236 | 3243 | | |
3237 | 3244 | | |
| |||
0 commit comments