Whamcloud - gitweb
LU-6261 gnilnd: Hold shared MDD for gnilnd.
[fs/lustre-release.git] / lnet / klnds / gnilnd / gnilnd_api_wrap.h
index 3bc2ecd..15be388 100644 (file)
 #define CFS_FAIL_GNI_DGRAM_DEADLINE    0xf053
 #define CFS_FAIL_GNI_DGRAM_DROP_TX     0xf054
 
-
 /* helper macros */
 extern void
 _kgnilnd_api_rc_lbug(const char *rcstr, int rc, struct libcfs_debug_msg_data *data,
@@ -1200,8 +1199,9 @@ static inline gni_return_t kgnilnd_post_rdma(
                        ep_hndl, post_descr);
                break;
        case GNI_RC_ERROR_RESOURCE:
-               GNILND_API_RESOURCE(
-                       ep_hndl, post_descr);
+               CDEBUG(D_NET, "no resources for kgnilnd_post_rdma (0x%p, 0x%p)"
+                       " rc %s\n", ep_hndl, post_descr,
+                       kgnilnd_api_rc2str(rrc));
                break;
        default:
                GNILND_API_RC_LBUG(