aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/raid1.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2012-10-11 13:32:13 +1100
committerNeilBrown <neilb@suse.de>2012-10-11 13:32:13 +1100
commit57c67df48866d57b50d72eb198ffcc0cf7a6232d (patch)
treeef0ed816c8ff324a8b7f1635f5d2727bbac2d968 /drivers/md/raid1.c
parentmd: raid 10 supports TRIM (diff)
downloadlinux-dev-57c67df48866d57b50d72eb198ffcc0cf7a6232d.tar.xz
linux-dev-57c67df48866d57b50d72eb198ffcc0cf7a6232d.zip
md/raid10: submit IO from originating thread instead of md thread.
queuing writes to the md thread means that all requests go through the one processor which may not be able to keep up with very high request rates. So use the plugging infrastructure to submit all requests on unplug. If a 'schedule' is needed, we fall back on the old approach of handing the requests to the thread for it to handle. This is nearly identical to a recent patch which provided similar functionality to RAID1. Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/md/raid1.c')
0 files changed, 0 insertions, 0 deletions