commit | 52a0d49de3d592a3118e13f35985e3d99eaf43df | [log] [tgz] |
---|---|---|
author | NeilBrown <neilb@suse.com> | Tue Oct 17 13:46:43 2017 +1100 |
committer | Shaohua Li <shli@fb.com> | Wed Nov 01 21:32:18 2017 -0700 |
tree | ae731c4f47a7c913873c7ec87be821b4c9b60291 | |
parent | 4d5324f760aacaefeb721b172aa14bf66045c332 [diff] |
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>