I doubt these magic numbers help anyone.
Test-Parameters: trivial
Signed-off-by: Timothy Day <timday@amazon.com>
Change-Id: I7c2505ec0eb7fc6524a13d4bf330a72188a26b4e
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/55085
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Chris Horn <chris.horn@hpe.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
cmid->context = NULL;
return 0;
- case RDMA_CM_EVENT_DEVICE_REMOVAL:
- LCONSOLE_ERROR_MSG(0x131,
- "Received notification of device removal\n"
- "Please shutdown LNET to allow this to proceed\n");
- /* Can't remove network from underneath LNET for now, so I have
- * to ignore this */
- return 0;
+ case RDMA_CM_EVENT_DEVICE_REMOVAL:
+ LCONSOLE_ERROR("Received notification of device removal - Please shutdown LNET to allow this to proceed\n");
+ /* Can't remove network from underneath LNET for now, so I have
+ * to ignore this
+ */
+ return 0;
case RDMA_CM_EVENT_ADDR_CHANGE:
LCONSOLE_INFO("Physical link changed (eg hca/port)\n");
LIBCFS_ALLOC(cr, sizeof(*cr));
if (cr == NULL) {
- LCONSOLE_ERROR_MSG(0x12f,
- "Dropping connection request from %pISc: memory exhausted\n",
- &peer);
+ LCONSOLE_ERROR("Dropping connection request from %pISc: memory exhausted\n",
+ &peer);
return -ENOMEM;
}
if (peerid->pid != recv_id.pid ||
!nid_same(&peerid->nid, &recv_id.nid)) {
- LCONSOLE_ERROR_MSG(0x130,
- "Connected successfully to %s on host %pISc, but they claimed they were %s; please check your Lustre configuration.\n",
- libcfs_idstr(peerid),
- &conn->ksnc_peeraddr,
- libcfs_idstr(&recv_id));
+ LCONSOLE_ERROR("Connected successfully to %s on host %pISc, but they claimed they were %s; please check your Lustre configuration.\n",
+ libcfs_idstr(peerid),
+ &conn->ksnc_peeraddr,
+ libcfs_idstr(&recv_id));
return -EPROTO;
}