From: Al Viro <viro@ZenIV.linux.org.uk>
To: Mike Galbraith <umgwanakikbuti@gmail.com>
Cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de>,
	linux-rt-users <linux-rt-users@vger.kernel.org>,
	Thomas Gleixner <tglx@linutronix.de>,
	Peter Zijlstra <peterz@infradead.org>,
	Ingo Molnar <mingo@redhat.com>
Subject: Re: RT, what to do about up/down_read_non_owner()
Date: Mon, 6 Jun 2016 20:24:46 +0100	[thread overview]
Message-ID: <20160606192446.GE14480@ZenIV.linux.org.uk> (raw)
In-Reply-To: <1465206604.6397.18.camel@gmail.com>
On Mon, Jun 06, 2016 at 11:50:04AM +0200, Mike Galbraith wrote:
> (CCs Al, who knows, maybe he'll make them go *poof*)
> 
> > > > In v4.7, Al added those buggers to NFS.  BCACHE is disabled in RT
> > > > because of same.. but that's a somewhat suboptimal solution for
> > > > something as widely used as NFS.
> > > > 
> > > > Suggestions?  I reverted the offending commit to get 4.7-rt up and
> > > > running, but that's not gonna fly long term.
> > > 
> > > This API should be avoided according to the comment and completions
> > > should be used. I am for removal of those. Were the locking people okay
> > > with this change in the first place or did this just sneak in?
> > 
> > It just snuck in.  Al reworked sillyunlink, whacking the wait_event()
> > stuff that was there, using annoying $subject instead.
It's more than just wait_event() crap being killed (and crap it certainly
was).  The situation is pretty much the same as with bcache; we don't want
readers to stick around until the initiated action has been completed.
What exactly is RT problem, just to be sure to avoid reproducing exact same
issue in the replacement?
next prev parent reply	other threads:[~2016-06-06 19:24 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-05  6:57 RT, what to do about up/down_read_non_owner() Mike Galbraith
2016-06-06  7:49 ` Sebastian Andrzej Siewior
2016-06-06  9:07   ` Mike Galbraith
2016-06-06  9:50     ` Mike Galbraith
2016-06-06 19:24       ` Al Viro [this message]
2016-06-07  2:39         ` Mike Galbraith
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=20160606192446.GE14480@ZenIV.linux.org.uk \
    --to=viro@zeniv.linux.org.uk \
    --cc=bigeasy@linutronix.de \
    --cc=linux-rt-users@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=peterz@infradead.org \
    --cc=tglx@linutronix.de \
    --cc=umgwanakikbuti@gmail.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).