Skip to content

bcache patches for Linux v5.11-rc3

Coly Li linux-bcache linux-block stable 1 version Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/5bcache: set pdev_set_uuid before scond loop iterationdrivers/md/bcache/super.c+1 -10 replies
2/5bcache: fix typo from SUUP to SUPP in features.hdrivers/md/bcache/features.h+3 -30 replies
3/5bcache: check unsupported feature sets for bcache registerdrivers/md/bcache/features.h drivers/md/bcache/super.c+29 -00 replies
4/5bcache: introduce BCH_FEATURE_INCOMPAT_LOG_LARGE_BUCKET_SIZE for large bucketdrivers/md/bcache/features.c drivers/md/bcache/features.h drivers/md/bcache/super.c +1 more+29 -80 replies
5/5bcache: set bcache device into read-only mode for BCH_FEATURE_INCOMPAT_OBSO_LARGE_BUCKETdrivers/md/bcache/super.c+15 -00 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/5] bcache patches for Linux v5.11-rc3

Hi Jens,

This series is not planned but necessary. The four patches from me fix a bcache super block layout issue which was introduced in 5.9 when large bucket (32MB-1TB size for zoned device) feature firstly introduced.

Previous code has problem on space consumption and checksum calculation. These four patches improve and fix the problems with on-disk format consistency. Although now almost no one (except me) uses the large bucket code now, it should be good to have the fix as soon as possible.

This series also has a patch from Yi Li which avoid a redundant value assignment in a two-level loop. It is cool if we may have it in 5.11.

User space bcache-tools are updated for the above kernel changes too. Please take them for 5.11-rc3.

Thanks in advance.

Coly Li
---

Coly Li (4):
bcache: fix typo from SUUP to SUPP in features.h
bcache: check unsupported feature sets for bcache register
bcache: introduce BCH_FEATURE_INCOMPAT_LOG_LARGE_BUCKET_SIZE for large
bucket
bcache: set bcache device into read-only mode for
BCH_FEATURE_INCOMPAT_OBSO_LARGE_BUCKET

Yi Li (1):
bcache: set pdev_set_uuid before scond loop iteration

 drivers/md/bcache/features.c |  2 +-
 drivers/md/bcache/features.h | 30 ++++++++++++++++----
 drivers/md/bcache/super.c    | 53 +++++++++++++++++++++++++++++++++---
 include/uapi/linux/bcache.h  |  2 +-
 4 files changed, 76 insertions(+), 11 deletions(-)
Signature · 1 line
2.26.2