Linux Btrfs filesystem development
 help / color / mirror / Atom feed
From: Boris Burkov <boris@bur.io>
To: linux-btrfs@vger.kernel.org, kernel-team@fb.com
Subject: [PATCH 0/2] Minor fixes to periodic reclaim arming
Date: Tue,  1 Dec 2026 13:03:57 -0800	[thread overview]
Message-ID: <cover.1796158939.git.boris@bur.io> (raw)

Periodic reclaiming arming has slightly bitrotted due to being originally
committed with a fatal bug. Re-visit it and make the condition possible while
still preventing reclaim loops on full inactive filesystems.

Boris Burkov (2):
  btrfs: arm periodic reclaim on bytes freed, not net bytes freed
  btrfs: arm periodic reclaim when it is enabled

 fs/btrfs/block-group.c | 8 +++-----
 fs/btrfs/block-group.h | 2 ++
 fs/btrfs/relocation.c  | 3 +++
 fs/btrfs/space-info.c  | 5 ++---
 fs/btrfs/space-info.h  | 8 +++++---
 fs/btrfs/sysfs.c       | 3 +++
 6 files changed, 18 insertions(+), 11 deletions(-)

-- 
2.56.0


             reply	other threads:[~2026-12-01 21:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-01 21:03 Boris Burkov [this message]
2026-12-01 21:03 ` [PATCH 1/2] btrfs: arm periodic reclaim on bytes freed, not net bytes freed Boris Burkov
2026-12-03 17:23   ` Filipe Manana
2026-12-01 21:03 ` [PATCH 2/2] btrfs: arm periodic reclaim when it is enabled Boris Burkov
2026-12-03 17:24   ` Filipe Manana

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1796158939.git.boris@bur.io \
    --to=boris@bur.io \
    --cc=kernel-team@fb.com \
    --cc=linux-btrfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox