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

Zach Brown zach.brown at oracle.com
Tue Aug 3 13:56:05 PDT 2010


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.

- 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