From: Christoph Hellwig <hch@infradead.org>
To: Goldwyn Rodrigues <rgoldwyn@suse.de>
Cc: Christoph Hellwig <hch@infradead.org>,
neilb@suse.de, linux-fsdevel@vger.kernel.org, xfs@oss.sgi.com
Subject: Re: suse xfs patches
Date: Thu, 16 Jun 2011 11:09:41 -0400 [thread overview]
Message-ID: <20110616150941.GA28112@infradead.org> (raw)
In-Reply-To: <20110614220550.GA9138@baloo.cartoons>
On Tue, Jun 14, 2011 at 05:05:50PM -0500, Goldwyn Rodrigues wrote:
>
> Yes sure. I suppose you are refering to the patch attached.
> I did not send it upstream because the upstream code had taken a
> different approach and the patch was relevant to the SLES kernel
> tree only.
That, and "XFS: force log before waiting for a pinned buffer".
They look similar, but different enough from things that we have
in mainline that make me really curious if you a) were hitting the
same things, and b) came to different conclusions under different
workloads.
Looking over it in more detail the bufd patch should be fully superceed
by current mainline code, altough less so by the commit you quote, but
rather by the LRU-ification of the xfs_buf code.
Similarly the other one you quote isn't really related to what you have
in tree, in fact you are still missing that case in the suse tree - the
addition to xfs_buf_lock that you're adding only in one caller was added
in commit ed3b4d6cdc81e8feefdbfa3c584614be301b6d39, but that was still
missing the trylock case.
Either way the mainline code only handles pinned and stale buffers,
which from my understanding are what matters, but the changelog from
Neil reads like he saw a case where even non-stale buffers might
matter - except that it's not explained very well.
prev parent reply other threads:[~2011-06-16 15:09 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-14 20:12 suse xfs patches Christoph Hellwig
2011-06-14 22:05 ` Goldwyn Rodrigues
2011-06-16 15:09 ` Christoph Hellwig [this message]
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=20110616150941.GA28112@infradead.org \
--to=hch@infradead.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=neilb@suse.de \
--cc=rgoldwyn@suse.de \
--cc=xfs@oss.sgi.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;
as well as URLs for NNTP newsgroup(s).