Skip to content

last on disk format changes before freeze

Kent Overstreet linux-bcachefs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest18 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/18bcachefs: bch2_lru_change() checks for no-opfs/bcachefs/alloc_background.c fs/bcachefs/lru.c fs/bcachefs/lru.h+26 -230 replies
2/18bcachefs: s/BCH_LRU_FRAGMENTATION_START/BCH_LRU_BUCKET_FRAGMENTATION/fs/bcachefs/alloc_background.c fs/bcachefs/lru.h fs/bcachefs/lru_format.h +1 more+6 -60 replies
3/18bcachefs: decouple bch2_lru_check_set() from alloc btreefs/bcachefs/alloc_background.c fs/bcachefs/lru.c fs/bcachefs/lru.h+10 -70 replies
4/18bcachefs: Rework bch2_check_lru_key()fs/bcachefs/lru.c+47 -300 replies
5/18bcachefs: bch2_trigger_stripe_ptr() no longer uses ec_stripes_heap_lockfs/bcachefs/buckets.c fs/bcachefs/buckets.h fs/bcachefs/buckets_types.h +2 more+46 -330 replies
6/18bcachefs: Better trigger orderingfs/bcachefs/btree_types.h fs/bcachefs/btree_update.c+14 -00 replies
7/18bcachefs: rework bch2_trans_commit_run_triggers()fs/bcachefs/btree_trans_commit.c fs/bcachefs/btree_update.c+34 -570 replies
8/18bcachefs: bcachefs_metadata_version_cached_backpointersfs/bcachefs/backpointers.c fs/bcachefs/bcachefs_format.h fs/bcachefs/buckets.c +1 more+15 -130 replies
9/18bcachefs: Invalidate cached data by backpointersfs/bcachefs/alloc_background.c+79 -230 replies
10/18bcachefs: Advance bch_alloc.oldest_gen if no stale pointersfs/bcachefs/alloc_background.c+3 -00 replies
11/18bcachefs: bcachefs_metadata_version_stripe_backpointersfs/bcachefs/backpointers.h fs/bcachefs/bcachefs_format.h fs/bcachefs/ec.c +2 more+36 -40 replies
12/18bcachefs: bcachefs_metadata_version_stripe_lrufs/bcachefs/alloc_background.c fs/bcachefs/bcachefs_format.h fs/bcachefs/ec.c +4 more+99 -50 replies
13/18bcachefs: ec_stripe_delete() uses new stripe lrufs/bcachefs/ec.c+22 -420 replies
14/18bcachefs: get_existing_stripe() uses new stripe lrufs/bcachefs/ec.c+51 -370 replies
15/18bcachefs: We no longer read stripes into memory at startupfs/bcachefs/bcachefs.h fs/bcachefs/ec.c fs/bcachefs/ec.h +3 more+2 -2310 replies
16/18bcachefs: Kill dirent_occupied_size()fs/bcachefs/dirent.c fs/bcachefs/dirent.h fs/bcachefs/fs-common.c +1 more+40 -331 reply
17/18bcachefs: Split out dirent alloc and name initializationfs/bcachefs/dirent.c+34 -120 replies
18/18bcachefs: bcachefs_metadata_version_casefoldingDocumentation/filesystems/bcachefs/casefolding.rst fs/bcachefs/bcachefs.h fs/bcachefs/bcachefs_format.h +11 more+350 -422 replies

Reviews trailers per patch

1 of 18 patches has a Reviewed-by or Acked-by.

PatchHongbo Li
1/18
2/18
3/18
4/18
5/18
6/18
7/18
8/18
9/18
10/18
11/18
12/18
13/18
14/18
15/18
16/18R-b
17/18
18/18

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/18] last on disk format changes before freeze

These are the last of the on disk format changes that will be required upgrades. Future on disk format changes will be optional - meaning they'll require more compat code.

- metadata_version_cached_backpointers: scrub can now check cached data, and (more importantly) the gc_gens pass for recalculating bucket.oldest_gen is no longer required - necessary scalability item.

- metadata_version_stripe_backpointers: needed for scrub to properly support erasure coding, and for future stripe repair code

- metadata_version_stripe_lru: we no longer have to read stripes into memory at startup for the stripes heap, for reusing partially empty stripes

- metadata_version_casefolding: I think this one will make some people happy :)

Joshua, the casefolding patches needed some work to rebase, could you look them over? Hongbo, I had to tweak your directory i_size code as well.

Joshua Ashton (2):
bcachefs: Split out dirent alloc and name initialization
bcachefs: bcachefs_metadata_version_casefolding

Kent Overstreet (16):
bcachefs: bch2_lru_change() checks for no-op
bcachefs: s/BCH_LRU_FRAGMENTATION_START/BCH_LRU_BUCKET_FRAGMENTATION/
bcachefs: decouple bch2_lru_check_set() from alloc btree
bcachefs: Rework bch2_check_lru_key()
bcachefs: bch2_trigger_stripe_ptr() no longer uses
ec_stripes_heap_lock
bcachefs: Better trigger ordering
bcachefs: rework bch2_trans_commit_run_triggers()
bcachefs: bcachefs_metadata_version_cached_backpointers
bcachefs: Invalidate cached data by backpointers
bcachefs: Advance bch_alloc.oldest_gen if no stale pointers
bcachefs: bcachefs_metadata_version_stripe_backpointers
bcachefs: bcachefs_metadata_version_stripe_lru
bcachefs: ec_stripe_delete() uses new stripe lru
bcachefs: get_existing_stripe() uses new stripe lru
bcachefs: We no longer read stripes into memory at startup
bcachefs: Kill dirent_occupied_size()

 .../filesystems/bcachefs/casefolding.rst      |  87 ++++
 fs/bcachefs/alloc_background.c                | 147 ++++--
 fs/bcachefs/backpointers.c                    |  14 +-
 fs/bcachefs/backpointers.h                    |  15 +-
 fs/bcachefs/bcachefs.h                        |  10 +-
 fs/bcachefs/bcachefs_format.h                 |   9 +-
 fs/bcachefs/btree_trans_commit.c              |  89 ++--
 fs/bcachefs/btree_types.h                     |  13 +
 fs/bcachefs/btree_update.c                    |   3 +-
 fs/bcachefs/buckets.c                         |  14 +-
 fs/bcachefs/buckets.h                         |  27 --
 fs/bcachefs/buckets_types.h                   |  27 ++
 fs/bcachefs/dirent.c                          | 223 +++++++--
 fs/bcachefs/dirent.h                          |  18 +-
 fs/bcachefs/dirent_format.h                   |  20 +-
 fs/bcachefs/ec.c                              | 429 ++++++------------
 fs/bcachefs/ec.h                              |  46 +-
 fs/bcachefs/ec_types.h                        |  12 +-
 fs/bcachefs/fs-common.c                       |  42 +-
 fs/bcachefs/fs-ioctl.c                        |  25 +
 fs/bcachefs/fs-ioctl.h                        |  20 +-
 fs/bcachefs/fs.c                              |  17 +
 fs/bcachefs/fsck.c                            |   5 +-
 fs/bcachefs/inode_format.h                    |   3 +-
 fs/bcachefs/lru.c                             | 100 ++--
 fs/bcachefs/lru.h                             |  22 +-
 fs/bcachefs/lru_format.h                      |   6 +-
 fs/bcachefs/move.c                            |   3 +
 fs/bcachefs/movinggc.c                        |   4 +-
 fs/bcachefs/recovery_passes_types.h           |   2 +-
 fs/bcachefs/sb-downgrade.c                    |   6 +
 fs/bcachefs/sb-errors_format.h                |   4 +-
 fs/bcachefs/str_hash.c                        |   2 +-
 fs/bcachefs/str_hash.h                        |   4 +
 fs/bcachefs/super.c                           |  19 +
 fs/bcachefs/sysfs.c                           |   5 -
 36 files changed, 904 insertions(+), 588 deletions(-)
 create mode 100644 Documentation/filesystems/bcachefs/casefolding.rst
Signature · 1 line
2.45.2