All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@ucw.cz>
To: Soren Hansen <soren@linux2go.dk>
Cc: "Serge E. Hallyn" <serge@hallyn.com>,
	linux-kernel@vger.kernel.org, Dave Hansen <haveblue@us.ibm.com>
Subject: Re: nbd locking problems
Date: Sun, 13 Mar 2011 11:28:26 +0100	[thread overview]
Message-ID: <20110313102756.GD1827@ucw.cz> (raw)
In-Reply-To: <AANLkTi=1ubso_qg1dr+xOaF4s=f0Jfzchinh3dnY7jjY@mail.gmail.com>

Hi!

> > In the meantime, could you please post your patch?  (Is it the
> > three-liner I'd expect?)
> 
> Indeed it is. I was holding off on posting it, because I was hoping
> Pavel Machek would chime in. Pavel's commit message in [1] suggested
> that there was more work to do before the BKL could be vanquished from
> this driver (by changing .ioctl to .unlocked_ioctl).

Well, I tried to figure out locking in nbd, but could not. It somehow
wants both transmit and receive protected... but at the same time it
needs receiving while it transmits. Not sure what to do there.

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

  reply	other threads:[~2011-03-13 10:28 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-26 10:52 nbd locking problems Soren Hansen
2011-01-28 21:18 ` Serge E. Hallyn
2011-01-28 21:30   ` Arnd Bergmann
2011-01-28 23:11   ` Soren Hansen
2011-03-13 10:28     ` Pavel Machek [this message]
2011-01-31 19:35   ` Serge E. Hallyn
2011-01-28 23:23 ` [PATCH] nbd: Remove module-level ioctl mutex Soren Hansen
2011-01-30 15:07 nbd locking problems Paul Clements

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=20110313102756.GD1827@ucw.cz \
    --to=pavel@ucw.cz \
    --cc=haveblue@us.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=serge@hallyn.com \
    --cc=soren@linux2go.dk \
    /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.