Linux Kernel
3.7.1
|
#include <linux/module.h>
#include <linux/types.h>
#include <linux/slab.h>
#include <scsi/fc/fc_fcp.h>
#include <scsi/scsi_eh.h>
#include <linux/atomic.h>
#include "zfcp_ext.h"
#include "zfcp_dbf.h"
#include "zfcp_fc.h"
#include "zfcp_reqlist.h"
Go to the source code of this file.
Macros | |
#define | KMSG_COMPONENT "zfcp" |
#define | pr_fmt(fmt) KMSG_COMPONENT ": " fmt |
Functions | |
module_param_named (queue_depth, default_depth, uint, 0600) | |
MODULE_PARM_DESC (queue_depth,"Default queue depth for new SCSI devices") | |
module_param_named (dif, enable_dif, bool, 0400) | |
MODULE_PARM_DESC (dif,"Enable DIF/DIX data integrity support") | |
module_param (allow_lun_scan, bool, 0600) | |
MODULE_PARM_DESC (allow_lun_scan,"For NPIV, scan and attach all storage LUNs") | |
int | zfcp_scsi_adapter_register (struct zfcp_adapter *adapter) |
void | zfcp_scsi_adapter_unregister (struct zfcp_adapter *adapter) |
void | zfcp_scsi_schedule_rport_register (struct zfcp_port *port) |
void | zfcp_scsi_schedule_rport_block (struct zfcp_port *port) |
void | zfcp_scsi_schedule_rports_block (struct zfcp_adapter *adapter) |
void | zfcp_scsi_rport_work (struct work_struct *work) |
void | zfcp_scsi_set_prot (struct zfcp_adapter *adapter) |
void | zfcp_scsi_dif_sense_error (struct scsi_cmnd *scmd, int ascq) |
Variables | |
struct scsi_transport_template * | zfcp_scsi_transport_template |
struct fc_function_template | zfcp_transport_functions |
#define KMSG_COMPONENT "zfcp" |
Definition at line 9 of file zfcp_scsi.c.
#define pr_fmt | ( | fmt | ) | KMSG_COMPONENT ": " fmt |
Definition at line 10 of file zfcp_scsi.c.
module_param | ( | allow_lun_scan | , |
bool | , | ||
0600 | |||
) |
module_param_named | ( | queue_depth | , |
default_depth | , | ||
uint | , | ||
0600 | |||
) |
module_param_named | ( | dif | , |
enable_dif | , | ||
bool | , | ||
0400 | |||
) |
int zfcp_scsi_adapter_register | ( | struct zfcp_adapter * | adapter | ) |
zfcp_scsi_adapter_register - Register SCSI and FC host with SCSI midlayer : The zfcp adapter to register with the SCSI midlayer
Definition at line 327 of file zfcp_scsi.c.
void zfcp_scsi_adapter_unregister | ( | struct zfcp_adapter * | adapter | ) |
zfcp_scsi_adapter_unregister - Unregister SCSI and FC host from SCSI midlayer : The zfcp adapter to unregister.
Definition at line 367 of file zfcp_scsi.c.
zfcp_scsi_dif_sense_error - Report DIF/DIX error as driver sense error : The SCSI command to report the error for : The ASCQ to put in the sense buffer
See the error handling in sd_done for the sense codes used here. Set DID_SOFT_ERROR to retry the request, if possible.
Definition at line 689 of file zfcp_scsi.c.
void zfcp_scsi_rport_work | ( | struct work_struct * | work | ) |
Definition at line 634 of file zfcp_scsi.c.
Definition at line 611 of file zfcp_scsi.c.
Definition at line 602 of file zfcp_scsi.c.
void zfcp_scsi_schedule_rports_block | ( | struct zfcp_adapter * | adapter | ) |
Definition at line 623 of file zfcp_scsi.c.
void zfcp_scsi_set_prot | ( | struct zfcp_adapter * | adapter | ) |
zfcp_scsi_set_prot - Configure DIF/DIX support in scsi_host : The adapter where to configure DIF/DIX for the SCSI host
Definition at line 656 of file zfcp_scsi.c.
struct scsi_transport_template* zfcp_scsi_transport_template |
Definition at line 297 of file zfcp_scsi.c.
struct fc_function_template zfcp_transport_functions |
Definition at line 698 of file zfcp_scsi.c.