Skip to content
Commit f54a9d0e authored by NeilBrown's avatar NeilBrown
Browse files

md/raid1: 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.

Signed-off-by: default avatarNeilBrown <neilb@suse.de>
parent 46a06401
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment