Aligned array data in columns and updated a comment.

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3067 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2010-12-15 10:45:31 +00:00
parent a82024cdc0
commit cf2a3182aa

View File

@@ -65,37 +65,38 @@ static const char *scst_dev_handler_types[] = {
static DEFINE_MUTEX(scst_log_mutex);
static struct scst_trace_log scst_trace_tbl[] = {
{ TRACE_OUT_OF_MEM, "out_of_mem" },
{ TRACE_MINOR, "minor" },
{ TRACE_SG_OP, "sg" },
{ TRACE_MEMORY, "mem" },
{ TRACE_BUFF, "buff" },
{ TRACE_OUT_OF_MEM, "out_of_mem" },
{ TRACE_MINOR, "minor" },
{ TRACE_SG_OP, "sg" },
{ TRACE_MEMORY, "mem" },
{ TRACE_BUFF, "buff" },
#ifndef GENERATING_UPSTREAM_PATCH
{ TRACE_ENTRYEXIT, "entryexit" },
{ TRACE_ENTRYEXIT, "entryexit" },
#endif
{ TRACE_PID, "pid" },
{ TRACE_LINE, "line" },
{ TRACE_FUNCTION, "function" },
{ TRACE_DEBUG, "debug" },
{ TRACE_SPECIAL, "special" },
{ TRACE_SCSI, "scsi" },
{ TRACE_MGMT, "mgmt" },
{ TRACE_MGMT_DEBUG, "mgmt_dbg" },
{ TRACE_FLOW_CONTROL, "flow_control" },
{ TRACE_PRES, "pr" },
{ 0, NULL }
{ TRACE_PID, "pid" },
{ TRACE_LINE, "line" },
{ TRACE_FUNCTION, "function" },
{ TRACE_DEBUG, "debug" },
{ TRACE_SPECIAL, "special" },
{ TRACE_SCSI, "scsi" },
{ TRACE_MGMT, "mgmt" },
{ TRACE_MGMT_DEBUG, "mgmt_dbg" },
{ TRACE_FLOW_CONTROL, "flow_control" },
{ TRACE_PRES, "pr" },
{ 0, NULL }
};
static struct scst_trace_log scst_local_trace_tbl[] = {
{ TRACE_RTRY, "retry" },
{ TRACE_SCSI_SERIALIZING, "scsi_serializing" },
{ TRACE_RCV_BOT, "recv_bot" },
{ TRACE_SND_BOT, "send_bot" },
{ TRACE_RCV_TOP, "recv_top" },
{ TRACE_SND_TOP, "send_top" },
{ 0, NULL }
{ TRACE_RTRY, "retry" },
{ TRACE_SCSI_SERIALIZING, "scsi_serializing" },
{ TRACE_RCV_BOT, "recv_bot" },
{ TRACE_SND_BOT, "send_bot" },
{ TRACE_RCV_TOP, "recv_top" },
{ TRACE_SND_TOP, "send_top" },
{ 0, NULL }
};
static void scst_read_trace_tbl(const struct scst_trace_log *tbl, char *buf,
unsigned long log_level, int *pos)
{
@@ -1977,7 +1978,7 @@ void scst_dev_sysfs_del(struct scst_device *dev)
}
/**
** Tgt_dev's directory implementation
** Tgt_dev implementation
**/
#ifdef CONFIG_SCST_MEASURE_LATENCY