qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: George Dunlap <george.dunlap@eu.citrix.com>
To: Roger Pau Monne <roger.pau@citrix.com>,
	xen-devel@lists.xenproject.org, qemu-devel@nongnu.org
Cc: Kevin Wolf <kwolf@redhat.com>,
	Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>,
	Stefan Hajnoczi <stefanha@redhat.com>,
	Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Subject: Re: [Qemu-devel] [PATCH v3 for-xen-4.5] xen_disk: fix unmapping of persistent grants
Date: Thu, 13 Nov 2014 19:21:30 +0000	[thread overview]
Message-ID: <546504BA.10506@eu.citrix.com> (raw)
In-Reply-To: <1415900529-10629-1-git-send-email-roger.pau@citrix.com>

On 11/13/2014 05:42 PM, Roger Pau Monne wrote:
> This patch fixes two issues with persistent grants and the disk PV backend
> (Qdisk):
>
>   - Keep track of memory regions where persistent grants have been mapped
>     since we need to unmap them as a whole. It is not possible to unmap a
>     single grant if it has been batch-mapped. A new check has also been added
>     to make sure persistent grants are only used if the whole mapped region
>     can be persistently mapped in the batch_maps case.
>   - Unmap persistent grants before switching to the closed state, so the
>     frontend can also free them.
>
> Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
> Reported-by: George Dunlap <george.dunlap@eu.citrix.com>

Tested-by: George Dunlap <george.dunlap@eu.citrix.com>

  reply	other threads:[~2014-11-13 19:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-13 17:42 [Qemu-devel] [PATCH v3 for-xen-4.5] xen_disk: fix unmapping of persistent grants Roger Pau Monne
2014-11-13 19:21 ` George Dunlap [this message]
2014-11-13 19:32 ` Konrad Rzeszutek Wilk
2014-11-14 10:18 ` Stefano Stabellini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=546504BA.10506@eu.citrix.com \
    --to=george.dunlap@eu.citrix.com \
    --cc=konrad.wilk@oracle.com \
    --cc=kwolf@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=roger.pau@citrix.com \
    --cc=stefanha@redhat.com \
    --cc=stefano.stabellini@eu.citrix.com \
    --cc=xen-devel@lists.xenproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).