NeilBrown
31bbea0a63
md: deal with merge_bvec_fn in component devices better.
...
commit 627a2d3c29 upstream.
If a component device has a merge_bvec_fn then as we never call it
we must ensure we never need to. Currently this is done by setting
max_sector to 1 PAGE, however this does not stop a bio being created
with several sub-page iovecs that would violate the merge_bvec_fn.
So instead set max_phys_segments to 1 and set the segment boundary to the
same as a page boundary to ensure there is only ever one single-page
segment of IO requested at a time.
This can particularly be an issue when 'xen' is used as it is
known to submit multiple small buffers in a single bio.
Signed-off-by: NeilBrown <neilb@suse.de >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2010-04-26 07:41:35 -07:00
..
2010-04-26 07:41:34 -07:00
2009-09-12 12:01:34 +01:00
2010-04-26 07:41:32 -07:00
2009-09-30 16:12:20 -07:00
2010-03-15 08:49:53 -07:00
2010-02-23 07:37:49 -08:00
2010-01-06 15:03:43 -08:00
2009-09-24 07:21:04 -07:00
2010-04-26 07:41:32 -07:00
2010-03-15 08:49:44 -07:00
2010-02-09 04:50:59 -08:00
2009-11-17 23:15:04 -05:00
2010-01-18 10:19:31 -08:00
2010-02-23 07:37:54 -08:00
2009-09-13 10:27:04 -07:00
2010-02-23 07:37:49 -08:00
2010-04-01 15:58:40 -07:00
2010-02-09 04:50:52 -08:00
2010-01-28 15:01:52 -08:00
2010-03-15 08:49:57 -07:00
2010-04-26 07:41:30 -07:00
2010-04-26 07:41:19 -07:00
2010-04-26 07:41:26 -07:00
2010-04-26 07:41:32 -07:00
2009-12-18 14:05:04 -08:00
2009-09-08 17:30:24 -07:00
2009-10-11 11:20:58 -07:00
2009-11-19 13:16:21 -08:00
2010-04-26 07:41:31 -07:00
2010-04-26 07:41:34 -07:00
2010-04-01 15:58:24 -07:00
2010-04-01 15:58:53 -07:00
2010-01-06 15:05:19 -08:00
2010-03-15 08:49:46 -07:00
2010-04-26 07:41:35 -07:00
2010-04-01 15:58:13 -07:00
2009-09-24 07:21:05 -07:00
2010-02-23 07:37:55 -08:00
2010-01-22 15:18:18 -08:00
2010-01-25 10:49:37 -08:00
2010-04-01 15:58:56 -07:00
2010-02-09 04:50:45 -08:00
2010-04-26 07:41:34 -07:00
2009-10-15 09:58:27 -06:00
2009-10-09 21:32:05 +02:00
2009-09-22 07:17:38 -07:00
2009-09-24 07:21:04 -07:00
2010-04-26 07:41:31 -07:00
2010-01-22 15:18:26 -08:00
2010-04-26 07:41:23 -07:00
2009-09-25 15:09:48 -04:00
2009-09-23 03:49:27 +04:00
2009-11-12 07:26:01 -08:00
2009-09-11 11:28:00 +10:00
2010-02-23 07:37:49 -08:00
2010-03-15 08:50:14 -07:00
2010-02-23 07:37:54 -08:00
2009-09-22 07:17:25 -07:00
2010-04-26 07:41:30 -07:00
2010-03-15 08:49:54 -07:00
2009-10-03 01:16:12 -04:00
2009-08-31 15:15:33 +09:00
2009-12-02 23:58:32 +00:00
2009-12-18 14:03:24 -08:00
2010-04-26 07:41:29 -07:00
2009-07-12 12:22:34 -07:00
2009-11-05 17:33:24 -05:00
2009-11-13 11:36:00 +09:00
2010-04-26 07:41:33 -07:00
2009-10-11 11:20:58 -07:00
2010-04-26 07:41:19 -07:00
2010-04-01 15:58:18 -07:00
2009-09-24 07:21:05 -07:00
2009-10-04 22:53:41 +02:00
2010-04-26 07:41:18 -07:00
2010-01-18 10:19:44 -08:00
2009-09-23 10:07:49 -07:00