diff options
| author | Shaohua Li <shli@fb.com> | 2016-02-24 17:41:01 -0800 |
|---|---|---|
| committer | Shaohua Li <shli@fb.com> | 2016-02-26 09:44:57 -0800 |
| commit | 70d9798b95562abac005d4ba71d28820f9a201eb (patch) | |
| tree | 4ab92bc060a79faa8363f29462cea00cbbddcf36 /scripts/stackusage | |
| parent | md: Drop sending a change uevent when stopping (diff) | |
| download | linux-70d9798b95562abac005d4ba71d28820f9a201eb.tar.gz linux-70d9798b95562abac005d4ba71d28820f9a201eb.zip | |
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 <neilb@suse.com>
Cc: Artur Paszkiewicz <artur.paszkiewicz@intel.com>
Signed-off-by: Shaohua Li <shli@fb.com>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
