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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
2.26.2




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux ARM Kernel]     [Linux Filesystem Development]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux