mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/1] btrfs: free remap records when balance stops early
@ 2026-09-21  6:48 Xixin Liu
  2026-09-21  6:48 ` [PATCH 1/1] " Xixin Liu
  0 siblings, 1 reply; 2+ messages in thread
From: Xixin Liu @ 2026-09-21  6:48 UTC (permalink / raw)
  To: linux-btrfs; +Cc: dsterba, mason, linux-kernel, liuxixin

Hi,

This patch frees leaked remap records when balance stops early. Early
error returns left kmalloc records on the stack list. Share one free
helper at the remap pass end and on error when the list is non-empty.

Tested on linux-next next-20260914 for cancel and complete cases.

Thanks,
Xixin Liu

---
liuxixin (1):
  btrfs: free remap records when balance stops early

 fs/btrfs/volumes.c | 65 ++++++++++++++++++++++++++---------------------
 1 file changed, 36 insertions(+), 29 deletions(-)

-- 
2.43.0


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

end of thread, other threads:[~2026-09-21  8:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-21  6:48 [PATCH 0/1] btrfs: free remap records when balance stops early Xixin Liu
2026-09-21  6:48 ` [PATCH 1/1] " Xixin Liu

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

all inboxes | Powered by JetHome®