Microoptimizations

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6210 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Vladislav Bolkhovitin
2015-05-21 01:38:55 +00:00
parent e0887beef6
commit c236c36778

View File

@@ -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;