diff options
author | NeilBrown <neilb@suse.com> | 2017-10-17 04:46:43 +0200 |
---|---|---|
committer | Shaohua Li <shli@fb.com> | 2017-11-02 05:32:18 +0100 |
commit | 52a0d49de3d592a3118e13f35985e3d99eaf43df (patch) | |
tree | ae731c4f47a7c913873c7ec87be821b4c9b60291 /drivers/md/raid5.c | |
parent | md: always hold reconfig_mutex when calling mddev_suspend() (diff) | |
download | linux-52a0d49de3d592a3118e13f35985e3d99eaf43df.tar.xz linux-52a0d49de3d592a3118e13f35985e3d99eaf43df.zip |
md: don't call bitmap_create() while array is quiesced.
bitmap_create() allocates memory with GFP_KERNEL and
so can wait for IO.
If called while the array is quiesced, it could wait indefinitely
for write out to the array - deadlock.
So call bitmap_create() before quiescing the array.
Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: Shaohua Li <shli@fb.com>
Diffstat (limited to 'drivers/md/raid5.c')
0 files changed, 0 insertions, 0 deletions