summaryrefslogtreecommitdiffstats
path: root/drivers/md/md.h
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2010-10-26 08:41:22 +0200
committerNeilBrown <neilb@suse.de>2010-10-28 08:36:09 +0200
commit1c4588e9c19cae6209a28c9da2f16a18a610b935 (patch)
tree74ffb14a5586c3a297b0fd372be5b72cf7e53bcd /drivers/md/md.h
parentmd: use bio_kmalloc rather than bio_alloc when failure is acceptable. (diff)
downloadlinux-1c4588e9c19cae6209a28c9da2f16a18a610b935.tar.xz
linux-1c4588e9c19cae6209a28c9da2f16a18a610b935.zip
md/raid1: perform mem allocation before disabling writes during resync.
Though this mem alloc is GFP_NOIO an so will not deadlock, it seems better to do the allocation before 'raise_barrier' which stops any IO requests while the resync proceeds. raid10 always uses this order, so it is at least consistent to do the same in raid1. Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/md/md.h')
0 files changed, 0 insertions, 0 deletions