diff --git a/doc/scst_pg.sgml b/doc/scst_pg.sgml index 02ff1f810..eb2475b12 100644 --- a/doc/scst_pg.sgml +++ b/doc/scst_pg.sgml @@ -25,7 +25,7 @@ development as much as possible. It has the following features: - + Very low overhead and fine-grained locks, which allow to reach maximum possible performance and scalability that close to theoretical @@ -145,7 +145,7 @@ calling -struct scst_tgt_template +struct scst_tgt_template { int sg_tablesize; const char name[SCST_MAX_NAME]; @@ -154,7 +154,7 @@ struct scst_tgt_template unsigned use_clustering:1; unsigned no_clustering:1; - unsigned xmit_response_atomic:1; + unsigned xmit_response_atomic:1; unsigned rdy_to_xfer_atomic:1; unsigned no_proc_entry:1; @@ -262,7 +262,7 @@ to continue processing this command. Returns one of the scst_cmd_atomic(). It is true if the function called in the atomic (non-sleeping) context. Must be defined. - To initialize incoming commands with some device-specific parameters, like timeout value. -To allow some additional device-specific commands pre-, post- +To allow some additional device-specific commands pre-, post- processing or alternative execution, like copying data from system cache, and do that completely independently from target drivers. @@ -582,7 +582,7 @@ struct scst_dev_type int (*dev_done) (struct scst_cmd *cmd); int (*on_free_cmd) (struct scst_cmd *cmd); - int (*task_mgmt_fn) (struct scst_mgmt_cmd *mgmt_cmd, + int (*task_mgmt_fn) (struct scst_mgmt_cmd *mgmt_cmd, struct scst_tgt_dev *tgt_dev); int (*read_proc) (struct seq_file *seq, struct scst_dev_type *dev_type); @@ -719,7 +719,7 @@ Returns: @@ -1087,7 +1087,7 @@ is defined as the following: void scst_rx_data( - struct scst_cmd *cmd, + struct scst_cmd *cmd, int status, enum scst_exec_context pref_context) @@ -1115,8 +1115,8 @@ Parameter Preferred context constants @@ -1197,14 +1197,14 @@ context restrictions. Supposed to be used when calling from thread context where no locks are held and the driver's architecture allows sleeping without performance degradation or anything like that. - -tgt_dev/ @@ -1257,7 +1257,7 @@ data buffer @@ -1835,7 +1835,7 @@ qla2x00_remove_one(), which then qla_target.tgt_host_action() with REMOVE_TARGET action. Then q2t_host_action() calls q2t_remove_target(), which unregisters the -corresponding SCST target in SCST. During unregistration SCST core calls +corresponding SCST target in SCST. During unregistration SCST core calls release() callback of tgt2x_template, which is q2t_target_release(). Then q2t_target_release() calls q2t_target_stop(). Then @@ -1962,7 +1962,7 @@ In this callback all the stuck commands are forcibly finished.

SCST core and its drivers provide excessive debugging and logging -facilities suitable to catch and analyze problems of virtually any level +facilities suitable to catch and analyze problems of virtually any level of complexity. Depending from amount debugging and logging facilities available, there