Re: [PATCH v4] rbd: fix the memory leak of bio_chain_clone

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

 



On Tue, Aug 07, 2012 at 07:49:21PM -0700, Alex Elder wrote:
> On 08/03/2012 10:33 AM, Guangliang Zhao wrote:
> >The bio_pair alloced in bio_chain_clone would not be freed,
> >this will cause a memory leak. It could be freed actually only
> >after 3 times release, because the reference count of bio_pair
> >is initialized to 3 when bio_split and bio_pair_release only
> >drops the reference count.
> 
> Last Friday I added this patch to the testing branch and
> ran the xfstests-on-rbd suite on it, and it triggered some
> new errors.  I did not have time to investigate them though.
> 
> I am taking this latest version and will apply it and will
> run it through the same series of tests.
Please notify me of any issues about the tests.
> 
> I also had hoped to give your patch a careful review, but
> so far I haven't managed to do that (yet).
> 
> I just want you to know you haven't been forgotten...
Thanks for your reply :).

-- 
Best regards,
Guangliang
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux