Commit d419284
md/raid10: don't wait for Faulty rdev in wait_blocked_rdev()
Faulty rdev should never be accessed anymore, hence there is no point to
wait for bad block to be acknowledged in this case while handling write
request.
Signed-off-by: Yu Kuai <[email protected]>
Tested-by: Mariusz Tkaczyk <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Song Liu <[email protected]>1 parent ff31a7e commit d419284
1 file changed
+18
-22
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1285 | 1285 | | |
1286 | 1286 | | |
1287 | 1287 | | |
1288 | | - | |
1289 | 1288 | | |
1290 | 1289 | | |
| 1290 | + | |
1291 | 1291 | | |
1292 | 1292 | | |
1293 | 1293 | | |
1294 | 1294 | | |
1295 | 1295 | | |
1296 | 1296 | | |
1297 | 1297 | | |
1298 | | - | |
1299 | | - | |
1300 | | - | |
1301 | | - | |
1302 | | - | |
1303 | | - | |
1304 | | - | |
1305 | | - | |
1306 | | - | |
1307 | | - | |
1308 | | - | |
1309 | | - | |
1310 | | - | |
| 1298 | + | |
1311 | 1299 | | |
1312 | 1300 | | |
1313 | 1301 | | |
1314 | 1302 | | |
1315 | 1303 | | |
1316 | 1304 | | |
1317 | | - | |
1318 | | - | |
1319 | | - | |
1320 | | - | |
1321 | | - | |
| 1305 | + | |
| 1306 | + | |
| 1307 | + | |
| 1308 | + | |
1322 | 1309 | | |
1323 | | - | |
1324 | | - | |
| 1310 | + | |
| 1311 | + | |
1325 | 1312 | | |
1326 | | - | |
1327 | 1313 | | |
| 1314 | + | |
| 1315 | + | |
1328 | 1316 | | |
| 1317 | + | |
1329 | 1318 | | |
1330 | 1319 | | |
1331 | 1320 | | |
| 1321 | + | |
| 1322 | + | |
| 1323 | + | |
| 1324 | + | |
| 1325 | + | |
| 1326 | + | |
| 1327 | + | |
1332 | 1328 | | |
1333 | 1329 | | |
1334 | 1330 | | |
| |||
0 commit comments