[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20110313102756.GD1827@ucw.cz>
Date: Sun, 13 Mar 2011 11:28:26 +0100
From: Pavel Machek <pavel@....cz>
To: Soren Hansen <soren@...ux2go.dk>
Cc: "Serge E. Hallyn" <serge@...lyn.com>, linux-kernel@...r.kernel.org,
Dave Hansen <haveblue@...ibm.com>
Subject: Re: nbd locking problems
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists