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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2 Dec 2010 18:59:59 +0900
FUJITA Tomonori <fujita.tomonori@xxxxxxxxxxxxx> wrote:

> On Tue, 30 Nov 2010 17:06:04 +0200
> Alexander Nezhinsky <alexandern@xxxxxxxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux SCSI]     [Linux RAID]     [Linux Clusters]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]

  Powered by Linux