linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Nick Piggin <npiggin@kernel.dk>
To: Nick Piggin <npiggin@kernel.dk>
Cc: Linus Torvalds <torvalds@linux-foundation.org>,
	Christoph Hellwig <hch@lst.de>, Al Viro <viro@ZenIV.linux.org.uk>,
	linux-fsdevel@vger.kernel.org
Subject: Re: Patch "fs: use RCU read side protection in d_validate" broken
Date: Mon, 15 Nov 2010 16:32:30 +1100	[thread overview]
Message-ID: <20101115053230.GA4579@amd> (raw)
In-Reply-To: <20101115051120.GA4092@amd>

On Mon, Nov 15, 2010 at 04:11:20PM +1100, Nick Piggin wrote:
> This patch is totally broken. You can't just dget() a dentry with
> nothing but RCU critical section open.
> 
> The patch in my tree this is claimed to be split out of, at least
> attemptet to do some locking, I don't know why that was stripped
> out. But I didn't get that quite right myself at which point I
> decided to just forget about it entirely.
> 
> Christoph, why did you think such a patch is worth getting merged, btw?
> I saw no hint of a justification in your changelog.  I mean, in my tree
> at least there was a _rationale_ that dcache_lock is going away and this
> marginally made the locking simpler. But it doesn't make sense in the
> current tree, even if the merged patch was _not_ buggy -- what were you
> trying to do, make ncpfs's readdir go really fast?

Also, could you try to have a bit more common sense, in general, with
these things?

I mean, your dentry lru modification patch really didn't need to be
pulled ahead of my other patches and and subtly changed. That just
scatters wreckage throughout my patchset, which goes beyond just
merging things up but also all the stress testing and verification I've
done goes out the window too.

Yes, I may not have the thing structured *exactly* as you want it, but
really, unless it is a real problem, just look at the big picture a bit
more.

  reply	other threads:[~2010-11-15  5:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-15  5:11 Patch "fs: use RCU read side protection in d_validate" broken Nick Piggin
2010-11-15  5:32 ` Nick Piggin [this message]
2010-11-15 21:16   ` Christoph Hellwig
2010-11-15 23:06     ` Nick Piggin
2010-11-15 21:09 ` Christoph Hellwig
2010-11-15 22:51   ` Nick Piggin

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=20101115053230.GA4579@amd \
    --to=npiggin@kernel.dk \
    --cc=hch@lst.de \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=torvalds@linux-foundation.org \
    --cc=viro@ZenIV.linux.org.uk \
    /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).