Re: [PATCH v2 1/1] xen/blkfront: always allocate grants first from per-queue persistent grants

2017-07-19 Thread Dongli Zhang
Hi Konrad, In addition to Junxiao's patch on xen-blkfront, would you please help merge this to mainline as well? Thank you very much! Dongli Zhang On 06/28/2017 11:34 PM, Roger Pau Monné wrote: > On Wed, Jun 28, 2017 at 08:57:28PM +0800, Dongli Zhang wrote: >> This patch partially reverts

Re: [PATCH v2 1/1] xen/blkfront: always allocate grants first from per-queue persistent grants

2017-07-19 Thread Dongli Zhang
Hi Konrad, In addition to Junxiao's patch on xen-blkfront, would you please help merge this to mainline as well? Thank you very much! Dongli Zhang On 06/28/2017 11:34 PM, Roger Pau Monné wrote: > On Wed, Jun 28, 2017 at 08:57:28PM +0800, Dongli Zhang wrote: >> This patch partially reverts

Re: [PATCH v2 1/1] xen/blkfront: always allocate grants first from per-queue persistent grants

2017-06-28 Thread Roger Pau Monné
On Wed, Jun 28, 2017 at 08:57:28PM +0800, Dongli Zhang wrote: > This patch partially reverts 3df0e50 ("xen/blkfront: pseudo support for > multi hardware queues/rings"). The xen-blkfront queue/ring might hang due > to grants allocation failure in the situation when gnttab_free_head is > almost

Re: [PATCH v2 1/1] xen/blkfront: always allocate grants first from per-queue persistent grants

2017-06-28 Thread Roger Pau Monné
On Wed, Jun 28, 2017 at 08:57:28PM +0800, Dongli Zhang wrote: > This patch partially reverts 3df0e50 ("xen/blkfront: pseudo support for > multi hardware queues/rings"). The xen-blkfront queue/ring might hang due > to grants allocation failure in the situation when gnttab_free_head is > almost

[PATCH v2 1/1] xen/blkfront: always allocate grants first from per-queue persistent grants

2017-06-28 Thread Dongli Zhang
This patch partially reverts 3df0e50 ("xen/blkfront: pseudo support for multi hardware queues/rings"). The xen-blkfront queue/ring might hang due to grants allocation failure in the situation when gnttab_free_head is almost empty while many persistent grants are reserved for this queue/ring. As

[PATCH v2 1/1] xen/blkfront: always allocate grants first from per-queue persistent grants

2017-06-28 Thread Dongli Zhang
This patch partially reverts 3df0e50 ("xen/blkfront: pseudo support for multi hardware queues/rings"). The xen-blkfront queue/ring might hang due to grants allocation failure in the situation when gnttab_free_head is almost empty while many persistent grants are reserved for this queue/ring. As