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

FUJITA Tomonori fujita.tomonori at lab.ntt.co.jp
Thu Dec 2 14:40:15 CET 2010


On Thu, 2 Dec 2010 18:59:59 +0900
FUJITA Tomonori <fujita.tomonori at lab.ntt.co.jp> wrote:

> On Tue, 30 Nov 2010 17:06:04 +0200
> Alexander Nezhinsky <alexandern at Voltaire.COM> 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?

btw, there might be bugs about task and conn ref-counting so please
let me know if you hit a problem on this area even if you don't know
about bugs much.
--
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