mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-17 10:41:26 +00:00
Microoptimizations
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6210 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -1943,7 +1943,6 @@ struct scst_tgt {
|
||||
unsigned tgt_hw_dif_type3_supported:1;
|
||||
unsigned tgt_hw_dif_ip_supported:1;
|
||||
unsigned tgt_hw_dif_same_sg_layout_required:1;
|
||||
const int *tgt_supported_dif_block_sizes;
|
||||
|
||||
/*
|
||||
* Maximum SG table size. Needed here, since different cards on the
|
||||
@@ -1951,6 +1950,8 @@ struct scst_tgt {
|
||||
*/
|
||||
int sg_tablesize;
|
||||
|
||||
const int *tgt_supported_dif_block_sizes;
|
||||
|
||||
/* Used for storage of target driver private stuff */
|
||||
void *tgt_priv;
|
||||
|
||||
@@ -1961,10 +1962,10 @@ struct scst_tgt {
|
||||
* They protected by tgt_lock, where necessary.
|
||||
*/
|
||||
bool retry_timer_active;
|
||||
struct timer_list retry_timer;
|
||||
int retry_cmds;
|
||||
spinlock_t tgt_lock;
|
||||
struct timer_list retry_timer;
|
||||
struct list_head retry_cmd_list;
|
||||
spinlock_t tgt_lock;
|
||||
|
||||
/* Used to wait until session finished to unregister */
|
||||
wait_queue_head_t unreg_waitQ;
|
||||
|
||||
Reference in New Issue
Block a user