Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1676858

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

From Roger Pau Monné <roger.pau@citrix.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2 1/1] xen/blkfront: always allocate grants first from per-queue persistent grants
Date 2017-06-28 17:50 +0200
Message-ID <tXno7-dY-43@gated-at.bofh.it> (permalink)
References <tXkJz-6TW-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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 empty while many persistent grants are reserved for this queue/ring.
> 
> As persistent grants management was per-queue since 73716df ("xen/blkfront:
> make persistent grants pool per-queue"), we should always allocate from
> persistent grants first.
> 
> Signed-off-by: Dongli Zhang <dongli.zhang@oracle.com>

Acked-by: Roger Pau Monné <roger.pau@citrix.com>

Thanks.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v2 1/1] xen/blkfront: always allocate grants first from per-queue persistent grants Dongli Zhang <dongli.zhang@oracle.com> - 2017-06-28 15:00 +0200
  Re: [PATCH v2 1/1] xen/blkfront: always allocate grants first from  per-queue persistent grants Roger Pau Monné <roger.pau@citrix.com> - 2017-06-28 17:50 +0200

csiph-web