On Thu, Apr 16, 2020 at 03:34:30PM +0000, Johannes Thumshirn wrote: > On 16/04/2020 14:38, Johannes Thumshirn wrote: > > This fixes a kmemleak complaint from btrfs/074, complete re-run of > > xfstests is pending, but one down again. > > > > Tested-by: Johannes Thumshirn <johannes.thumshirn@xxxxxxx> > > > > I'll take that back, I still see a leak of 'cur_trans' allocated in > join_transaction() for btrfs/074 on a full xfstests run. The same leak > is reported for btrfs/072 and generic/127. I'm not sure, but the patch "btrfs: drop logs when we've aborted a transaction" is fixing transaction handle leaks. I've added it to misc-next, the effects have been observed in test generic/475 so it's only a weak link, tests btrfs/074 do not stress the transaction cleanup that much.
