[PATCH 0/7] btrfs: some optimizations and cleanups for log syncing

[email protected] Wed, 22 Jul 2026 13:41:36 +0100
Newsgroups org.kernel.vger.linux-btrfs
Message-ID <[email protected]>
From: Filipe Manana <[email protected]>

Some optimizations for log syncing, specially for non-sdd mounts, and
some cleanups. Details in the changelogs of each patch.

Filipe Manana (7):
  btrfs: stop sleeping for one jiffy in non-ssd mounts during log commit
  btrfs: remove log batch counter use for fsync
  btrfs: do an initial lockless committed log transaction check during log syncing
  btrfs: check for log writers count first in wait_for_writer()
  btrfs: move condition for log commit wait into wait_log_commit()
  btrfs: check for exit condition after waking in wait_log_commit()
  btrfs: use simple booleans for log_commit field in struct btrfs_root

 fs/btrfs/ctree.h             |  6 +--
 fs/btrfs/disk-io.c           |  3 --
 fs/btrfs/file.c              |  4 --
 fs/btrfs/transaction.c       |  8 +--
 fs/btrfs/tree-log.c          | 98 ++++++++++++++----------------------
 include/trace/events/btrfs.h |  4 +-
 6 files changed, 42 insertions(+), 81 deletions(-)

-- 
2.47.2