public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/6] btrfs: cleanup and small refactors around __btrfs_map_block()
@ 2023-02-17  5:36 Qu Wenruo
  2023-02-17  5:36 ` [PATCH 1/6] btrfs: remove map_lookup->stripe_len Qu Wenruo
                   ` (6 more replies)
  0 siblings, 7 replies; 9+ messages in thread
From: Qu Wenruo @ 2023-02-17  5:36 UTC (permalink / raw)
  To: linux-btrfs

This series is based on the current misc-next branch, and can be fetched
from github:

  https://github.com/adam900710/linux/tree/map_block_refactor


This is the rebased and merged version of two patchset:

  btrfs: reduce div64 calls for __btrfs_map_block() and its variants
  btrfs: reduce the memory usage for btrfs_io_context, and reduce its variable sized members

Originally the 2nd patchset has some dependency on the first one, but
the first one is causing some conflicts with newer cleanups, thus only
the 2nd patchset get merged into for-next.

This updated version would resolve the conflicts, and use the modified
version from for-next.

Qu Wenruo (6):
  btrfs: remove map_lookup->stripe_len
  btrfs: reduce div64 calls by limiting the number of stripes of a chunk
    to u32
  btrfs: simplify the bioc argument for handle_ops_on_dev_replace()
  btrfs: reduce type width of btrfs_io_contexts
  btrfs: use a more space efficient way to represent the source of
    duplicated stripes
  btrfs: replace btrfs_io_context::raid_map with a fixed u64 value

 fs/btrfs/block-group.c            |  22 +-
 fs/btrfs/raid56.c                 |  68 ++++--
 fs/btrfs/scrub.c                  |  85 +++----
 fs/btrfs/tests/extent-map-tests.c |   1 -
 fs/btrfs/tree-checker.c           |  14 ++
 fs/btrfs/volumes.c                | 385 ++++++++++++++----------------
 fs/btrfs/volumes.h                |  79 +++++-
 include/trace/events/btrfs.h      |   2 +-
 8 files changed, 362 insertions(+), 294 deletions(-)

-- 
2.39.1


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

end of thread, other threads:[~2023-02-20 21:14 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-17  5:36 [PATCH 0/6] btrfs: cleanup and small refactors around __btrfs_map_block() Qu Wenruo
2023-02-17  5:36 ` [PATCH 1/6] btrfs: remove map_lookup->stripe_len Qu Wenruo
2023-02-17  5:36 ` [PATCH 2/6] btrfs: reduce div64 calls by limiting the number of stripes of a chunk to u32 Qu Wenruo
2023-02-20 21:05   ` David Sterba
2023-02-17  5:37 ` [PATCH 3/6] btrfs: simplify the bioc argument for handle_ops_on_dev_replace() Qu Wenruo
2023-02-17  5:37 ` [PATCH 4/6] btrfs: reduce type width of btrfs_io_contexts Qu Wenruo
2023-02-17  5:37 ` [PATCH 5/6] btrfs: use a more space efficient way to represent the source of duplicated stripes Qu Wenruo
2023-02-17  5:37 ` [PATCH 6/6] btrfs: replace btrfs_io_context::raid_map with a fixed u64 value Qu Wenruo
2023-02-20 21:08 ` [PATCH 0/6] btrfs: cleanup and small refactors around __btrfs_map_block() David Sterba

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