Re: Memory leak of NOP-IN tasks in iscsi_tcp

FUJITA Tomonori <[email protected]> Thu, 14 Jul 2016 20:20:51 +0900 (JST)
Newsgroups org.kernel.vger.stgt
Message-ID <20160714.202051.1568838937885776348.fujita.tomonori@lab.ntt.co.jp>
On Mon, 11 Jul 2016 23:23:35 +0000
Anton Kovalenko <[email protected]> wrote:

> We've found a memory leak in tgtd recently (leaking a struct iscsi_task each nop_interval seconds).
> The problem seems to have been there since the nop_interval was introduced.
> 
> My attempt at fixing it was submitted as a pull request, available at https://github.com/fujita/tgt/pull/21
> The approach taken might be far from the best one possible, but the problem is severe enough to justify 
> doing something to solve it, even if imperfect. 

Looks good. Thanks a lot!