All of lore.kernel.org
 help / color / mirror / Atom feed
From: Julien Grall <julien.grall@citrix.com>
To: Bob Liu <bob.liu@oracle.com>, <xen-devel@lists.xen.org>
Cc: <linux-kernel@vger.kernel.org>, <justing@spectralogic.com>,
	<paul.durrant@citrix.com>, <david.vrabel@citrix.com>,
	<roger.pau@citrix.com>
Subject: Re: [Xen-devel] [PATCH v4 2/2] xen/block: add multi-page ring support
Date: Wed, 20 May 2015 14:21:01 +0100	[thread overview]
Message-ID: <555C8A3D.9010105@citrix.com> (raw)
In-Reply-To: <1432127422-6797-2-git-send-email-bob.liu@oracle.com>

Hi,

On 20/05/15 14:10, Bob Liu wrote:
> ---
>  drivers/block/xen-blkback/blkback.c |  12 ++++
>  drivers/block/xen-blkback/common.h  |   3 +-
>  drivers/block/xen-blkback/xenbus.c  |  85 +++++++++++++++++++++-------
>  drivers/block/xen-blkfront.c        | 110 ++++++++++++++++++++++++++----------
>  4 files changed, 161 insertions(+), 49 deletions(-)
> 
> diff --git a/drivers/block/xen-blkback/blkback.c b/drivers/block/xen-blkback/blkback.c
> index 713fc9f..057890f 100644
> --- a/drivers/block/xen-blkback/blkback.c
> +++ b/drivers/block/xen-blkback/blkback.c
> @@ -84,6 +84,12 @@ MODULE_PARM_DESC(max_persistent_grants,
>                   "Maximum number of grants to map persistently");
>  
>  /*
> + * Maximum number of pages to be used as the ring between front and backend
> + */
> +unsigned int xen_blkif_max_ring_order = XENBUS_MAX_RING_PAGE_ORDER;

We will soon support 64KB page granularity with ARM64, although the PV
protocol will keep a 4KB page granularity.

Can you clarify with granularity is used here? The one of the host or
the one of the PV protocol?

> +module_param_named(max_ring_page_order, xen_blkif_max_ring_order, int, S_IRUGO);
> +MODULE_PARM_DESC(max_ring_page_order, "Maximum order of pages to be used as the ring");
> +/*
>   * The LRU mechanism to clean the lists of persistent grants needs to
>   * be executed periodically. The time interval between consecutive executions
>   * of the purge mechanism is set in ms.

Regards,

-- 
Julien Grall

  reply	other threads:[~2015-05-20 13:22 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-20 13:10 [PATCH v2 1/2] driver: xen-blkfront: move talk_to_blkback to a more suitable place Bob Liu
2015-05-20 13:10 ` [PATCH v4 2/2] xen/block: add multi-page ring support Bob Liu
2015-05-20 13:10 ` Bob Liu
2015-05-20 13:21   ` Julien Grall [this message]
2015-05-20 14:56     ` Roger Pau Monné
2015-05-20 14:56     ` [Xen-devel] " Roger Pau Monné
2015-05-20 15:00       ` Julien Grall
2015-05-20 15:00       ` [Xen-devel] " Julien Grall
2015-05-20 23:47         ` Bob Liu
2015-05-20 23:47         ` [Xen-devel] " Bob Liu
2015-05-20 13:21   ` Julien Grall
2015-05-21 11:22   ` Roger Pau Monné
2015-05-21 13:03     ` Bob Liu
2015-05-21 13:33       ` Roger Pau Monné
2015-05-21 13:33       ` Roger Pau Monné
2015-05-21 13:03     ` Bob Liu
2015-05-21 11:22   ` Roger Pau Monné
2015-05-21 10:52 ` [PATCH v2 1/2] driver: xen-blkfront: move talk_to_blkback to a more suitable place Roger Pau Monné
2015-05-21 10:52 ` Roger Pau Monné

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=555C8A3D.9010105@citrix.com \
    --to=julien.grall@citrix.com \
    --cc=bob.liu@oracle.com \
    --cc=david.vrabel@citrix.com \
    --cc=justing@spectralogic.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=paul.durrant@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.