[stgt] [PATCH] delayed closing iscsi conn. when tasks are still in scsi

Alexander Nezhinsky alexandern at Voltaire.COM
Thu Dec 30 18:33:41 CET 2010

On 12/02/2010 11:59 AM, FUJITA Tomonori wrote:

>> When iscsi conn gets closed, some tasks may be still processed in scsi layer,
>> and can't be released immediatelly, thus their release is delayed.
>> But the conn release should be delayed too. To do this we can increment conn
> Why do we need this?
> iscsi_alloc_task calls conn_get() so as long as a task lives, its conn
> never be freed?

You are right. I missed that conn_get() call. 
We really do not need to do it.

To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

More information about the stgt mailing list