public inbox for linux-block@vger.kernel.org
 help / color / mirror / Atom feed
From: "Roger Pau Monné" <roger.pau@citrix.com>
To: Juergen Gross <jgross@suse.com>
Cc: <linux-kernel@vger.kernel.org>, <xen-devel@lists.xenproject.org>,
	<linux-block@vger.kernel.org>, <axboe@kernel.dk>,
	<boris.ostrovsky@oracle.com>
Subject: Re: [Xen-devel] [PATCH v2 1/5] xen/blkback: don't keep persistent grants too long
Date: Wed, 8 Aug 2018 17:19:41 +0200	[thread overview]
Message-ID: <20180808151941.cse6louxgeyguz45@mac> (raw)
In-Reply-To: <20180808142528.31029-2-jgross@suse.com>

On Wed, Aug 08, 2018 at 04:25:24PM +0200, Juergen Gross wrote:
> Persistent grants are allocated until a threshold per ring is being
> reached. Those grants won't be freed until the ring is being destroyed
> meaning there will be resources kept busy which might no longer be
> used.
> 
> Instead of freeing only persistent grants until the threshold is
> reached add a timestamp and remove all persistent grants not having
> been in use for a minute.
> 
> Signed-off-by: Juergen Gross <jgross@suse.com>

Reviewed-by: Roger Pau Monn� <roger.pau@citrix.com>

Thanks, Roger.

  reply	other threads:[~2018-08-08 15:19 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-08 14:25 [PATCH v2 0/5] xen/blk: persistent grant rework Juergen Gross
2018-08-08 14:25 ` [PATCH v2 1/5] xen/blkback: don't keep persistent grants too long Juergen Gross
2018-08-08 15:19   ` Roger Pau Monné [this message]
2018-08-09 22:33   ` kbuild test robot
2018-08-09 22:33   ` [RFC PATCH] xen/blkback: xen_blkif_pgrant_timeout can be static kbuild test robot
2018-08-08 14:25 ` [PATCH v2 2/5] xen/blkfront: cleanup stale persistent grants Juergen Gross
2018-08-08 15:23   ` Roger Pau Monné
2018-08-08 14:25 ` [PATCH v2 3/5] xen/blkfront: reorder tests in xlblk_init() Juergen Gross
2018-08-08 14:25 ` [PATCH v2 4/5] xen/blkback: move persistent grants flags to bool Juergen Gross
2018-08-08 15:35   ` [Xen-devel] " Roger Pau Monné
2018-08-08 14:25 ` [PATCH v2 5/5] xen/blkback: remove unused pers_gnts_lock from struct xen_blkif_ring Juergen Gross

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=20180808151941.cse6louxgeyguz45@mac \
    --to=roger.pau@citrix.com \
    --cc=axboe@kernel.dk \
    --cc=boris.ostrovsky@oracle.com \
    --cc=jgross@suse.com \
    --cc=linux-block@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --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