aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/raid5.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.com>2017-10-17 13:46:43 +1100
committerShaohua Li <shli@fb.com>2017-11-01 21:32:18 -0700
commit52a0d49de3d592a3118e13f35985e3d99eaf43df (patch)
treeae731c4f47a7c913873c7ec87be821b4c9b60291 /drivers/md/raid5.c
parentmd: always hold reconfig_mutex when calling mddev_suspend() (diff)
downloadlinux-dev-52a0d49de3d592a3118e13f35985e3d99eaf43df.tar.xz
linux-dev-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