aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorShaohua Li <[email protected]>2016-02-24 17:41:01 -0800
committerShaohua Li <[email protected]>2016-02-26 09:44:57 -0800
commit70d9798b95562abac005d4ba71d28820f9a201eb (patch)
tree4ab92bc060a79faa8363f29462cea00cbbddcf36 /tools/perf/scripts/python
parent399146b80ed6fb9f1ebe5a07234f00dff446d2b4 (diff)
MD: warn for potential deadlock
The personality thread shouldn't call mddev_suspend(). Because mddev_suspend() will for all IO finish, but IO is handled in personality thread, so this could cause deadlock. To trigger this early, add a warning if mddev_suspend() is called from personality thread. Suggested-by: NeilBrown <[email protected]> Cc: Artur Paszkiewicz <[email protected]> Signed-off-by: Shaohua Li <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions