All of lore.kernel.org
 help / color / mirror / Atom feed
* simplify dirty buffer tracking
@ 2023-05-15 19:22 Christoph Hellwig
  2023-05-15 19:22 ` [PATCH 1/6] btrfs: use a linked list for tracking per-transaction/log dirty buffers Christoph Hellwig
                   ` (5 more replies)
  0 siblings, 6 replies; 11+ messages in thread
From: Christoph Hellwig @ 2023-05-15 19:22 UTC (permalink / raw)
  To: Chris Mason, Josef Bacik, David Sterba; +Cc: linux-btrfs

Hi all,

this series rewrites the tracking and writeback of the per-transaction
or per-tree_log dirty buffers.  It is intended as a first step towards
getting rid of btree_inode, but turns out to be a pretty nice cleanup
on it's own.  I also see minor speedup in fs_mark workloads, but given
how variable they are in general I'm not sure if they really matter.

This series starts out new extent_buffer.[ch].  I plan to eventually
concentrate all code for extent_buffer handling there, but for now
this just has brand-new code.

Note that the series is based on top of net-next because the previous
round of extent_buffer changes has not made it to misc-next yet.

Diffstat:
 fs/btrfs/Makefile                |    2 
 fs/btrfs/ctree.h                 |    3 
 fs/btrfs/disk-io.c               |   72 +++++--------
 fs/btrfs/extent-io-tree.c        |  212 ---------------------------------------
 fs/btrfs/extent-io-tree.h        |   14 --
 fs/btrfs/extent-tree.c           |   21 ---
 fs/btrfs/extent_buffer.c         |  104 +++++++++++++++++++
 fs/btrfs/extent_buffer.h         |   26 ++++
 fs/btrfs/extent_io.c             |  131 ++++++------------------
 fs/btrfs/extent_io.h             |    2 
 fs/btrfs/fs.h                    |    3 
 fs/btrfs/tests/extent-io-tests.c |    2 
 fs/btrfs/transaction.c           |  168 ++----------------------------
 fs/btrfs/transaction.h           |    3 
 fs/btrfs/tree-log.c              |   71 ++++++++-----
 fs/btrfs/zoned.c                 |   11 +-
 include/trace/events/btrfs.h     |   57 ----------
 17 files changed, 278 insertions(+), 624 deletions(-)

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

end of thread, other threads:[~2023-05-17 16:38 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-15 19:22 simplify dirty buffer tracking Christoph Hellwig
2023-05-15 19:22 ` [PATCH 1/6] btrfs: use a linked list for tracking per-transaction/log dirty buffers Christoph Hellwig
2023-05-17 10:40   ` Filipe Manana
2023-05-17 12:21     ` Christoph Hellwig
2023-05-17 16:24       ` Filipe Manana
2023-05-17 16:37         ` Christoph Hellwig
2023-05-15 19:22 ` [PATCH 2/6] btrfs: remove convert_extent_bit Christoph Hellwig
2023-05-15 19:22 ` [PATCH 3/6] btrfs: directly wait for buffer writeback completion in btrfs_wait_buffers Christoph Hellwig
2023-05-15 19:22 ` [PATCH 4/6] btrfs: move dropping the bg reference out of submit_eb_page Christoph Hellwig
2023-05-15 19:22 ` [PATCH 5/6] btrfs: move locking and write pointer checking into write_one_eb Christoph Hellwig
2023-05-15 19:22 ` [PATCH 6/6] btrfs: bypass filemap_fdatawrite_range in btrfs_write_buffers Christoph Hellwig

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.