public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
* memory leaks in btrfs raid code in 6.19-rc?
@ 2026-01-26  4:53 Christoph Hellwig
  2026-01-30 17:18 ` Filipe Manana
  0 siblings, 1 reply; 2+ messages in thread
From: Christoph Hellwig @ 2026-01-26  4:53 UTC (permalink / raw)
  To: David Sterba, Qu Wenruo; +Cc: linux-btrfs

When running xfstests on btrfs with a SCRATCH_DEV_POOL and kmemleak
enabled I see a lot of these kmemleak reports, start with btrfs/060,
but affecting basically all tests exercising the RAID code:

unreferenced object 0xffff888111f61890 (size 16):
  comm "fsstress", pid 5252, jiffies 4294898624
  hex dump (first 16 bytes):
    ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  ................
  backtrace (crc d3088d4f):
    __kmalloc_noprof+0x3c8/0x510
    alloc_rbio.isra.0+0x127/0x390
    raid56_parity_write+0x2b/0x180
    btrfs_submit_bbio+0x26d/0x870
    submit_one_bio+0x7a/0xb0
    submit_extent_folio+0x163/0x320
    extent_writepage_io+0x2c9/0x4d0
    extent_write_cache_pages+0x396/0x9d0
    btrfs_writepages+0x70/0x120
    do_writepages+0xc8/0x160
    filemap_writeback+0xb3/0xe0
    btrfs_fdatawrite_range+0x22/0x60
    btrfs_wait_ordered_range+0x47/0x110
    btrfs_fallocate+0x193/0x11a0
    vfs_fallocate+0x160/0x3c0
    __x64_sys_fallocate+0x44/0xa0


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-01-30 17:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-26  4:53 memory leaks in btrfs raid code in 6.19-rc? Christoph Hellwig
2026-01-30 17:18 ` Filipe Manana

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox