Re: [Xen-devel] [PATCH] xen-blkfront: correct maximum segment accounting

2017-01-24 Thread Roger Pau Monne
On Mon, Jan 23, 2017 at 08:11:37AM -0700, Jan Beulich wrote: > 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_bl

[Xen-devel] [PATCH] xen-blkfront: correct maximum segment accounting

2017-01-23 Thread Jan Beulich
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