public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Milosz Tanski <milosz@adfin.com>
To: linux-cachefs@redhat.com
Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org,
	"David Howells" <dhowells@redhat.com>,
	"NeilBrown" <neilb@suse.de>, "Shantanu Goel" <sgoel01@yahoo.com>
Subject: [PATCH 0/3] FS-Cache: Bug fixes for bugs that happen under vma pressure
Date: Tue, 22 Jul 2014 11:49:47 -0400	[thread overview]
Message-ID: <53CE881B.3070402@adfin.com> (raw)

FS-Cache has a few bugs generally only get tried in error mode / under
VMA preassure. The problem is exhasterbated when majority of the IO is
cacheable netfs IO. At that point there are few pages that are evictalbe
due to GPF_NOFS allocation strategies. 

The first bug is a recursive hang caused by fscache write out to ext4
which in turn needs to allocate pages and ends up calling releasepages()
on the netfs.

The second two bugs are cookie ref count bugs that happen when in the
error cases (mostly from related memory alloc failures).

Milosz Tanski (3):
  FS-Cache: Timeout for releasepage()
  FS-Cache: Reduce cookie ref count if submit fails.
  FS-Cache: refcount becomes corrupt under vma pressure.

 fs/fscache/object.c |    4 ++++
 fs/fscache/page.c   |   22 ++++++++++++++++++----
 2 files changed, 22 insertions(+), 4 deletions(-)

-- 
1.7.9.5


             reply	other threads:[~2014-07-22 15:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-22 15:49 Milosz Tanski [this message]
2014-07-29 16:03 ` [PATCH 0/3] FS-Cache: Bug fixes for bugs that happen under vma pressure David Howells
2014-08-05  4:13   ` Milosz Tanski

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=53CE881B.3070402@adfin.com \
    --to=milosz@adfin.com \
    --cc=dhowells@redhat.com \
    --cc=linux-cachefs@redhat.com \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=neilb@suse.de \
    --cc=sgoel01@yahoo.com \
    /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