Commit 224749b
block: Revert "block: Fix potential deadlock while freezing queue and acquiring sysfs_lock"
This reverts commit be26ba9.
Commit be26ba9 ("block: Fix potential deadlock while freezing queue and
acquiring sysfs_loc") actually reverts commit 22465bb ("blk-mq: move cpuhp
callback registering out of q->sysfs_lock"), and causes the original resctrl
lockdep warning.
So revert it and we need to fix the issue in another way.
Cc: Nilay Shroff <[email protected]>
Fixes: be26ba9 ("block: Fix potential deadlock while freezing queue and acquiring sysfs_loc")
Signed-off-by: Ming Lei <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>1 parent 51588b1 commit 224749b
3 files changed
+23
-26
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
275 | 275 | | |
276 | 276 | | |
277 | 277 | | |
278 | | - | |
279 | | - | |
| 278 | + | |
280 | 279 | | |
281 | | - | |
| 280 | + | |
282 | 281 | | |
283 | 282 | | |
284 | 283 | | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
285 | 287 | | |
286 | 288 | | |
287 | 289 | | |
| |||
290 | 292 | | |
291 | 293 | | |
292 | 294 | | |
293 | | - | |
294 | | - | |
| 295 | + | |
295 | 296 | | |
296 | | - | |
| 297 | + | |
297 | 298 | | |
298 | 299 | | |
299 | 300 | | |
300 | 301 | | |
301 | 302 | | |
302 | 303 | | |
303 | 304 | | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
304 | 308 | | |
305 | 309 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4453 | 4453 | | |
4454 | 4454 | | |
4455 | 4455 | | |
4456 | | - | |
4457 | | - | |
| 4456 | + | |
4458 | 4457 | | |
4459 | 4458 | | |
4460 | 4459 | | |
| |||
4487 | 4486 | | |
4488 | 4487 | | |
4489 | 4488 | | |
| 4489 | + | |
4490 | 4490 | | |
4491 | 4491 | | |
4492 | 4492 | | |
| |||
4518 | 4518 | | |
4519 | 4519 | | |
4520 | 4520 | | |
4521 | | - | |
4522 | | - | |
4523 | 4521 | | |
4524 | 4522 | | |
4525 | 4523 | | |
4526 | 4524 | | |
4527 | | - | |
4528 | | - | |
4529 | 4525 | | |
4530 | 4526 | | |
4531 | 4527 | | |
| |||
4544 | 4540 | | |
4545 | 4541 | | |
4546 | 4542 | | |
4547 | | - | |
4548 | 4543 | | |
4549 | 4544 | | |
4550 | 4545 | | |
| |||
4925 | 4920 | | |
4926 | 4921 | | |
4927 | 4922 | | |
4928 | | - | |
| 4923 | + | |
4929 | 4924 | | |
4930 | 4925 | | |
4931 | 4926 | | |
4932 | 4927 | | |
4933 | | - | |
| 4928 | + | |
4934 | 4929 | | |
4935 | 4930 | | |
4936 | 4931 | | |
| |||
4940 | 4935 | | |
4941 | 4936 | | |
4942 | 4937 | | |
4943 | | - | |
| 4938 | + | |
| 4939 | + | |
| 4940 | + | |
4944 | 4941 | | |
4945 | 4942 | | |
4946 | 4943 | | |
| |||
4969 | 4966 | | |
4970 | 4967 | | |
4971 | 4968 | | |
| 4969 | + | |
4972 | 4970 | | |
4973 | 4971 | | |
4974 | 4972 | | |
| 4973 | + | |
4975 | 4974 | | |
4976 | 4975 | | |
4977 | 4976 | | |
| |||
4991 | 4990 | | |
4992 | 4991 | | |
4993 | 4992 | | |
4994 | | - | |
4995 | | - | |
4996 | | - | |
| 4993 | + | |
4997 | 4994 | | |
4998 | | - | |
4999 | 4995 | | |
5000 | 4996 | | |
5001 | 4997 | | |
| |||
5051 | 5047 | | |
5052 | 5048 | | |
5053 | 5049 | | |
5054 | | - | |
| 5050 | + | |
5055 | 5051 | | |
5056 | | - | |
5057 | | - | |
5058 | | - | |
5059 | 5052 | | |
5060 | 5053 | | |
5061 | 5054 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
706 | 706 | | |
707 | 707 | | |
708 | 708 | | |
709 | | - | |
710 | 709 | | |
| 710 | + | |
711 | 711 | | |
712 | | - | |
713 | 712 | | |
| 713 | + | |
714 | 714 | | |
715 | 715 | | |
716 | 716 | | |
| |||
0 commit comments