Skip to content

bcache patches for Linux v5.14

Coly Li linux-bcache linux-block 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest14 patches 45 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14bcache: fix error info in register_bcache()drivers/md/bcache/super.c+10 -31 reply
2/14md: bcache: Fix spelling of 'acquire'drivers/md/bcache/super.c+1 -11 reply
3/14bcache: add initial data structures for nvm pagesinclude/uapi/linux/bcache-nvm.h+200 -013 replies
4/14bcache: initialize the nvm pages allocatordrivers/md/bcache/Kconfig drivers/md/bcache/Makefile drivers/md/bcache/nvm-pages.c +2 more+383 -04 replies
5/14bcache: initialization of the buddydrivers/md/bcache/nvm-pages.c drivers/md/bcache/nvm-pages.h include/uapi/linux/bcache-nvm.h+165 -74 replies
6/14bcache: bch_nvm_alloc_pages() of the buddydrivers/md/bcache/nvm-pages.c drivers/md/bcache/nvm-pages.h include/uapi/linux/bcache-nvm.h+184 -22 replies
7/14bcache: bch_nvm_free_pages() of the buddydrivers/md/bcache/nvm-pages.c drivers/md/bcache/nvm-pages.h+159 -82 replies
8/14bcache: get allocated pages from specific ownerdrivers/md/bcache/nvm-pages.c drivers/md/bcache/nvm-pages.h+11 -02 replies
9/14bcache: use bucket index to set GC_MARK_METADATA for journal buckets in bch_btree_gc_finish()drivers/md/bcache/btree.c+4 -22 replies
10/14bcache: add BCH_FEATURE_INCOMPAT_NVDIMM_META into incompat feature setdrivers/md/bcache/features.h+9 -02 replies
11/14bcache: initialize bcache journal for NVDIMM meta devicedrivers/md/bcache/journal.c drivers/md/bcache/journal.h drivers/md/bcache/super.c+115 -84 replies
12/14bcache: support storing bcache journal into NVDIMM meta devicedrivers/md/bcache/journal.c drivers/md/bcache/nvm-pages.h drivers/md/bcache/super.c+110 -382 replies
13/14bcache: read jset from NVDIMM pages for journal replaydrivers/md/bcache/journal.c+69 -242 replies
14/14bcache: add sysfs interface register_nvdimm_meta to register NVDIMM meta devicedrivers/md/bcache/super.c+29 -01 reply

Reviews trailers per patch

7 of 14 patches have a Reviewed-by or Acked-by.

PatchHannes Reinecke
1/14R-b
2/14R-b
3/14
4/14
5/14
6/14
7/14
8/14R-b
9/14R-b
10/14R-b
11/14
12/14R-b
13/14
14/14R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/14] bcache patches for Linux v5.14

Hi Jens,

Here are the bcache patches for Linux v5.14.

The patches from Chao Yu and Ding Senjie are useful code cleanup. The rested patches for the NVDIMM support to bcache journaling.

For the series to support NVDIMM to bache journaling, all reported issue since last merge window are all fixed. And no more issue detected during our testing or by the kernel test robot. If there is any issue reported during they stay in linux-next, I, Jianpang and Qiaowei will response and fix immediately.

Please take them for Linux v5.14.

Thank you in advance.

Coly Li
---

Chao Yu (1):
bcache: fix error info in register_bcache()

Coly Li (7):
bcache: add initial data structures for nvm pages
bcache: use bucket index to set GC_MARK_METADATA for journal buckets
in bch_btree_gc_finish()
bcache: add BCH_FEATURE_INCOMPAT_NVDIMM_META into incompat feature set
bcache: initialize bcache journal for NVDIMM meta device
bcache: support storing bcache journal into NVDIMM meta device
bcache: read jset from NVDIMM pages for journal replay
bcache: add sysfs interface register_nvdimm_meta to register NVDIMM
meta device

Ding Senjie (1):
md: bcache: Fix spelling of 'acquire'

Jianpeng Ma (5):
bcache: initialize the nvm pages allocator
bcache: initialization of the buddy
bcache: bch_nvm_alloc_pages() of the buddy
bcache: bch_nvm_free_pages() of the buddy
bcache: get allocated pages from specific owner

 drivers/md/bcache/Kconfig       |  10 +
 drivers/md/bcache/Makefile      |   1 +
 drivers/md/bcache/btree.c       |   6 +-
 drivers/md/bcache/features.h    |   9 +
 drivers/md/bcache/journal.c     | 317 ++++++++++---
 drivers/md/bcache/journal.h     |   2 +-
 drivers/md/bcache/nvm-pages.c   | 773 ++++++++++++++++++++++++++++++++
 drivers/md/bcache/nvm-pages.h   |  93 ++++
 drivers/md/bcache/super.c       |  91 +++-
 include/uapi/linux/bcache-nvm.h | 206 +++++++++
 10 files changed, 1432 insertions(+), 76 deletions(-)
 create mode 100644 drivers/md/bcache/nvm-pages.c
 create mode 100644 drivers/md/bcache/nvm-pages.h
 create mode 100644 include/uapi/linux/bcache-nvm.h
Signature · 1 line
2.26.2