All of lore.kernel.org
 help / color / mirror / Atom feed
From: Al Viro <viro@ZenIV.linux.org.uk>
To: David Howells <dhowells@redhat.com>
Cc: linux-fsdevel@vger.kernel.org, linux-nfs@vger.kernel.org,
	linux-cachefs@redhat.com
Subject: Re: [PATCH] CacheFiles: Provide read-and-reset release counters for cachefilesd
Date: Mon, 1 Feb 2016 17:35:01 +0000	[thread overview]
Message-ID: <20160201173501.GL17997@ZenIV.linux.org.uk> (raw)
In-Reply-To: <20160201164304.9867.40456.stgit@warthog.procyon.org.uk>

On Mon, Feb 01, 2016 at 04:43:04PM +0000, David Howells wrote:
> Provide read-and-reset objects- and blocks-released counters for cachefilesd
> to use to work out whether there's anything new that can be culled.
> 
> One of the problems cachefilesd has is that if all the objects in the cache
> are pinned by inodes lying dormant in the kernel inode cache, there isn't
> anything for it to cull.  In such a case, it just spins around walking the
> filesystem tree and scanning for something to cull.  This eats up a lot of
> CPU time.

Applied.

  reply	other threads:[~2016-02-01 17:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-01 16:43 [PATCH] CacheFiles: Provide read-and-reset release counters for cachefilesd David Howells
2016-02-01 17:35 ` Al Viro [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-01-25 16:48 David Howells
2016-01-25 16:41 David Howells

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=20160201173501.GL17997@ZenIV.linux.org.uk \
    --to=viro@zeniv.linux.org.uk \
    --cc=dhowells@redhat.com \
    --cc=linux-cachefs@redhat.com \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-nfs@vger.kernel.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.