Whamcloud - gitweb
smash the HEAD with the contents of b_cmd. HEAD_PRE_CMD_SMASH and
[fs/lustre-release.git] / lustre / portals / portals / lib-ni.c
index aa959fc..296bc4a 100644 (file)
 
 #define MAX_DIST 18446744073709551615ULL
 
+int do_PtlNIDebug(nal_cb_t * nal, void *private, void *v_args, void *v_ret)
+{
+        PtlNIDebug_in *args = v_args;
+        PtlNIDebug_out *ret = v_ret;
+        lib_ni_t *ni = &nal->ni;
+
+        ret->rc = ni->debug;
+        ni->debug = args->mask_in;
+
+        return 0;
+}
+
 int do_PtlNIStatus(nal_cb_t * nal, void *private, void *v_args, void *v_ret)
 {
         /*