Skip to content

bcache-tools patches for large bucket size incompat feature

Coly Li linux-bcache 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8bcache-tools: add struct cache_sb_disk into bcache.hbcache.h+54 -00 replies
2/8bcache-tools: bitwise.h: more swap bitwise for different CPU endiansbitwise.h+10 -00 replies
3/8bcache-tools: list.h: only define offsetof() when it is undefinedlist.h+2 -00 replies
4/8bcache-tools: add to_cache_sb() and to_cache_sb_disk()lib.c lib.h+90 -40 replies
5/8bcache-tools: define separated super block for in-memory and on-disk formatMakefile bcache-super-show.c bcache.h +3 more+68 -830 replies
6/8bcache-tools: upgrade super block versions for feature setsMakefile bcache.h features.c +1 more+118 -30 replies
7/8bcache-tools: add large_bucket incompat featurebcache.h features.c lib.c +2 more+42 -60 replies
8/8bcache-tools: add print_cache_set_supported_feature_sets() in lib.cbcache-super-show.c bcache.c features.c +3 more+89 -100 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/8] bcache-tools patches for large bucket size incompat feature

Hi folks,

This is the user space bcache-tools patches to support large bucket size incompat features. With these patches, large_bucket feature will be set automatically if bucket size > 16MB by "bcache make -C " command. Also all feature sets strings can be displayed by "bcache show " command.

Now the version numbers are upgraded, "bcache make" command will create cache device with version number 5, and backing device with version number 6. All kernel support get merged in Linux v5.9 already, now the user space support follows up.

Coly Li
---

Coly Li (8):
bcache-tools: add struct cache_sb_disk into bcache.h
bcache-tools: bitwise.h: more swap bitwise for different CPU endians
bcache-tools: list.h: only define offsetof() when it is undefined
bcache-tools: add to_cache_sb() and to_cache_sb_disk()
bcache-tools: define separated super block for in-memory and on-disk
format
bcache-tools: upgrade super block versions for feature sets
bcache-tools: add large_bucket incompat feature
bcache-tools: add print_cache_set_supported_feature_sets() in lib.c

 Makefile            |   4 +-
 bcache-super-show.c |  24 ++++--
 bcache.c            |  15 +++-
 bcache.h            | 194 ++++++++++++++++++++++++++++++++++++++------
 bitwise.h           |  10 +++
 features.c          |  74 +++++++++++++++++
 features.h          |   8 ++
 lib.c               | 160 ++++++++++++++++++++++++++++++++----
 lib.h               |   8 +-
 list.h              |   2 +
 make.c              |  70 ++++++----------
 probe-bcache.c      |   8 +-
 12 files changed, 472 insertions(+), 105 deletions(-)
 create mode 100644 features.c
 create mode 100644 features.h
Signature · 1 line
2.26.2