All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Vrabel <david.vrabel@citrix.com>
To: Roger Pau Monne <roger.pau@citrix.com>
Cc: xen-devel@lists.xen.org
Subject: Re: [PATCH] blkif: update persistent grants documentation
Date: Mon, 12 Aug 2013 16:47:03 +0100	[thread overview]
Message-ID: <52090377.4020906@citrix.com> (raw)
In-Reply-To: <1376304538-1816-1-git-send-email-roger.pau@citrix.com>

On 12/08/13 11:48, Roger Pau Monne wrote:
> Update blkif protocol extensions documentation to reflect the new
> behaviour in Linux persistent grants implementation.
> 
> Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
> Cc: David Vrabel <david.vrabel@citrix.com>

Thanks.

Reviewed-by: David Vrabel <david.vrabel@citrix.com>

David

> ---
>  xen/include/public/io/blkif.h |    6 ++++++
>  1 files changed, 6 insertions(+), 0 deletions(-)
> 
> diff --git a/xen/include/public/io/blkif.h b/xen/include/public/io/blkif.h
> index b9b9d98..27ae8b6 100644
> --- a/xen/include/public/io/blkif.h
> +++ b/xen/include/public/io/blkif.h
> @@ -290,6 +290,12 @@
>   *      the previous protocol, a frontend driver can choose to work in
>   *      persistent mode even when the backend doesn't support it.
>   *
> + *      When the backend driver needs to unmap a persistent grant it should
> + *      do so prior to completing a request that used that grant reference.
> + *      If a persistent grant is unmapped at any other time, the frontend
> + *      driver may not notice and may be unable to reclaim the grant
> + *      reference.
> + *
>   *      It is recommended that the frontend driver stores the persistently
>   *      mapped grants in a LIFO queue, so a subset of all persistently mapped
>   *      grants gets used commonly. This is done in case the backend driver


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

      reply	other threads:[~2013-08-12 15:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-12 10:48 [PATCH] blkif: update persistent grants documentation Roger Pau Monne
2013-08-12 15:47 ` David Vrabel [this message]

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=52090377.4020906@citrix.com \
    --to=david.vrabel@citrix.com \
    --cc=roger.pau@citrix.com \
    --cc=xen-devel@lists.xen.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.