NeilBrown 050b66152f md/raid10: handle merge_bvec_fn in member devices.
Currently we don't honour merge_bvec_fn in member devices so if there
is one, we force all requests to be single-page at most.
This is not ideal.

So enhance the raid10 merge_bvec_fn to check that function in children
as well.

This introduces a small problem.  There is no locking around calls
the ->merge_bvec_fn and subsequent calls to ->make_request.  So a
device added between these could end up getting a request which
violates its merge_bvec_fn.

Currently the best we can do is synchronize_sched().  This will work
providing no preemption happens.  If there is preemption, we just
have to hope that new devices are largely consistent with old devices.

Signed-off-by: NeilBrown <neilb@suse.de>
2012-03-19 12:46:39 +11:00
..
2012-03-19 12:46:39 +11:00
2011-10-31 20:19:09 +00:00
2012-03-07 19:09:37 +00:00
2011-08-02 12:32:02 +01:00
2011-07-26 16:49:47 -07:00
2012-03-19 12:46:39 +11:00
2011-03-31 11:26:23 -03:00
2011-03-24 13:54:35 +00:00
2011-10-31 20:21:18 +00:00
2007-10-20 02:01:26 +01:00
2010-08-12 04:14:12 +01:00
2012-01-03 22:54:07 -05:00
2011-10-31 20:19:04 +00:00
2012-03-19 12:46:39 +11:00
2011-10-31 20:21:18 +00:00
2011-10-31 20:21:18 +00:00
2012-03-19 12:46:39 +11:00
2012-03-19 12:46:39 +11:00
2012-03-19 12:46:39 +11:00