/* cleanup request if requested by initiator */
if (likely(cleanup)) {
- ZFCP_LOG_TRACE("removing FSF request 0x%lx\n",
- (unsigned long) fsf_req);
+ ZFCP_LOG_TRACE("removing FSF request %p\n", fsf_req);
/*
* lock must not be held here since it will be
* grabed by the called routine, too
zfcp_fsf_req_cleanup(fsf_req);
} else {
/* notify initiator waiting for the requests completion */
- ZFCP_LOG_TRACE("waking initiator of FSF request 0x%lx\n",
- (unsigned long) fsf_req);
+ ZFCP_LOG_TRACE("waking initiator of FSF request %p\n",fsf_req);
/*
* FIXME: Race! We must not access fsf_req here as it might have been
* cleaned up already due to the set ZFCP_STATUS_FSFREQ_COMPLETED
int retval = 0;
struct zfcp_adapter *adapter = fsf_req->adapter;
- ZFCP_LOG_DEBUG("QTCB is at 0x%lx\n", (unsigned long) fsf_req->qtcb);
+ ZFCP_LOG_DEBUG("QTCB is at %p\n", fsf_req->qtcb);
if (fsf_req->status & ZFCP_STATUS_FSFREQ_DISMISSED) {
ZFCP_LOG_DEBUG("fsf_req 0x%lx has been dismissed\n",
case FSF_PROT_QTCB_VERSION_ERROR:
ZFCP_LOG_FLAGS(0, "FSF_PROT_QTCB_VERSION_ERROR\n");
- /* DEBUG */
- ZFCP_LOG_NORMAL("fsf_req=0x%lx, qtcb=0x%lx (0x%lx, 0x%lx)\n",
- (unsigned long) fsf_req,
- (unsigned long) fsf_req->qtcb,
- ((unsigned long) fsf_req) & 0xFFFFFF00,
- (unsigned
- long) ((struct zfcp_fsf_req
- *) (((unsigned long) fsf_req) &
- 0xFFFFFF00))->qtcb);
- ZFCP_HEX_DUMP(ZFCP_LOG_LEVEL_NORMAL,
- (char *) (((unsigned long) fsf_req) & 0xFFFFFF00),
- sizeof (struct zfcp_fsf_req));
ZFCP_LOG_NORMAL("error: The adapter %s contains "
"microcode of version 0x%x, the device driver "
"only supports 0x%x. Aborting.\n",
"that used on adapter %s. "
"Stopping all operations on this adapter.\n",
zfcp_get_busid_by_adapter(adapter));
- ZFCP_LOG_NORMAL("fsf_req=0x%lx, qtcb=0x%lx (0x%lx, 0x%lx)\n",
- (unsigned long) fsf_req,
- (unsigned long) fsf_req->qtcb,
- ((unsigned long) fsf_req) & 0xFFFFFF00,
- (unsigned long) (
- (struct zfcp_fsf_req *) (
- ((unsigned long)
- fsf_req) & 0xFFFFFF00))->qtcb);
- ZFCP_HEX_DUMP(ZFCP_LOG_LEVEL_NORMAL,
- (char *) (((unsigned long) fsf_req) & 0xFFFFFF00),
- sizeof (struct zfcp_fsf_req));
debug_text_exception(adapter->erp_dbf, 0, "prot_unsup_qtcb");
zfcp_erp_adapter_shutdown(adapter, 0);
zfcp_cmd_dbf_event_fsf("unsqtcbt", fsf_req,
case FSF_PROT_DUPLICATE_REQUEST_ID:
ZFCP_LOG_FLAGS(0, "FSF_PROT_DUPLICATE_REQUEST_IDS\n");
if (fsf_req->qtcb) {
- ZFCP_LOG_NORMAL("bug: The request identifier 0x%Lx "
+ ZFCP_LOG_NORMAL("bug: The request identifier 0x%Lx "
"to the adapter %s is ambiguous. "
"Stopping all operations on this "
"adapter.\n",
req_handle),
zfcp_get_busid_by_adapter(adapter));
} else {
- ZFCP_LOG_NORMAL("bug: The request identifier 0x%lx "
+ ZFCP_LOG_NORMAL("bug: The request identifier %p "
"to the adapter %s is ambiguous. "
"Stopping all operations on this "
"adapter. "
"(bug: got this for an unsolicited "
"status read request)\n",
- (unsigned long) fsf_req,
+ fsf_req,
zfcp_get_busid_by_adapter(adapter));
}
debug_text_exception(adapter->erp_dbf, 0, "prot_dup_id");
"(debug info 0x%x).\n",
zfcp_get_busid_by_adapter(adapter),
fsf_req->qtcb->prefix.prot_status);
- ZFCP_LOG_NORMAL("fsf_req=0x%lx, qtcb=0x%lx (0x%lx, 0x%lx)\n",
- (unsigned long) fsf_req,
- (unsigned long) fsf_req->qtcb,
- ((unsigned long) fsf_req) & 0xFFFFFF00,
- (unsigned
- long) ((struct zfcp_fsf_req
- *) (((unsigned long) fsf_req) &
- 0xFFFFFF00))->qtcb);
- ZFCP_HEX_DUMP(ZFCP_LOG_LEVEL_NORMAL,
- (char *) (((unsigned long) fsf_req) & 0xFFFFFF00),
- sizeof (struct zfcp_fsf_req));
- ZFCP_HEX_DUMP(ZFCP_LOG_LEVEL_NORMAL, (char *) fsf_req->qtcb,
- sizeof(struct fsf_qtcb));
debug_text_event(adapter->erp_dbf, 0, "prot_inval:");
debug_exception(adapter->erp_dbf, 0,
&fsf_req->qtcb->prefix.prot_status,
int retval = 0;
if (unlikely(fsf_req->status & ZFCP_STATUS_FSFREQ_ERROR)) {
- ZFCP_LOG_TRACE("fsf_req=0x%lx, QTCB=0x%lx\n",
- (unsigned long) fsf_req,
- (unsigned long) (fsf_req->qtcb));
+ ZFCP_LOG_TRACE("fsf_req=%p, QTCB=%p\n", fsf_req, fsf_req->qtcb);
ZFCP_HEX_DUMP(ZFCP_LOG_LEVEL_TRACE,
(char *) fsf_req->qtcb, sizeof(struct fsf_qtcb));
}
ZFCP_LOG_FLAGS(2, "FSF_QTCB_UNKNOWN\n");
fsf_req->status |= ZFCP_STATUS_FSFREQ_ERROR;
ZFCP_LOG_NORMAL("bug: Command issued by the device driver is "
- "not supported by the adapter %s "
- "(debug info 0x%lx 0x%x).\n",
- zfcp_get_busid_by_adapter(fsf_req->adapter),
- (unsigned long) fsf_req, fsf_req->fsf_command);
+ "not supported by the adapter %s\n",
+ zfcp_get_busid_by_adapter(fsf_req->adapter));
if (fsf_req->fsf_command != fsf_req->qtcb->header.fsf_command)
ZFCP_LOG_NORMAL
("bug: Command issued by the device driver differs "
adapter->pool.fsf_req_status_read,
&lock_flags, &fsf_req);
if (retval < 0) {
- ZFCP_LOG_INFO("error: Out of resources. Could not create an "
- "unsolicited status buffer for "
- "the adapter %s.\n",
+ ZFCP_LOG_INFO("error: Could not create unsolicited status "
+ "buffer for adapter %s.\n",
zfcp_get_busid_by_adapter(adapter));
goto failed_req_create;
}
goto failed_req_send;
}
- ZFCP_LOG_TRACE("Status Read request initiated "
- "(adapter busid=%s)\n",
+ ZFCP_LOG_TRACE("Status Read request initiated (adapter%s)\n",
zfcp_get_busid_by_adapter(adapter));
debug_text_event(adapter->req_dbf, 1, "unso");
goto out;
read_unlock_irqrestore(&zfcp_data.config_lock, flags);
if (!port || (port->d_id != (status_buffer->d_id & ZFCP_DID_MASK))) {
- ZFCP_LOG_NORMAL("bug: Re-open port indication received for the "
- "non-existing port with DID 0x%3.3x, on "
- "the adapter %s. Ignored.\n",
+ ZFCP_LOG_NORMAL("bug: Reopen port indication received for"
+ "nonexisting port with d_id 0x%08x on "
+ "adapter %s. Ignored.\n",
status_buffer->d_id & ZFCP_DID_MASK,
zfcp_get_busid_by_adapter(adapter));
goto out;
debug_exception(adapter->erp_dbf, 0,
&status_buffer->status_subtype, sizeof (u32));
ZFCP_LOG_NORMAL("bug: Undefined status subtype received "
- "for a re-open indication on the port with "
- "DID 0x%3.3x, on the adapter "
- "%s. Ignored. (debug info 0x%x)\n",
+ "for a reopen indication on port with "
+ "d_id 0x%08x on the adapter %s. "
+ "Ignored. (debug info 0x%x)\n",
status_buffer->d_id,
zfcp_get_busid_by_adapter(adapter),
status_buffer->status_subtype);
case FSF_STATUS_READ_LINK_UP:
ZFCP_LOG_FLAGS(1, "FSF_STATUS_READ_LINK_UP\n");
debug_text_event(adapter->erp_dbf, 2, "unsol_link_up:");
- ZFCP_LOG_INFO("The local link to the adapter %s "
- "was re-plugged. "
- "Re-starting operations on this adapter..\n",
+ ZFCP_LOG_INFO("Local link to adapter %s was replugged. "
+ "Restarting operations on this adapter\n",
zfcp_get_busid_by_adapter(adapter));
/* All ports should be marked as ready to run again */
zfcp_erp_modify_adapter_status(adapter,
case FSF_STATUS_READ_CFDC_UPDATED:
ZFCP_LOG_FLAGS(1, "FSF_STATUS_READ_CFDC_UPDATED\n");
debug_text_event(adapter->erp_dbf, 2, "unsol_cfdc_update:");
- ZFCP_LOG_NORMAL(
- "CFDC has been updated on the adapter %s\n",
- zfcp_get_busid_by_adapter(adapter));
+ ZFCP_LOG_INFO("CFDC has been updated on the adapter %s\n",
+ zfcp_get_busid_by_adapter(adapter));
break;
case FSF_STATUS_READ_CFDC_HARDENED:
debug_text_event(adapter->erp_dbf, 2, "unsol_cfdc_harden:");
switch (status_buffer->status_subtype) {
case FSF_STATUS_READ_SUB_CFDC_HARDENED_ON_SE:
- ZFCP_LOG_NORMAL(
- "CFDC of the adapter %s "
- "has been saved on the SE\n",
- zfcp_get_busid_by_adapter(adapter));
+ ZFCP_LOG_INFO("CFDC of adapter %s saved on SE\n",
+ zfcp_get_busid_by_adapter(adapter));
break;
case FSF_STATUS_READ_SUB_CFDC_HARDENED_ON_SE2:
- ZFCP_LOG_NORMAL(
- "CFDC of the adapter %s "
- "has been copied to the secondary SE\n",
+ ZFCP_LOG_INFO("CFDC of adapter %s has been copied "
+ "to the secondary SE\n",
zfcp_get_busid_by_adapter(adapter));
break;
default:
- ZFCP_LOG_NORMAL(
- "CFDC of the adapter %s has been hardened\n",
- zfcp_get_busid_by_adapter(adapter));
+ ZFCP_LOG_INFO("CFDC of adapter %s has been hardened\n",
+ zfcp_get_busid_by_adapter(adapter));
}
break;
debug_exception(adapter->erp_dbf, 0,
&status_buffer->status_type, sizeof (u32));
ZFCP_LOG_NORMAL("bug: An unsolicited status packet of unknown "
- "type was received by the zfcp-driver "
- "(debug info 0x%x)\n",
+ "type was received (debug info 0x%x)\n",
status_buffer->status_type);
- ZFCP_LOG_DEBUG("Dump of status_read_buffer 0x%lx:\n",
- (unsigned long) status_buffer);
+ ZFCP_LOG_DEBUG("Dump of status_read_buffer %p:\n",
+ status_buffer);
ZFCP_HEX_DUMP(ZFCP_LOG_LEVEL_DEBUG,
(char *) status_buffer,
sizeof (struct fsf_status_read_buffer));
*/
retval = zfcp_fsf_status_read(adapter, 0);
if (retval < 0) {
- ZFCP_LOG_INFO("Outbound queue busy. "
- "Could not create use an "
- "unsolicited status read request for "
- "the adapter %s.\n",
+ ZFCP_LOG_INFO("Failed to create unsolicited status read "
+ "request for the adapter %s.\n",
zfcp_get_busid_by_adapter(adapter));
/* temporary fix to avoid status read buffer shortage */
adapter->status_read_failed++;
if ((ZFCP_STATUS_READS_RECOM - adapter->status_read_failed)
< ZFCP_STATUS_READ_FAILED_THRESHOLD) {
- ZFCP_LOG_INFO("restart adapter due to status read "
- "buffer shortage (busid %s)\n",
+ ZFCP_LOG_INFO("restart adapter %s due to status read "
+ "buffer shortage\n",
zfcp_get_busid_by_adapter(adapter));
zfcp_erp_adapter_reopen(adapter, 0);
}
req_flags, adapter->pool.fsf_req_abort,
&lock_flags, &fsf_req);
if (retval < 0) {
- ZFCP_LOG_INFO("error: Out of resources. Could not create an "
- "abort command request on the device with "
- "the FCP-LUN 0x%Lx connected to "
- "the port with WWPN 0x%Lx connected to "
- "the adapter %s.\n",
+ ZFCP_LOG_INFO("error: Failed to create an abort command "
+ "request for lun 0x%016Lx on port 0x%016Lx "
+ "on adapter %s.\n",
unit->fcp_lun,
unit->port->wwpn,
zfcp_get_busid_by_adapter(adapter));
retval = zfcp_fsf_req_send(fsf_req, NULL);
if (retval) {
del_timer(&adapter->scsi_er_timer);
- ZFCP_LOG_INFO("error: Could not send an abort command request "
- "for a command on the adapter %s, "
- "port WWPN 0x%Lx and unit LUN 0x%Lx\n",
+ ZFCP_LOG_INFO("error: Failed to send abort command request "
+ "on adapter %s, port 0x%016Lx, unit 0x%016Lx\n",
zfcp_get_busid_by_adapter(adapter),
unit->port->wwpn, unit->fcp_lun);
zfcp_fsf_req_free(fsf_req);
}
ZFCP_LOG_DEBUG("Abort FCP Command request initiated "
- "(adapter busid=%s, port d_id=0x%x, "
- "unit fcp_lun=0x%Lx, old_req_id=0x%lx)\n",
+ "(adapter%s, port d_id=0x%08x, "
+ "unit x%016Lx, old_req_id=0x%lx)\n",
zfcp_get_busid_by_adapter(adapter),
- (unsigned int) unit->port->d_id,
+ unit->port->d_id,
unit->fcp_lun, old_req_id);
out:
write_unlock_irqrestore(&adapter->request_queue.queue_lock, lock_flags);
*/
} else {
ZFCP_LOG_FLAGS(1, "FSF_PORT_HANDLE_NOT_VALID\n");
- ZFCP_LOG_INFO("Temporary port identifier (handle) 0x%x "
- "for the port with WWPN 0x%Lx connected "
- "to the adapter %s is not valid. This "
- "may happen occasionally.\n",
+ ZFCP_LOG_INFO("Temporary port identifier 0x%x for "
+ "port 0x%016Lx on adapter %s invalid. "
+ "This may happen occasionally.\n",
unit->port->handle,
unit->port->wwpn,
zfcp_get_busid_by_unit(unit));
} else {
ZFCP_LOG_FLAGS(1, "FSF_LUN_HANDLE_NOT_VALID\n");
ZFCP_LOG_INFO
- ("Warning: Temporary LUN identifier (handle) 0x%x "
- "of the logical unit with FCP-LUN 0x%Lx at "
- "the remote port with WWPN 0x%Lx connected "
- "to the adapter %s is "
- "not valid. This may happen in rare cases."
+ ("Warning: Temporary LUN identifier 0x%x of LUN "
+ "0x%016Lx on port 0x%016Lx on adapter %s is "
+ "invalid. This may happen in rare cases. "
"Trying to re-establish link.\n",
unit->handle,
unit->fcp_lun,
case FSF_PORT_BOXED:
/* 2 */
ZFCP_LOG_FLAGS(0, "FSF_PORT_BOXED\n");
- ZFCP_LOG_DEBUG("The remote port "
- "with WWPN 0x%Lx on the adapter %s "
- "needs to be reopened\n",
- unit->port->wwpn, zfcp_get_busid_by_unit(unit));
+ ZFCP_LOG_INFO("Remote port 0x%016Lx on adapter %s needs to "
+ "be reopened\n", unit->port->wwpn,
+ zfcp_get_busid_by_unit(unit));
debug_text_event(new_fsf_req->adapter->erp_dbf, 2,
"fsf_s_pboxed");
zfcp_erp_port_reopen(unit->port, 0);
ZFCP_WAIT_FOR_SBAL | ZFCP_REQ_AUTO_CLEANUP,
pool, &lock_flags, &fsf_req);
if (ret < 0) {
- ZFCP_LOG_INFO("error: out of memory. Could not create CT "
- "request (FC-GS). (adapter: %s)\n",
+ ZFCP_LOG_INFO("error: Could not create CT request (FC-GS) for "
+ "adapter: %s\n",
zfcp_get_busid_by_adapter(adapter));
goto failed_req;
}
ct->req, ct->req_count,
ZFCP_MAX_SBALS_PER_CT_REQ);
if (bytes <= 0) {
- ZFCP_LOG_INFO("error: out of resources (outbuf). "
- "Could not create CT request (FC-GS). "
- "(adapter: %s)\n",
+ ZFCP_LOG_INFO("error: creation of CT request failed "
+ "on adapter %s\n",
zfcp_get_busid_by_adapter(adapter));
if (bytes == 0)
ret = -ENOMEM;
ct->resp, ct->resp_count,
ZFCP_MAX_SBALS_PER_CT_REQ);
if (bytes <= 0) {
- ZFCP_LOG_INFO("error: out of resources (inbuf). "
- "Could not create a CT request (FC-GS). "
- "(adapter: %s)\n",
+ ZFCP_LOG_INFO("error: creation of CT request failed "
+ "on adapter %s\n",
zfcp_get_busid_by_adapter(adapter));
if (bytes == 0)
ret = -ENOMEM;
} else {
/* reject send generic request */
ZFCP_LOG_INFO(
- "error: microcode does not support chained SBALs."
- "CT request (FC-GS) too big. (adapter: %s)\n",
+ "error: microcode does not support chained SBALs,"
+ "CT request too big (adapter %s)\n",
zfcp_get_busid_by_adapter(adapter));
ret = -EOPNOTSUPP;
goto failed_send;
/* start QDIO request for this FSF request */
ret = zfcp_fsf_req_send(fsf_req, ct->timer);
if (ret) {
- ZFCP_LOG_DEBUG("error: out of resources. Could not send CT "
- "request (FC-GS). (adapter: %s, "
- "port WWPN 0x%Lx)\n",
+ ZFCP_LOG_DEBUG("error: initiation of CT request failed "
+ "(adapter %s, port 0x%016Lx)\n",
zfcp_get_busid_by_adapter(adapter), port->wwpn);
goto failed_send;
}
- ZFCP_LOG_DEBUG("CT request initiated. (adapter: %s, port WWPN 0x%Lx)\n",
+ ZFCP_LOG_DEBUG("CT request initiated (adapter %s, port 0x%016Lx)\n",
zfcp_get_busid_by_adapter(adapter), port->wwpn);
goto out;
case FSF_SERVICE_CLASS_NOT_SUPPORTED :
ZFCP_LOG_FLAGS(2, "FSF_SERVICE_CLASS_NOT_SUPPORTED\n");
if (adapter->fc_service_class <= 3) {
- ZFCP_LOG_INFO("error: The adapter %s does "
- "not support fibre-channel class %d.\n",
- zfcp_get_busid_by_port(port),
+ ZFCP_LOG_INFO("error: adapter %s does not support fc "
+ "class %d.\n",
+ zfcp_get_busid_by_port(port),
adapter->fc_service_class);
} else {
ZFCP_LOG_INFO("bug: The fibre channel class at the "
"adapter %s is invalid. "
"(debug info %d)\n",
- zfcp_get_busid_by_port(port),
+ zfcp_get_busid_by_port(port),
adapter->fc_service_class);
}
/* stop operation for this adapter */
case FSF_ACCESS_DENIED:
ZFCP_LOG_FLAGS(2, "FSF_ACCESS_DENIED\n");
ZFCP_LOG_NORMAL("Access denied, cannot send generic command "
- "to a port with WWPN 0x%Lx connected "
- "to the adapter %s\n", port->wwpn,
+ "to port 0x%016Lx on adapter %s\n", port->wwpn,
zfcp_get_busid_by_port(port));
for (counter = 0; counter < 2; counter++) {
subtable = header->fsf_status_qual.halfword[counter * 2];
case FSF_GENERIC_COMMAND_REJECTED :
ZFCP_LOG_FLAGS(2, "FSF_GENERIC_COMMAND_REJECTED\n");
- ZFCP_LOG_INFO("warning: The port with WWPN 0x%Lx connected to "
- "the adapter %s has "
+ ZFCP_LOG_INFO("warning: The port 0x%016Lx on adapter %s has "
"rejected a generic services command.\n",
port->wwpn, zfcp_get_busid_by_port(port));
ZFCP_LOG_INFO("status qualifier:\n");
case FSF_PORT_HANDLE_NOT_VALID :
ZFCP_LOG_FLAGS(2, "FSF_PORT_HANDLE_NOT_VALID\n");
- ZFCP_LOG_DEBUG("Temporary port identifier (handle) 0x%x "
- "for the port with WWPN 0x%Lx connected to "
- "the adapter %s is "
- "not valid. This may happen occasionally.\n",
- port->handle,
+ ZFCP_LOG_DEBUG("Temporary port identifier 0x%x for port "
+ "0x%016Lx on adapter %s invalid. This may "
+ "happen occasionally.\n", port->handle,
port->wwpn, zfcp_get_busid_by_port(port));
ZFCP_LOG_INFO("status qualifier:\n");
ZFCP_HEX_DUMP(ZFCP_LOG_LEVEL_INFO,
case FSF_REQUEST_BUF_NOT_VALID :
ZFCP_LOG_FLAGS(2, "FSF_REQUEST_BUF_NOT_VALID\n");
- ZFCP_LOG_NORMAL("error: The port with WWPN 0x%Lx connected to "
- "the adapter %s has "
+ ZFCP_LOG_NORMAL("error: The port 0x%016Lx on adapter %s has "
"rejected a generic services command "
"due to invalid request buffer.\n",
port->wwpn, zfcp_get_busid_by_port(port));
case FSF_RESPONSE_BUF_NOT_VALID :
ZFCP_LOG_FLAGS(2, "FSF_RESPONSE_BUF_NOT_VALID\n");
- ZFCP_LOG_NORMAL("error: The port with WWPN 0x%Lx connected to "
- "the adapter %s has "
+ ZFCP_LOG_NORMAL("error: The port 0x%016Lx on adapter %s has "
"rejected a generic services command "
"due to invalid response buffer.\n",
port->wwpn, zfcp_get_busid_by_port(port));
case FSF_PORT_BOXED :
ZFCP_LOG_FLAGS(2, "FSF_PORT_BOXED\n");
- ZFCP_LOG_DEBUG("The remote port "
- "with WWPN 0x%Lx on the adapter %s "
+ ZFCP_LOG_INFO("The remote port 0x%016Lx on adapter %s "
"needs to be reopened\n",
port->wwpn, zfcp_get_busid_by_port(port));
debug_text_event(adapter->erp_dbf, 2, "fsf_s_pboxed");
ZFCP_WAIT_FOR_SBAL|ZFCP_REQ_AUTO_CLEANUP,
NULL, &lock_flags, &fsf_req);
if (ret < 0) {
- ZFCP_LOG_INFO("error: out of memory. Could not create ELS "
- "request. (adapter: %s, port did: 0x%06x)\n",
+ ZFCP_LOG_INFO("error: creation of ELS request failed "
+ "(adapter %s, port d_id: 0x%08x)\n",
zfcp_get_busid_by_adapter(adapter), port->d_id);
goto failed_req;
}
els->req, els->req_count,
ZFCP_MAX_SBALS_PER_ELS_REQ);
if (bytes <= 0) {
- ZFCP_LOG_INFO("error: out of resources (outbuf). "
- "Could not create ELS request. "
- "(adapter: %s, port did: 0x%06x)\n",
+ ZFCP_LOG_INFO("error: creation of ELS request failed "
+ "(adapter %s, port d_id: 0x%08x)\n",
zfcp_get_busid_by_adapter(adapter),
port->d_id);
if (bytes == 0) {
els->resp, els->resp_count,
ZFCP_MAX_SBALS_PER_ELS_REQ);
if (bytes <= 0) {
- ZFCP_LOG_INFO("error: out of resources (inbuf). "
- "Could not create ELS request. "
- "(adapter: %s, port did: 0x%06x)\n",
+ ZFCP_LOG_INFO("error: creation of ELS request failed "
+ "(adapter %s, port d_id: 0x%08x)\n",
zfcp_get_busid_by_adapter(adapter),
port->d_id);
if (bytes == 0) {
fsf_req->qtcb->bottom.support.resp_buf_length = bytes;
} else {
/* reject request */
- ZFCP_LOG_INFO("error: microcode does not support chained SBALs."
- "ELS request too big. "
- "(adapter: %s, port did: 0x%06x)\n",
+ ZFCP_LOG_INFO("error: microcode does not support chained SBALs"
+ ", ELS request too big (adapter %s, "
+ "port d_id: 0x%08x)\n",
zfcp_get_busid_by_adapter(adapter), port->d_id);
ret = -EOPNOTSUPP;
goto failed_send;
/* start QDIO request for this FSF request */
ret = zfcp_fsf_req_send(fsf_req, NULL);
if (ret) {
- ZFCP_LOG_DEBUG("error: out of resources. Could not send ELS "
- "request. (adapter: %s, port WWPN 0x%Lx)\n",
+ ZFCP_LOG_DEBUG("error: initiation of ELS request failed "
+ "(adapter %s, port 0x%016Lx)\n",
zfcp_get_busid_by_adapter(adapter), port->wwpn);
goto failed_send;
}
- ZFCP_LOG_DEBUG("ELS request initiated (adapter: %s, port WWPN 0x%Lx)\n",
+ ZFCP_LOG_DEBUG("ELS request initiated (adapter %s, port 0x%016Lx)\n",
zfcp_get_busid_by_adapter(adapter), port->wwpn);
goto out;
case FSF_SERVICE_CLASS_NOT_SUPPORTED:
ZFCP_LOG_FLAGS(2, "FSF_SERVICE_CLASS_NOT_SUPPORTED\n");
if (adapter->fc_service_class <= 3) {
- ZFCP_LOG_INFO("error: The adapter %s does "
- "not support fibre-channel class %d.\n",
+ ZFCP_LOG_INFO("error: adapter %s does "
+ "not support fibrechannel class %d.\n",
zfcp_get_busid_by_port(port),
adapter->fc_service_class);
} else {
- ZFCP_LOG_INFO("bug: The fibre channel class at the "
+ ZFCP_LOG_INFO("bug: The fibrechannel class at "
"adapter %s is invalid. "
"(debug info %d)\n",
zfcp_get_busid_by_port(port),
case FSF_ELS_COMMAND_REJECTED:
ZFCP_LOG_FLAGS(2, "FSF_ELS_COMMAND_REJECTED\n");
- ZFCP_LOG_INFO("The ELS command has been rejected because "
- "a command filter in the FCP channel prohibited "
- "sending of the ELS to the SAN "
+ ZFCP_LOG_INFO("ELS has been rejected because command filter "
+ "prohibited sending "
"(adapter: %s, wwpn=0x%016Lx)\n",
zfcp_get_busid_by_port(port), port->wwpn);
erp_action->adapter->pool.fsf_req_erp,
&lock_flags, &(erp_action->fsf_req));
if (retval < 0) {
- ZFCP_LOG_INFO("error: Out of resources. Could not create an "
- "exchange configuration data request for"
- "the adapter %s.\n",
+ ZFCP_LOG_INFO("error: Could not create exchange configuration "
+ "data request for adapter %s.\n",
zfcp_get_busid_by_adapter(erp_action->adapter));
goto out;
}
erp_action->fsf_req->erp_action = erp_action;
erp_action->fsf_req->qtcb->bottom.config.feature_selection =
- FSF_FEATURE_CFDC |
- FSF_FEATURE_LOST_SAN_NOTIFICATION;
+ FSF_FEATURE_CFDC;
/* start QDIO request for this FSF request */
retval = zfcp_fsf_req_send(erp_action->fsf_req, &erp_action->timer);
if (retval) {
ZFCP_LOG_INFO
- ("error: Could not send an exchange configuration data "
+ ("error: Could not send exchange configuration data "
"command on the adapter %s\n",
zfcp_get_busid_by_adapter(erp_action->adapter));
zfcp_fsf_req_free(erp_action->fsf_req);
goto out;
}
- ZFCP_LOG_DEBUG("Exchange Configuration Data request initiated "
- "(adapter busid=%s)\n",
+ ZFCP_LOG_DEBUG("exchange configuration data request initiated "
+ "(adapter %s)\n",
zfcp_get_busid_by_adapter(erp_action->adapter));
out:
switch (adapter->fc_topology) {
case FSF_TOPO_P2P:
ZFCP_LOG_FLAGS(1, "FSF_TOPO_P2P\n");
- ZFCP_LOG_NORMAL("error: Point-to-point fibre-channel "
- "configuration detected "
- "at the adapter %s, not "
- "supported, shutting down adapter\n",
+ ZFCP_LOG_NORMAL("error: Point-to-point fibrechannel "
+ "configuration detected at adapter %s "
+ "unsupported, shutting down adapter\n",
zfcp_get_busid_by_adapter(adapter));
debug_text_event(fsf_req->adapter->erp_dbf, 0,
"top-p-to-p");
return -EIO;
case FSF_TOPO_AL:
ZFCP_LOG_FLAGS(1, "FSF_TOPO_AL\n");
- ZFCP_LOG_NORMAL("error: Arbitrated loop fibre-channel "
- "topology detected "
- "at the adapter %s, not "
- "supported, shutting down adapter\n",
+ ZFCP_LOG_NORMAL("error: Arbitrated loop fibrechannel "
+ "topology detected at adapter %s "
+ "unsupported, shutting down adapter\n",
zfcp_get_busid_by_adapter(adapter));
debug_text_event(fsf_req->adapter->erp_dbf, 0,
"top-al");
return -EIO;
case FSF_TOPO_FABRIC:
ZFCP_LOG_FLAGS(1, "FSF_TOPO_FABRIC\n");
- ZFCP_LOG_INFO("Switched fabric fibre-channel "
- "network detected "
- "at the adapter %s.\n",
+ ZFCP_LOG_INFO("Switched fabric fibrechannel "
+ "network detected at adapter %s.\n",
zfcp_get_busid_by_adapter(adapter));
break;
default:
- ZFCP_LOG_NORMAL("bug: The fibre-channel topology "
+ ZFCP_LOG_NORMAL("bug: The fibrechannel topology "
"reported by the exchange "
"configuration command for "
"the adapter %s is not "
erp_action->adapter->pool.fsf_req_erp,
&lock_flags, &(erp_action->fsf_req));
if (retval < 0) {
- ZFCP_LOG_INFO("error: Out of resources. Could not create an "
- "open port request for "
- "the port with WWPN 0x%Lx connected to "
- "the adapter %s.\n",
+ ZFCP_LOG_INFO("error: Could not create open port request "
+ "for port 0x%016Lx on adapter %s.\n",
erp_action->port->wwpn,
zfcp_get_busid_by_adapter(erp_action->adapter));
goto out;
/* start QDIO request for this FSF request */
retval = zfcp_fsf_req_send(erp_action->fsf_req, &erp_action->timer);
if (retval) {
- ZFCP_LOG_INFO("error: Could not send an "
- "open port request for "
- "the port with WWPN 0x%Lx connected to "
- "the adapter %s.\n",
+ ZFCP_LOG_INFO("error: Could not send open port request for "
+ "port 0x%016Lx on adapter %s.\n",
erp_action->port->wwpn,
zfcp_get_busid_by_adapter(erp_action->adapter));
zfcp_fsf_req_free(erp_action->fsf_req);
goto out;
}
- ZFCP_LOG_DEBUG("Open Port request initiated "
- "(adapter busid=%s, port wwpn=0x%Lx)\n",
+ ZFCP_LOG_DEBUG("open port request initiated "
+ "(adapter %s, port 0x%016Lx)\n",
zfcp_get_busid_by_adapter(erp_action->adapter),
erp_action->port->wwpn);
out:
case FSF_PORT_ALREADY_OPEN:
ZFCP_LOG_FLAGS(0, "FSF_PORT_ALREADY_OPEN\n");
- ZFCP_LOG_NORMAL("bug: The remote port with WWPN=0x%Lx "
- "connected to the adapter %s "
+ ZFCP_LOG_NORMAL("bug: remote port 0x%016Lx on adapter %s "
"is already open.\n",
port->wwpn, zfcp_get_busid_by_port(port));
debug_text_exception(fsf_req->adapter->erp_dbf, 0,
case FSF_ACCESS_DENIED:
ZFCP_LOG_FLAGS(2, "FSF_ACCESS_DENIED\n");
- ZFCP_LOG_NORMAL("Access denied, cannot open port "
- "with WWPN 0x%Lx connected to the adapter %s\n",
+ ZFCP_LOG_NORMAL("Access denied, cannot open port 0x%016Lx "
+ "on adapter %s\n",
port->wwpn, zfcp_get_busid_by_port(port));
for (counter = 0; counter < 2; counter++) {
subtable = header->fsf_status_qual.halfword[counter * 2];
case FSF_MAXIMUM_NUMBER_OF_PORTS_EXCEEDED:
ZFCP_LOG_FLAGS(1, "FSF_MAXIMUM_NUMBER_OF_PORTS_EXCEEDED\n");
ZFCP_LOG_INFO("error: The FSF adapter is out of resources. "
- "The remote port with WWPN=0x%Lx "
- "connected to the adapter %s "
+ "The remote port 0x%016Lx on adapter %s "
"could not be opened. Disabling it.\n",
port->wwpn, zfcp_get_busid_by_port(port));
debug_text_event(fsf_req->adapter->erp_dbf, 1,
break;
case FSF_SQ_NO_RETRY_POSSIBLE:
ZFCP_LOG_FLAGS(0, "FSF_SQ_NO_RETRY_POSSIBLE\n");
- ZFCP_LOG_NORMAL("The remote port with WWPN=0x%Lx "
- "connected to the adapter %s "
- "could not be opened. Disabling it.\n",
+ ZFCP_LOG_NORMAL("The remote port 0x%016Lx on "
+ "adapter %s could not be opened. "
+ "Disabling it.\n",
port->wwpn,
zfcp_get_busid_by_port(port));
debug_text_exception(fsf_req->adapter->erp_dbf, 0,
ZFCP_LOG_FLAGS(3, "FSF_GOOD\n");
/* save port handle assigned by FSF */
port->handle = header->port_handle;
- ZFCP_LOG_INFO("The remote port (WWPN=0x%Lx) via adapter "
- "(busid=%s) was opened, it's "
- "port handle is 0x%x\n",
- port->wwpn,
- zfcp_get_busid_by_port(port),
+ ZFCP_LOG_INFO("The remote port 0x%016Lx via adapter %s "
+ "was opened, it's port handle is 0x%x\n",
+ port->wwpn, zfcp_get_busid_by_port(port),
port->handle);
/* mark port as open */
atomic_set_mask(ZFCP_STATUS_COMMON_OPEN |
/* skip sanity check and assume wwpn is ok */
} else {
if (plogi->serv_param.wwpn != port->wwpn) {
- ZFCP_LOG_INFO("warning: D_ID of port "
- "with WWPN 0x%Lx changed "
- "during open\n", port->wwpn);
+ ZFCP_LOG_INFO("warning: d_id of port "
+ "0x%016Lx changed during "
+ "open\n", port->wwpn);
debug_text_event(
fsf_req->adapter->erp_dbf, 0,
"fsf_s_did_change:");
erp_action->adapter->pool.fsf_req_erp,
&lock_flags, &(erp_action->fsf_req));
if (retval < 0) {
- ZFCP_LOG_INFO("error: Out of resources. Could not create a "
- "close port request for WWPN 0x%Lx connected to "
- "the adapter %s.\n",
+ ZFCP_LOG_INFO("error: Could not create a close port request "
+ "for port 0x%016Lx on adapter %s.\n",
erp_action->port->wwpn,
zfcp_get_busid_by_adapter(erp_action->adapter));
goto out;
/* start QDIO request for this FSF request */
retval = zfcp_fsf_req_send(erp_action->fsf_req, &erp_action->timer);
if (retval) {
- ZFCP_LOG_INFO("error: Could not send a "
- "close port request for WWPN 0x%Lx connected to "
- "the adapter %s.\n",
+ ZFCP_LOG_INFO("error: Could not send a close port request for "
+ "port 0x%016Lx on adapter %s.\n",
erp_action->port->wwpn,
zfcp_get_busid_by_adapter(erp_action->adapter));
zfcp_fsf_req_free(erp_action->fsf_req);
goto out;
}
- ZFCP_LOG_TRACE("Close Port request initiated "
- "(adapter busid=%s, port wwpn=0x%Lx)\n",
+ ZFCP_LOG_TRACE("close port request initiated "
+ "(adapter %s, port 0x%016Lx)\n",
zfcp_get_busid_by_adapter(erp_action->adapter),
erp_action->port->wwpn);
out:
case FSF_PORT_HANDLE_NOT_VALID:
ZFCP_LOG_FLAGS(1, "FSF_PORT_HANDLE_NOT_VALID\n");
- ZFCP_LOG_INFO("Temporary port identifier (handle) 0x%x "
- "for the port with WWPN 0x%Lx connected to "
- "the adapter %s is "
- "not valid. This may happen occasionally.\n",
- port->handle,
+ ZFCP_LOG_INFO("Temporary port identifier 0x%x for port "
+ "0x%016Lx on adapter %s invalid. This may happen "
+ "occasionally.\n", port->handle,
port->wwpn, zfcp_get_busid_by_port(port));
ZFCP_LOG_DEBUG("status qualifier:\n");
ZFCP_HEX_DUMP(ZFCP_LOG_LEVEL_DEBUG,
case FSF_GOOD:
ZFCP_LOG_FLAGS(3, "FSF_GOOD\n");
- ZFCP_LOG_TRACE("remote port (WWPN=0x%Lx) via adapter "
- "(busid=%s) closed, port handle 0x%x\n",
- port->wwpn,
- zfcp_get_busid_by_port(port),
- port->handle);
+ ZFCP_LOG_TRACE("remote port 0x016%Lx on adapter %s closed, "
+ "port handle 0x%x\n", port->wwpn,
+ zfcp_get_busid_by_port(port), port->handle);
zfcp_erp_modify_port_status(port,
ZFCP_STATUS_COMMON_OPEN,
ZFCP_CLEAR);
erp_action->adapter->pool.fsf_req_erp,
&lock_flags, &erp_action->fsf_req);
if (retval < 0) {
- ZFCP_LOG_INFO("error: Out of resources. Could not create a "
- "close physical port request for "
- "the port with WWPN 0x%Lx connected to "
- "the adapter %s.\n",
- erp_action->port->wwpn,
- zfcp_get_busid_by_adapter(erp_action->adapter));
+ ZFCP_LOG_INFO("error: Could not create close physical port "
+ "request (adapter %s, port 0x%016Lx)\n",
+ zfcp_get_busid_by_adapter(erp_action->adapter),
+ erp_action->port->wwpn);
+
goto out;
}
/* start QDIO request for this FSF request */
retval = zfcp_fsf_req_send(erp_action->fsf_req, &erp_action->timer);
if (retval) {
- ZFCP_LOG_INFO("error: Could not send an close physical port "
- "request for the port with WWPN 0x%Lx connected "
- "to the adapter %s.\n",
- erp_action->port->wwpn,
- zfcp_get_busid_by_adapter(erp_action->adapter));
+ ZFCP_LOG_INFO("error: Could not send close physical port "
+ "request (adapter %s, port 0x%016Lx)\n",
+ zfcp_get_busid_by_adapter(erp_action->adapter),
+ erp_action->port->wwpn);
zfcp_fsf_req_free(erp_action->fsf_req);
erp_action->fsf_req = NULL;
goto out;
}
- ZFCP_LOG_TRACE("Close Physical Port request initiated "
- "(adapter busid=%s, port wwpn=0x%Lx)\n",
+ ZFCP_LOG_TRACE("close physical port request initiated "
+ "(adapter %s, port 0x%016Lx)\n",
zfcp_get_busid_by_adapter(erp_action->adapter),
erp_action->port->wwpn);
out:
case FSF_PORT_HANDLE_NOT_VALID:
ZFCP_LOG_FLAGS(1, "FSF_PORT_HANDLE_NOT_VALID\n");
- ZFCP_LOG_INFO("Temporary port identifier (handle) 0x%x "
- "for the port with WWPN 0x%Lx connected to "
- "the adapter %s is not valid. This may happen "
- "occasionally.\n",
+ ZFCP_LOG_INFO("Temporary port identifier 0x%x invalid"
+ "(adapter %s, port 0x%016Lx). "
+ "This may happen occasionally.\n",
port->handle,
- port->wwpn,
- zfcp_get_busid_by_port(port));
+ zfcp_get_busid_by_port(port),
+ port->wwpn);
ZFCP_LOG_DEBUG("status qualifier:\n");
ZFCP_HEX_DUMP(ZFCP_LOG_LEVEL_DEBUG,
(char *) &header->fsf_status_qual,
case FSF_ACCESS_DENIED:
ZFCP_LOG_FLAGS(2, "FSF_ACCESS_DENIED\n");
ZFCP_LOG_NORMAL("Access denied, cannot close "
- "physical port with WWPN 0x%Lx connected to "
- "the adapter %s\n", port->wwpn,
+ "physical port 0x%016Lx on "
+ "adapter %s\n", port->wwpn,
zfcp_get_busid_by_port(port));
for (counter = 0; counter < 2; counter++) {
subtable = header->fsf_status_qual.halfword[counter * 2];
case FSF_PORT_BOXED:
ZFCP_LOG_FLAGS(2, "FSF_PORT_BOXED\n");
- ZFCP_LOG_DEBUG("The remote port with WWPN 0x%Lx on the adapter "
+ ZFCP_LOG_DEBUG("The remote port 0x%016Lx on adapter "
"%s needs to be reopened but it was attempted "
"to close it physically.\n",
port->wwpn,
case FSF_GOOD:
ZFCP_LOG_FLAGS(3, "FSF_GOOD\n");
- ZFCP_LOG_DEBUG("Remote port (WWPN=0x%Lx) via adapter "
- "(busid=%s) physically closed, "
- "port handle 0x%x\n",
+ ZFCP_LOG_DEBUG("Remote port 0x%016Lx via adapter %s "
+ "physically closed, port handle 0x%x\n",
port->wwpn,
zfcp_get_busid_by_port(port), port->handle);
/* can't use generic zfcp_erp_modify_port_status because
erp_action->adapter->pool.fsf_req_erp,
&lock_flags, &(erp_action->fsf_req));
if (retval < 0) {
- ZFCP_LOG_INFO("error: Out of resources. Could not create an "
- "open unit request for FCP-LUN 0x%Lx connected "
- "to the port with WWPN 0x%Lx connected to "
- "the adapter %s.\n",
+ ZFCP_LOG_INFO("error: Could not create open unit request for "
+ "unit 0x%016Lx on port 0x%016Lx on adapter %s.\n",
erp_action->unit->fcp_lun,
erp_action->unit->port->wwpn,
zfcp_get_busid_by_adapter(erp_action->adapter));
atomic_set_mask(ZFCP_STATUS_COMMON_OPENING, &erp_action->unit->status);
erp_action->fsf_req->data.open_unit.unit = erp_action->unit;
erp_action->fsf_req->erp_action = erp_action;
-// erp_action->fsf_req->qtcb->bottom.support.option =
-// FSF_OPEN_LUN_UNSOLICITED_SENSE_DATA;
/* start QDIO request for this FSF request */
retval = zfcp_fsf_req_send(erp_action->fsf_req, &erp_action->timer);
if (retval) {
ZFCP_LOG_INFO("error: Could not send an open unit request "
- "on the adapter %s, port WWPN 0x%Lx for "
- "unit LUN 0x%Lx\n",
+ "on the adapter %s, port 0x%016Lx for "
+ "unit 0x%016Lx\n",
zfcp_get_busid_by_adapter(erp_action->adapter),
erp_action->port->wwpn,
erp_action->unit->fcp_lun);
goto out;
}
- ZFCP_LOG_TRACE("Open LUN request initiated (adapter busid=%s, "
- "port wwpn=0x%Lx, unit fcp_lun=0x%Lx)\n",
+ ZFCP_LOG_TRACE("Open LUN request initiated (adapter %s, "
+ "port 0x%016Lx, unit 0x%016Lx)\n",
zfcp_get_busid_by_adapter(erp_action->adapter),
erp_action->port->wwpn, erp_action->unit->fcp_lun);
out:
case FSF_PORT_HANDLE_NOT_VALID:
ZFCP_LOG_FLAGS(1, "FSF_PORT_HANDLE_NOT_VALID\n");
- ZFCP_LOG_INFO("Temporary port identifier (handle) 0x%x "
- "for the port with WWPN 0x%Lx connected to "
- "the adapter %s is "
- "not valid. This may happen occasionally.\n",
+ ZFCP_LOG_INFO("Temporary port identifier 0x%x "
+ "for port 0x%016Lx on adapter %s invalid "
+ "This may happen occasionally\n",
unit->port->handle,
unit->port->wwpn, zfcp_get_busid_by_unit(unit));
ZFCP_LOG_DEBUG("status qualifier:\n");
case FSF_LUN_ALREADY_OPEN:
ZFCP_LOG_FLAGS(0, "FSF_LUN_ALREADY_OPEN\n");
- ZFCP_LOG_NORMAL("bug: Attempted to open the logical unit "
- "with FCP-LUN 0x%Lx at "
- "the remote port with WWPN 0x%Lx connected "
- "to the adapter %s twice.\n",
+ ZFCP_LOG_NORMAL("bug: Attempted to open unit 0x%016Lx on "
+ "remote port 0x%016Lx on adapter %s twice.\n",
unit->fcp_lun,
unit->port->wwpn, zfcp_get_busid_by_unit(unit));
debug_text_exception(adapter->erp_dbf, 0,
case FSF_ACCESS_DENIED:
ZFCP_LOG_FLAGS(2, "FSF_ACCESS_DENIED\n");
- ZFCP_LOG_NORMAL("Access denied, cannot open unit "
- "with FCP-LUN 0x%Lx at the remote port with "
- "WWPN 0x%Lx connected to the adapter %s\n",
- unit->fcp_lun, unit->port->wwpn,
- zfcp_get_busid_by_unit(unit));
+ ZFCP_LOG_NORMAL("Access denied, cannot open unit 0x%016Lx on "
+ "remote port 0x%016Lx on adapter %s\n",
+ unit->fcp_lun, unit->port->wwpn,
+ zfcp_get_busid_by_unit(unit));
for (counter = 0; counter < 2; counter++) {
subtable = header->fsf_status_qual.halfword[counter * 2];
rule = header->fsf_status_qual.halfword[counter * 2 + 1];
case FSF_PORT_BOXED:
ZFCP_LOG_FLAGS(2, "FSF_PORT_BOXED\n");
- ZFCP_LOG_DEBUG("The remote port "
- "with WWPN 0x%Lx on the adapter %s "
+ ZFCP_LOG_DEBUG("The remote port 0x%016Lx on adapter %s "
"needs to be reopened\n",
unit->port->wwpn, zfcp_get_busid_by_unit(unit));
debug_text_event(adapter->erp_dbf, 2, "fsf_s_pboxed");
case FSF_LUN_SHARING_VIOLATION :
ZFCP_LOG_FLAGS(2, "FSF_LUN_SHARING_VIOLATION\n");
- subtable = header->fsf_status_qual.halfword[4];
- rule = header->fsf_status_qual.halfword[5];
- if (rule == 0xFFFF) {
+ if (header->fsf_status_qual.word[0] != 0) {
ZFCP_LOG_NORMAL("FCP-LUN 0x%Lx at the remote port "
- "with WWPN 0x%Lx connected to the "
- "adapter %s is already in use\n",
+ "with WWPN 0x%Lx "
+ "connected to the adapter %s "
+ "is already in use in LPAR%d\n",
unit->fcp_lun,
unit->port->wwpn,
- zfcp_get_busid_by_unit(unit));
+ zfcp_get_busid_by_unit(unit),
+ header->fsf_status_qual.fsf_queue_designator.hla);
} else {
+ subtable = header->fsf_status_qual.halfword[4];
+ rule = header->fsf_status_qual.halfword[5];
switch (subtable) {
case FSF_SQ_CFDC_SUBTABLE_OS:
case FSF_SQ_CFDC_SUBTABLE_PORT_WWPN:
ZFCP_LOG_FLAGS(1, "FSF_MAXIMUM_NUMBER_OF_LUNS_EXCEEDED\n");
ZFCP_LOG_INFO("error: The adapter ran out of resources. "
"There is no handle (temporary port identifier) "
- "available for the unit with FCP-LUN 0x%Lx "
- "at the remote port with WWPN 0x%Lx connected "
- "to the adapter %s\n",
+ "available for unit 0x%016Lx on port 0x%016Lx "
+ "on adapter %s\n",
unit->fcp_lun,
unit->port->wwpn,
zfcp_get_busid_by_unit(unit));
ZFCP_LOG_FLAGS(3, "FSF_GOOD\n");
/* save LUN handle assigned by FSF */
unit->handle = header->lun_handle;
- ZFCP_LOG_TRACE("unit (FCP_LUN=0x%Lx) of remote port "
- "(WWPN=0x%Lx) via adapter (busid=%s) opened, "
- "port handle 0x%x, access flag 0x%02x\n",
+ ZFCP_LOG_TRACE("unit 0x%016Lx on remote port 0x%016Lx on "
+ "adapter %s opened, port handle 0x%x\n",
unit->fcp_lun,
unit->port->wwpn,
zfcp_get_busid_by_unit(unit),
- unit->handle,
- bottom->lun_access);
+ unit->handle);
/* mark unit as open */
atomic_set_mask(ZFCP_STATUS_COMMON_OPEN, &unit->status);
- if (adapter->supported_features & FSF_FEATURE_CFDC)
- unit->lun_access = bottom->lun_access;
retval = 0;
break;
erp_action->adapter->pool.fsf_req_erp,
&lock_flags, &(erp_action->fsf_req));
if (retval < 0) {
- ZFCP_LOG_INFO("error: Out of resources. Could not create a "
- "close unit request for FCP-LUN 0x%Lx "
- "connected to the port with WWPN 0x%Lx connected "
- "to the adapter %s.\n",
+ ZFCP_LOG_INFO("error: Could not create close unit request for "
+ "unit 0x%016Lx on port 0x%016Lx on adapter %s.\n",
erp_action->unit->fcp_lun,
erp_action->port->wwpn,
zfcp_get_busid_by_adapter(erp_action->adapter));
retval = zfcp_fsf_req_send(erp_action->fsf_req, &erp_action->timer);
if (retval) {
ZFCP_LOG_INFO("error: Could not send a close unit request for "
- "FCP-LUN 0x%Lx connected to the port with "
- "WWPN 0x%Lx connected to the adapter %s.\n",
+ "unit 0x%016Lx on port 0x%016Lx onadapter %s.\n",
erp_action->unit->fcp_lun,
erp_action->port->wwpn,
zfcp_get_busid_by_adapter(erp_action->adapter));
goto out;
}
- ZFCP_LOG_TRACE("Close LUN request initiated (adapter busid=%s, "
- "port wwpn=0x%Lx, unit fcp_lun=0x%Lx)\n",
+ ZFCP_LOG_TRACE("Close LUN request initiated (adapter %s, "
+ "port 0x%016Lx, unit 0x%016Lx)\n",
zfcp_get_busid_by_adapter(erp_action->adapter),
erp_action->port->wwpn, erp_action->unit->fcp_lun);
out:
case FSF_PORT_HANDLE_NOT_VALID:
ZFCP_LOG_FLAGS(1, "FSF_PORT_HANDLE_NOT_VALID\n");
- ZFCP_LOG_INFO("Temporary port identifier (handle) 0x%x "
- "for the port with WWPN 0x%Lx connected to "
- "the adapter %s is not valid. This may "
+ ZFCP_LOG_INFO("Temporary port identifier 0x%x for port "
+ "0x%016Lx on adapter %s invalid. This may "
"happen in rare circumstances\n",
unit->port->handle,
unit->port->wwpn,
case FSF_LUN_HANDLE_NOT_VALID:
ZFCP_LOG_FLAGS(1, "FSF_LUN_HANDLE_NOT_VALID\n");
- ZFCP_LOG_INFO("Temporary LUN identifier (handle) 0x%x "
- "of the logical unit with FCP-LUN 0x%Lx at "
- "the remote port with WWPN 0x%Lx connected "
- "to the adapter %s is "
- "not valid. This may happen occasionally.\n",
+ ZFCP_LOG_INFO("Temporary LUN identifier 0x%x of unit "
+ "0x%016Lx on port 0x%016Lx on adapter %s is "
+ "invalid. This may happen occasionally.\n",
unit->handle,
unit->fcp_lun,
unit->port->wwpn,
case FSF_PORT_BOXED:
ZFCP_LOG_FLAGS(2, "FSF_PORT_BOXED\n");
- ZFCP_LOG_DEBUG("The remote port "
- "with WWPN 0x%Lx on the adapter %s "
+ ZFCP_LOG_DEBUG("The remote port 0x%016Lx on adapter %s "
"needs to be reopened\n",
unit->port->wwpn,
zfcp_get_busid_by_unit(unit));
case FSF_GOOD:
ZFCP_LOG_FLAGS(3, "FSF_GOOD\n");
- ZFCP_LOG_TRACE("unit (FCP_LUN=0x%Lx) of remote port "
- "(WWPN=0x%Lx) via adapter (busid=%s) closed, "
- "port handle 0x%x \n",
+ ZFCP_LOG_TRACE("unit 0x%016Lx on port 0x%016Lx on adapter %s "
+ "closed, port handle 0x%x\n",
unit->fcp_lun,
unit->port->wwpn,
zfcp_get_busid_by_unit(unit),
adapter->pool.fsf_req_scsi,
&lock_flags, &fsf_req);
if (unlikely(retval < 0)) {
- ZFCP_LOG_DEBUG("error: Out of resources. Could not create an "
- "FCP command request for FCP-LUN 0x%Lx "
- "connected to the port with WWPN 0x%Lx "
- "connected to the adapter %s.\n",
+ ZFCP_LOG_DEBUG("error: Could not create FCP command request "
+ "for unit 0x%016Lx on port 0x%016Lx on "
+ "adapter %s\n",
unit->fcp_lun,
unit->port->wwpn,
zfcp_get_busid_by_adapter(adapter));
fsf_req->data.send_fcp_command_task.start_jiffies = jiffies;
fsf_req->data.send_fcp_command_task.unit = unit;
- ZFCP_LOG_DEBUG("unit=0x%lx, unit_fcp_lun=0x%Lx\n",
- (unsigned long) unit, unit->fcp_lun);
+ ZFCP_LOG_DEBUG("unit=%p, fcp_lun=0x%016Lx\n", unit, unit->fcp_lun);
/* set handles of unit and its parent port in QTCB */
fsf_req->qtcb->header.lun_handle = unit->handle;
retval = -EIO;
} else {
ZFCP_LOG_NORMAL("error: No truncation implemented but "
- "required. Shutting down unit "
- "(busid=%s, WWPN=0x%16.16Lx, "
- "FCP_LUN=0x%16.16Lx)\n",
+ "required. Shutting down unit "
+ "(adapter %s, port 0x%016Lx, "
+ "unit 0x%016Lx)\n",
zfcp_get_busid_by_unit(unit),
unit->port->wwpn,
unit->fcp_lun);
*/
retval = zfcp_fsf_req_send(fsf_req, NULL);
if (unlikely(retval < 0)) {
- ZFCP_LOG_INFO("error: Could not send an FCP command request "
- "for a command on the adapter %s, "
- "port WWPN 0x%Lx and unit LUN 0x%Lx\n",
+ ZFCP_LOG_INFO("error: Could not send FCP command request "
+ "on adapter %s, port 0x%016Lx, unit 0x%016Lx\n",
zfcp_get_busid_by_adapter(adapter),
unit->port->wwpn,
unit->fcp_lun);
goto send_failed;
}
- ZFCP_LOG_TRACE("Send FCP Command initiated (adapter busid=%s, "
- "port wwpn=0x%Lx, unit fcp_lun=0x%Lx)\n",
+ ZFCP_LOG_TRACE("Send FCP Command initiated (adapter %s, "
+ "port 0x%016Lx, unit 0x%016Lx)\n",
zfcp_get_busid_by_adapter(adapter),
unit->port->wwpn,
unit->fcp_lun);
adapter->pool.fsf_req_scsi,
&lock_flags, &fsf_req);
if (retval < 0) {
- ZFCP_LOG_INFO("error: Out of resources. Could not create an "
- "FCP command (task management) request for "
- "the adapter %s, port with "
- "WWPN 0x%Lx and FCP_LUN 0x%Lx.\n",
+ ZFCP_LOG_INFO("error: Could not create FCP command (task "
+ "management) request for adapter %s, port "
+ " 0x%016Lx, unit 0x%016Lx.\n",
zfcp_get_busid_by_adapter(adapter),
unit->port->wwpn, unit->fcp_lun);
goto out;
if (retval) {
del_timer(&adapter->scsi_er_timer);
ZFCP_LOG_INFO("error: Could not send an FCP-command (task "
- "management) on the adapter %s, port WWPN "
- "0x%Lx for unit LUN 0x%Lx\n",
+ "management) on adapter %s, port 0x%016Lx for "
+ "unit LUN 0x%016Lx\n",
zfcp_get_busid_by_adapter(adapter),
unit->port->wwpn,
unit->fcp_lun);
}
ZFCP_LOG_TRACE("Send FCP Command (task management function) initiated "
- "(adapter busid=%s, port wwpn=0x%Lx, "
- "unit fcp_lun=0x%Lx, tm_flags=0x%x)\n",
+ "(adapter %s, port 0x%016Lx, unit 0x%016Lx, "
+ "tm_flags=0x%x)\n",
zfcp_get_busid_by_adapter(adapter),
unit->port->wwpn,
unit->fcp_lun,
case FSF_PORT_HANDLE_NOT_VALID:
ZFCP_LOG_FLAGS(1, "FSF_PORT_HANDLE_NOT_VALID\n");
- ZFCP_LOG_INFO("Temporary port identifier (handle) 0x%x "
- "for the port with WWPN 0x%Lx connected to "
- "the adapter %s is not valid.\n",
+ ZFCP_LOG_INFO("Temporary port identifier 0x%x for port "
+ "0x%016Lx on adapter %s invalid\n",
unit->port->handle,
unit->port->wwpn, zfcp_get_busid_by_unit(unit));
ZFCP_HEX_DUMP(ZFCP_LOG_LEVEL_DEBUG,
case FSF_LUN_HANDLE_NOT_VALID:
ZFCP_LOG_FLAGS(1, "FSF_LUN_HANDLE_NOT_VALID\n");
- ZFCP_LOG_INFO("Temporary LUN identifier (handle) 0x%x "
- "of the logical unit with FCP-LUN 0x%Lx at "
- "the remote port with WWPN 0x%Lx connected "
- "to the adapter %s is "
- "not valid. This may happen occasionally.\n",
+ ZFCP_LOG_INFO("Temporary LUN identifier 0x%x for unit "
+ "0x%016Lx on port 0x%016Lx on adapter %s is "
+ "invalid. This may happen occasionally.\n",
unit->handle,
unit->fcp_lun,
unit->port->wwpn,
case FSF_HANDLE_MISMATCH:
ZFCP_LOG_FLAGS(0, "FSF_HANDLE_MISMATCH\n");
- ZFCP_LOG_NORMAL("bug: The port handle (temporary port "
- "identifier) 0x%x has changed unexpectedly. "
- "This was detected upon receiveing the "
- "response of a command send to the unit with "
- "FCP-LUN 0x%Lx at the remote port with WWPN "
- "0x%Lx connected to the adapter %s.\n",
+ ZFCP_LOG_NORMAL("bug: The port handle 0x%x has changed "
+ "unexpectedly. (adapter %s, port 0x%016Lx, "
+ "unit 0x%016Lx)\n",
unit->port->handle,
- unit->fcp_lun,
+ zfcp_get_busid_by_unit(unit),
unit->port->wwpn,
- zfcp_get_busid_by_unit(unit));
+ unit->fcp_lun);
ZFCP_LOG_NORMAL("status qualifier:\n");
ZFCP_HEX_DUMP(ZFCP_LOG_LEVEL_NORMAL,
(char *) &header->fsf_status_qual,
ZFCP_LOG_FLAGS(0, "FSF_SERVICE_CLASS_NOT_SUPPORTED\n");
if (fsf_req->adapter->fc_service_class <= 3) {
ZFCP_LOG_NORMAL("error: The adapter %s does "
- "not support fibre-channel class %d.\n",
+ "not support fibrechannel class %d.\n",
zfcp_get_busid_by_unit(unit),
fsf_req->adapter->fc_service_class);
} else {
- ZFCP_LOG_NORMAL("bug: The fibre channel class at the "
+ ZFCP_LOG_NORMAL("bug: The fibrechannel class at "
"adapter %s is invalid. "
"(debug info %d)\n",
zfcp_get_busid_by_unit(unit),
case FSF_FCPLUN_NOT_VALID:
ZFCP_LOG_FLAGS(0, "FSF_FCPLUN_NOT_VALID\n");
- ZFCP_LOG_NORMAL("bug: The FCP LUN 0x%Lx behind the remote port "
- "of WWPN0x%Lx via the adapter %s does not have "
- "the correct unit handle (temporary unit "
- "identifier) 0x%x\n",
+ ZFCP_LOG_NORMAL("bug: unit 0x%016Lx on port 0x%016Lx on "
+ "adapter %s does not have correct unit "
+ "handle 0x%x\n",
unit->fcp_lun,
unit->port->wwpn,
zfcp_get_busid_by_unit(unit),
case FSF_ACCESS_DENIED:
ZFCP_LOG_FLAGS(2, "FSF_ACCESS_DENIED\n");
- ZFCP_LOG_NORMAL("Access denied, cannot send FCP "
- "command to the unit with FCP-LUN 0x%Lx at the "
- "remote port with WWPN 0x%Lx connected to the "
+ ZFCP_LOG_NORMAL("Access denied, cannot send FCP command to "
+ "unit 0x%016Lx on port 0x%016Lx on "
"adapter %s\n", unit->fcp_lun, unit->port->wwpn,
- zfcp_get_busid_by_unit(unit));
+ zfcp_get_busid_by_unit(unit));
for (counter = 0; counter < 2; counter++) {
subtable = header->fsf_status_qual.halfword[counter * 2];
rule = header->fsf_status_qual.halfword[counter * 2 + 1];
case FSF_DIRECTION_INDICATOR_NOT_VALID:
ZFCP_LOG_FLAGS(0, "FSF_DIRECTION_INDICATOR_NOT_VALID\n");
- ZFCP_LOG_INFO("bug: Invalid data direction given for the unit "
- "with FCP LUN 0x%Lx at the remote port with "
- "WWPN 0x%Lx via the adapter %s "
+ ZFCP_LOG_INFO("bug: Invalid data direction given for unit "
+ "0x%016Lx on port 0x%016Lx on adapter %s "
"(debug info %d)\n",
unit->fcp_lun,
unit->port->wwpn,
case FSF_INBOUND_DATA_LENGTH_NOT_VALID:
ZFCP_LOG_FLAGS(0, "FSF_INBOUND_DATA_LENGTH_NOT_VALID\n");
ZFCP_LOG_NORMAL("bug: An invalid inbound data length field "
- "was found in a command for the unit with "
- "FCP LUN 0x%Lx of the remote port "
- "with WWPN 0x%Lx via the adapter %s.\n",
+ "was found in a command for unit 0x%016Lx "
+ "on port 0x%016Lx on adapter %s.\n",
unit->fcp_lun,
unit->port->wwpn, zfcp_get_busid_by_unit(unit));
/* stop operation for this adapter */
case FSF_OUTBOUND_DATA_LENGTH_NOT_VALID:
ZFCP_LOG_FLAGS(0, "FSF_OUTBOUND_DATA_LENGTH_NOT_VALID\n");
ZFCP_LOG_NORMAL("bug: An invalid outbound data length field "
- "was found in a command for the unit with "
- "FCP LUN 0x%Lx of the remote port "
- "with WWPN 0x%Lx via the adapter %s\n.",
+ "was found in a command unit 0x%016Lx on port "
+ "0x%016Lx on adapter %s\n",
unit->fcp_lun,
unit->port->wwpn,
zfcp_get_busid_by_unit(unit));
ZFCP_LOG_FLAGS(0, "FSF_CMND_LENGTH_NOT_VALID\n");
ZFCP_LOG_NORMAL
("bug: An invalid control-data-block length field "
- "was found in a command for the unit with "
- "FCP LUN 0x%Lx of the remote port "
- "with WWPN 0x%Lx via the adapter %s " "(debug info %d)\n",
+ "was found in a command for unit 0x%016Lx on port "
+ "0x%016Lx on adapter %s " "(debug info %d)\n",
unit->fcp_lun, unit->port->wwpn,
zfcp_get_busid_by_unit(unit),
fsf_req->qtcb->bottom.io.fcp_cmnd_length);
case FSF_PORT_BOXED:
ZFCP_LOG_FLAGS(2, "FSF_PORT_BOXED\n");
- ZFCP_LOG_DEBUG("The remote port "
- "with WWPN 0x%Lx on the adapter %s "
+ ZFCP_LOG_DEBUG("The remote port 0x%016Lx on adapter %s "
"needs to be reopened\n",
unit->port->wwpn, zfcp_get_busid_by_unit(unit));
debug_text_event(fsf_req->adapter->erp_dbf, 2, "fsf_s_pboxed");
case FSF_LUN_BOXED:
ZFCP_LOG_FLAGS(0, "FSF_LUN_BOXED\n");
ZFCP_LOG_NORMAL(
- "The remote unit with FCP-LUN 0x%Lx "
- "at the remote port with WWPN 0x%Lx "
- "connected to the adapter %s needs to be reopened\n",
+ "unit 0x%016Lx on port 0x%016Lx on adapter %s needs "
+ "to be reopened\n",
unit->fcp_lun, unit->port->wwpn,
zfcp_get_busid_by_unit(unit));
debug_text_event(fsf_req->adapter->erp_dbf, 1, "fsf_s_lboxed");
scpnt = fsf_req->data.send_fcp_command_task.scsi_cmnd;
if (unlikely(!scpnt)) {
ZFCP_LOG_DEBUG
- ("Command with fsf_req 0x%lx is not associated to "
- "a scsi command anymore. Aborted?\n",
- (unsigned long) fsf_req);
+ ("Command with fsf_req %p is not associated to "
+ "a scsi command anymore. Aborted?\n", fsf_req);
goto out;
}
if (unlikely(fsf_req->status & ZFCP_STATUS_FSFREQ_ABORTED)) {
ZFCP_LOG_FLAGS(0, "RSP_CODE_LENGTH_MISMATCH\n");
/* hardware bug */
ZFCP_LOG_NORMAL("bug: FCP response code indictates "
- " that the fibre-channel protocol data "
+ "that the fibrechannel protocol data "
"length differs from the burst length. "
- "The problem occured on the unit "
- "with FCP LUN 0x%Lx connected to the "
- "port with WWPN 0x%Lx at the "
- "adapter %s",
+ "The problem occured on unit 0x%016Lx "
+ "on port 0x%016Lx on adapter %s",
unit->fcp_lun,
unit->port->wwpn,
zfcp_get_busid_by_unit(unit));
ZFCP_LOG_FLAGS(0, "RSP_CODE_FIELD_INVALID\n");
/* driver or hardware bug */
ZFCP_LOG_NORMAL("bug: FCP response code indictates "
- "that the fibre-channel protocol data "
- "fields were incorrectly set-up. "
+ "that the fibrechannel protocol data "
+ "fields were incorrectly set up. "
"The problem occured on the unit "
- "with FCP LUN 0x%Lx connected to the "
- "port with WWPN 0x%Lx at the "
+ "0x%016Lx on port 0x%016Lx on "
"adapter %s",
unit->fcp_lun,
unit->port->wwpn,
/* hardware bug */
ZFCP_LOG_NORMAL("bug: The FCP response code indicates "
"that conflicting values for the "
- "fibre-channel payload offset from the "
+ "fibrechannel payload offset from the "
"header were found. "
- "The problem occured on the unit "
- "with FCP LUN 0x%Lx connected to the "
- "port with WWPN 0x%Lx at the "
- "adapter %s.\n",
+ "The problem occured on unit 0x%016Lx "
+ "on port 0x%016Lx on adapter %s.\n",
unit->fcp_lun,
unit->port->wwpn,
zfcp_get_busid_by_unit(unit));
ZFCP_LOG_NORMAL("bug: An invalid FCP response "
"code was detected for a command. "
"The problem occured on the unit "
- "with FCP LUN 0x%Lx connected to the "
- "port with WWPN 0x%Lx at the "
- "adapter %s "
- "(debug info 0x%x)\n",
+ "0x%016Lx on port 0x%016Lx on "
+ "adapter %s (debug info 0x%x)\n",
unit->fcp_lun,
unit->port->wwpn,
zfcp_get_busid_by_unit(unit),
/* check for overrun */
if (unlikely(fcp_rsp_iu->validity.bits.fcp_resid_over)) {
ZFCP_LOG_INFO("A data overrun was detected for a command. "
- "This happened for a command to the unit "
- "with FCP LUN 0x%Lx connected to the "
- "port with WWPN 0x%Lx at the adapter %s. "
+ "unit 0x%016Lx, port 0x%016Lx, adapter %s. "
"The response data length is "
"%d, the original length was %d.\n",
unit->fcp_lun,
/* check for underrun */
if (unlikely(fcp_rsp_iu->validity.bits.fcp_resid_under)) {
ZFCP_LOG_DEBUG("A data underrun was detected for a command. "
- "This happened for a command to the unit "
- "with FCP LUN 0x%Lx connected to the "
- "port with WWPN 0x%Lx at the adapter %s. "
+ "unit 0x%016Lx, port 0x%016Lx, adapter %s. "
"The response data length is "
"%d, the original length was %d.\n",
unit->fcp_lun,
ZFCP_LOG_FLAGS(0, "RSP_CODE_TASKMAN_UNSUPP\n");
ZFCP_LOG_NORMAL("bug: A reuested task management function "
"is not supported on the target device "
- "The corresponding device is the unit with "
- "FCP LUN 0x%Lx at the port "
- "with WWPN 0x%Lx at the adapter %s\n ",
+ "unit 0x%016Lx, port 0x%016Lx, adapter %s\n ",
unit->fcp_lun,
unit->port->wwpn,
zfcp_get_busid_by_unit(unit));
ZFCP_LOG_FLAGS(0, "RSP_CODE_TASKMAN_FAILED\n");
ZFCP_LOG_NORMAL("bug: A reuested task management function "
"failed to complete successfully. "
- "The corresponding device is the unit with "
- "FCP LUN 0x%Lx at the port "
- "with WWPN 0x%Lx at the adapter %s.\n",
+ "unit 0x%016Lx, port 0x%016Lx, adapter %s.\n",
unit->fcp_lun,
unit->port->wwpn,
zfcp_get_busid_by_unit(unit));
default:
ZFCP_LOG_NORMAL("bug: An invalid FCP response "
"code was detected for a command. "
- "The problem occured on the unit "
- "with FCP LUN 0x%Lx connected to the "
- "port with WWPN 0x%Lx at the adapter %s "
+ "unit 0x%016Lx, port 0x%016Lx, adapter %s "
"(debug info 0x%x)\n",
unit->fcp_lun,
unit->port->wwpn,
signal);
if (signal) {
ZFCP_LOG_DEBUG("Caught signal %i while waiting for the "
- "completion of the request at 0x%lx\n",
- signal, (unsigned long) fsf_req);
+ "completion of the request at %p\n",
+ signal, fsf_req);
retval = signal;
goto out;
}
if (likely(fsf_req->qtcb)) {
fsf_req->qtcb->prefix.req_seq_no = adapter->fsf_req_seq_no;
fsf_req->seq_no = adapter->fsf_req_seq_no;
- ZFCP_LOG_TRACE("FSF request 0x%lx of adapter 0x%lx gets "
+ ZFCP_LOG_TRACE("FSF request %p of adapter %s gets "
"FSF sequence counter value of %i\n",
- (unsigned long) fsf_req,
- (unsigned long) adapter,
+ fsf_req,
+ zfcp_get_busid_by_adapter(adapter),
fsf_req->qtcb->prefix.req_seq_no);
} else
inc_seq_no = 0;
add_timer(timer);
}
- ZFCP_LOG_TRACE("request queue of adapter with busid=%s: "
+ ZFCP_LOG_TRACE("request queue of adapter %s: "
"next free SBAL is %i, %i free SBALs\n",
zfcp_get_busid_by_adapter(adapter),
req_queue->free_index,
atomic_read(&req_queue->free_count));
- ZFCP_LOG_DEBUG("Calling do QDIO busid=%s, flags=0x%x, queue_no=%i, "
- "index_in_queue=%i, count=%i, buffers=0x%lx\n",
+ ZFCP_LOG_DEBUG("calling do_QDIO adapter %s, flags=0x%x, queue_no=%i, "
+ "index_in_queue=%i, count=%i, buffers=%p\n",
zfcp_get_busid_by_adapter(adapter),
QDIO_FLAG_SYNC_OUTPUT,
0, fsf_req->sbal_first, fsf_req->sbal_number,
- (unsigned long) &req_queue->buffer[fsf_req->sbal_first]);
+ &req_queue->buffer[fsf_req->sbal_first]);
/*
* adjust the number of free SBALs in request queue as well as
if (likely(inc_seq_no)) {
adapter->fsf_req_seq_no++;
ZFCP_LOG_TRACE
- ("FSF sequence counter value of adapter 0x%lx "
- "increased to %i\n", (unsigned long) adapter,
+ ("FSF sequence counter value of adapter %s "
+ "increased to %i\n",
+ zfcp_get_busid_by_adapter(adapter),
adapter->fsf_req_seq_no);
}
/* count FSF requests pending */