Skip to content

RFC bcache-tools: changes for large bucket size

Coly Li linux-bcache linux-block 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4bcache-tools: comments offset for members of struct cache_sbbcache.h+34 -300 replies
2/4struct_offset: print offset of each member of the on-disk data structureMakefile struct_offset.c+65 -10 replies
3/4bcache-tools: The new super block version BCACHE_SB_VERSION_BDEV_WITH_FEATURESMakefile bcache.h features.c +2 more+113 -40 replies
4/4bcache-tools: add large_bucket incompat featurebcache.h features.c lib.c +3 more+56 -110 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [RFC PATCH 0/4] bcache-tools: changes for large bucket size

These are user space tools changes necessary for bcache large bucket size. When setting bucket size with '-u' larger than 16MB for cache device, BCACHE_SB_VERSION_CDEV_WITH_FEATURES will be set automatically. Otherwise, the new added members in super block won't be touched.

Coly Li
---
Coly Li (4):
bcache-tools: comments offset for members of struct cache_sb
struct_offset: print offset of each member of the on-disk data
structure
bcache-tools: The new super block version
BCACHE_SB_VERSION_BDEV_WITH_FEATURES
bcache-tools: add large_bucket incompat feature

 Makefile        |   6 +-
 bcache.h        | 153 ++++++++++++++++++++++++++++++++++++++----------
 features.c      |  24 ++++++++
 lib.c           |  24 ++++++++
 lib.h           |   2 +
 make.c          |  36 ++++++++----
 struct_offset.c |  63 ++++++++++++++++++++
 7 files changed, 265 insertions(+), 43 deletions(-)
 create mode 100644 features.c
 create mode 100644 struct_offset.c
Signature · 1 line
2.26.2