Mike Snitzer 542f903814 dm: support non power of two target max_io_len
Remove the restriction that limits a target's specified maximum incoming
I/O size to be a power of 2.

Rename this setting from 'split_io' to the less-ambiguous 'max_io_len'.
Change it from sector_t to uint32_t, which is plenty big enough, and
introduce a wrapper function dm_set_target_max_io_len() to set it.
Use sector_div() to process it now that it is not necessarily a power of 2.

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
2012-07-27 15:08:00 +01:00
..
2012-07-24 18:11:22 -07:00
2012-07-22 13:36:52 -07:00
2012-07-23 16:31:31 -07:00
2012-07-19 00:03:17 +02:00
2012-07-23 17:51:03 -07:00
2012-07-23 17:36:02 -07:00
2012-07-16 09:20:33 -07:00
2012-07-24 13:40:06 +02:00
2012-07-24 16:24:11 -07:00
2012-07-04 15:55:19 +08:00
2012-07-15 21:49:21 +01:00
2012-07-24 16:17:07 -07:00
2012-07-09 16:42:24 -04:00
2012-07-24 14:07:22 -07:00
2012-07-24 16:17:07 -07:00
2012-07-24 14:05:46 -07:00
2012-07-22 13:36:52 -07:00
2012-07-24 18:11:22 -07:00
2012-07-24 12:01:20 -07:00
2012-07-24 18:11:22 -07:00
2012-07-24 18:11:22 -07:00
2012-06-21 21:40:40 -06:00
2012-07-24 16:17:07 -07:00