Re: [PATCH] 2.6.0 NBD driver: remove send/recieve race for request

From: Paul Clements
Date: Fri Aug 08 2003 - 12:11:21 EST


Andrew Morton wrote:
>
> Paul Clements <Paul.Clements@xxxxxxxxxxxx> wrote:
> >
> > Here's the patch to fix up several race conditions in nbd. It requires
> > reverting the already included (but admittedly incomplete)
> > nbd-race-fix.patch that's in -mm5.
> >
> > Andrew, please apply.
>
> Sure. Could I please have a summary of what races were fixed, and how?

I outlined the other races in the mail I just sent. In addition, the
updated patch will fix an Oops where lo->sock gets set to NULL (by
NBD_CLEAR_SOCK) before NBD_DO_IT completes. This can happen when
"nbd-client -d" is called to disconnect the nbd socket.

--
Paul
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/