Re: [Xen-devel] [PATCH v3] xen-blkfront: dynamic configuration of per-vbd resources

From: David Vrabel
Date: Thu Jul 28 2016 - 05:31:53 EST


On 27/07/16 04:21, Bob Liu wrote:
> The current VBD layer reserves buffer space for each attached device based on
> three statically configured settings which are read at boot time.
> * max_indirect_segs: Maximum amount of segments.
> * max_ring_page_order: Maximum order of pages to be used for the shared ring.
> * max_queues: Maximum of queues(rings) to be used.

I think you want a single knob for "maximum number of pages in flight".
This is much easier for an admin to relate to resource usage.

You could apply this limit without having to reconfigure, which would
simplify this patch quite a bit.

David