[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090129080330.GB12197@ioremap.net>
Date: Thu, 29 Jan 2009 11:03:30 +0300
From: Evgeniy Polyakov <zbr@...emap.net>
To: Andrew Grover <andy.grover@...il.com>
Cc: Steve Wise <swise@...ngridcomputing.com>,
Oliver Neukum <oliver@...kum.org>, netdev@...r.kernel.org,
rdreier@...co.com, rds-devel@....oracle.com,
general@...ts.openfabrics.org
Subject: Re: [ofa-general] Re: [PATCH 06/21] RDS: Connection handling
On Wed, Jan 28, 2009 at 07:03:49PM -0800, Andrew Grover (andy.grover@...il.com) wrote:
> What's the best way to fix this?
>
> This is all so rds-info can print out a nice list of connections, and
> if they're sending or not. I don't see an easy way to fix this. A
> _trylock-like function that didn't grab it would be nice? I can always
> just not report this particular bit of info, that actually might be
> easiest.
You use atomic variables for the other cases, add another one here to
mark locked connection. Looks ugly but does not crash at least.
--
Evgeniy Polyakov
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists