Re: [lvm-devel] Re: [PATCH] dm.c - device-mapper I/O path fixes

From: Joe Thornber (joe@fib011235813.fsnet.co.uk)
Date: Wed Dec 11 2002 - 09:58:00 EST


On Wed, Dec 11, 2002 at 05:19:33PM -0200, Denis Vlasenko wrote:
> > Are you saying the "if (error)" part is pointless? If so, I have to
>
> No. Locking is pointless. What exactly you try to protect here?

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



This archive was generated by hypermail 2b29 : Sun Dec 15 2002 - 22:00:21 EST