Remove tgt->finished_cmds logic

1. It doesn't work well with NPIV-like targets
2. Without it struct scst_tgt is read-mostly



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4811 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Vladislav Bolkhovitin
2013-03-25 23:40:44 +00:00
parent 82f7d66e5e
commit f9d666ace2
5 changed files with 129 additions and 166 deletions
-1
View File
@@ -1544,7 +1544,6 @@ struct scst_tgt {
*/
bool retry_timer_active;
struct timer_list retry_timer;
atomic_t finished_cmds;
int retry_cmds;
spinlock_t tgt_lock;
struct list_head retry_cmd_list;