Linux block layer
 help / color / mirror / Atom feed
From: Juergen Gross <jgross@suse.com>
To: "Roger Pau Monné" <roger.pau@citrix.com>
Cc: linux-kernel@vger.kernel.org, xen-devel@lists.xenproject.org,
	linux-block@vger.kernel.org, konrad.wilk@oracle.com,
	axboe@kernel.dk, boris.ostrovsky@oracle.com
Subject: Re: [PATCH v3 0/5] xen/blk: persistent grant rework
Date: Fri, 24 Aug 2018 15:52:23 +0200	[thread overview]
Message-ID: <8aaf02b1-999d-81fc-2732-ed556b959a8a@suse.com> (raw)
In-Reply-To: <20180817155909.4cwiy6bhhgiala5m@mac>

On 17/08/18 17:59, Roger Pau Monné wrote:
> On Mon, Aug 13, 2018 at 04:01:09PM +0200, Juergen Gross wrote:
>> Persistent grants are used in the Xen's blkfront/blkback drivers to
>> avoid mapping/unmapping of I/O buffers in the backend for each I/O.
>>
>> While this speeds up processing quite a bit there are problems related
>> to persistent grants in some configurations: domains with multiple
>> block devices making use of persistent grants might suffer from a lack
>> of grants if each of the block devices experienced a high I/O load at
>> some time. This is due to the number of persistent grants per device
>> only to be limited by a rather high maximum value, but never being
>> released even in case of longer times without any I/O.
>>
>> This series modifies xen-blkback to unmap any domU page mapped via a
>> persistent grant after a timeout (default: 60 seconds). The timeout
>> is set to its default value again when a persistent grant has been
>> used for an I/O.
>>
>> xen-blkfront is modified to scan every 10 seconds for persistent grants
>> not in use by blkback any more and to remove such grants.
>>
>> The last 3 patches are small cleanups of blkfront and blkback drivers.
>>
>> V3:
>> - patch 1: make timeout parameter static
> 
> Konrad if you are OK with this series, could you please send a pull
> request to Jens?

Ping?


Juergen

  reply	other threads:[~2018-08-24 13:52 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-13 14:01 [PATCH v3 0/5] xen/blk: persistent grant rework Juergen Gross
2018-08-13 14:01 ` [PATCH v3 1/5] xen/blkback: don't keep persistent grants too long Juergen Gross
2018-08-13 14:01 ` [PATCH v3 2/5] xen/blkfront: cleanup stale persistent grants Juergen Gross
2018-08-13 14:01 ` [PATCH v3 3/5] xen/blkfront: reorder tests in xlblk_init() Juergen Gross
2018-08-13 14:01 ` [PATCH v3 4/5] xen/blkback: move persistent grants flags to bool Juergen Gross
2018-08-13 14:01 ` [PATCH v3 5/5] xen/blkback: remove unused pers_gnts_lock from struct xen_blkif_ring Juergen Gross
2018-08-17 15:59 ` [PATCH v3 0/5] xen/blk: persistent grant rework Roger Pau Monné
2018-08-24 13:52   ` Juergen Gross [this message]
2018-08-27 16:10     ` Konrad Rzeszutek Wilk

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=8aaf02b1-999d-81fc-2732-ed556b959a8a@suse.com \
    --to=jgross@suse.com \
    --cc=axboe@kernel.dk \
    --cc=boris.ostrovsky@oracle.com \
    --cc=konrad.wilk@oracle.com \
    --cc=linux-block@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=roger.pau@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