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

Coly Li
2020-07-05T16:04:36Z

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

--
2.26.2