[rds-devel] [git pull] a quick debugging improvement

Andy Grover andy.grover at oracle.com
Tue Aug 3 17:01:23 PDT 2010


On 08/03/2010 01:56 PM, Zach Brown wrote:
> Hey Andy,
>
> Here's a quick patch that prints strings for constants in a few more
> places.  In a recent debugging session we had to decode wc status by
> hand, so I figured I'd add that.  I looked around for others to add
> and found the rdma cm types.
>
> It only touches the core because it adds a trivial little array
> referencing helper for each type to use for its array.

Applied, amended to fixed 1 trailing space.

Maybe someday IB core will provide this stuff? One can dream..

Regards -- Andy

>
> - z
>
> The following changes since commit
> ed9636c6d5f9687ee46db36396cfb9bfe4970169: Zach Brown (1): RDS: cancel
> connection work structs as we shut down
>
> are available in the git repository at:
>
> git://oss.oracle.com/git/zab/ofed-1.5-linux-2.6.git
> print-more-constants
>
> Zach Brown (1): RDS/IB: print string constants in more places
>
> net/rds/af_rds.c         |    9 ++++++++ net/rds/ib.h             |
> 1 + net/rds/ib_cm.c          |   10 +++----- net/rds/ib_recv.c
> |   12 ++++++---- net/rds/ib_send.c        |   47
> ++++++++++++++++++++++++++++++++++++++++-----
> net/rds/rdma_transport.c |   38 +++++++++++++++++++++++++++++++++---
> net/rds/rds.h            |    1 + 7 files changed, 97 insertions(+),
> 21 deletions(-)
>




More information about the rds-devel mailing list