Jan Beulich 3b4f18843e xen-blkfront: correct maximum segment accounting
Making use of "max_indirect_segments=" has issues:
- blkfront_setup_indirect() may end up with zero psegs when PAGE_SIZE
  is sufficiently much larger than XEN_PAGE_SIZE
- the variable driven by the command line option
  (xen_blkif_max_segments) has a somewhat different purpose, and hence
  should namely never end up being zero
- as long as the specified value is lower than the legacy default,
  we better don't use indirect segments at all (or we'd in fact lower
  throughput)

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
2017-01-23 13:27:42 -05:00
..
2016-06-27 12:26:08 -07:00
2017-01-10 18:31:55 -08:00
2011-08-08 11:40:15 +02:00
2016-11-22 08:57:55 -07:00
2015-09-23 11:01:16 -06:00
2016-03-15 15:59:47 -07:00
2016-12-25 17:21:22 +01:00
2016-06-27 12:26:08 -07:00
2016-06-27 12:26:08 -07:00
2013-11-08 09:10:30 -07:00
2016-06-27 12:26:08 -07:00
2009-03-26 21:15:27 +01:00