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@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html