RFC nvm page allocator for bcache
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest8 patches 12 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | bcache: add initial data structures for nvm pagesinclude/ | +184 | 0 replies | |
| 2/8 | bcache: initialize the nvm pages allocatordrivers/ drivers/ drivers/ +2 more | +404 | 4 replies | |
| 3/8 | bcache: initialization of the buddydrivers/ drivers/ | +70 | 2 replies | |
| 4/8 | bcache: nvm_alloc_pages() of the buddydrivers/ drivers/ | +140 | 1 reply | |
| 5/8 | bcache: nvm_free_pages() of the buddydrivers/ drivers/ | +144 | 1 reply | |
| 6/8 | bcache: get allocated pages from specific ownerdrivers/ drivers/ | +43 | 1 reply | |
| 7/8 | bcache: persist owner info when alloc/free pages.drivers/ | +86 | 2 replies | |
| 8/8 | bcache: testing module for nvm pages allocatordrivers/ drivers/ drivers/ | +125 | 1 reply |
Reviews trailers per patch
None of the 8 patches has a Reviewed-by or Acked-by.
| Patch | Coly Li |
|---|---|
| 1/8 | |
| 2/8 | |
| 3/8 | |
| 4/8 | |
| 5/8 | |
| 6/8 | |
| 7/8 | Reviwed-by |
| 8/8 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [RFC PATCH 0/8] nvm page allocator for bcache
This series implements nvm pages allocator for bcache. This idea is from one discussion about nvdimm use case in kernel together with Coly. Coly sent the following email about this idea to give some introduction on what we will do before:
https://lore.kernel.org/linux-bcache/[email protected]/
Here this series focus on the first step in above email, that is to say, this patch set implements a generic framework in bcache to allocate/release NV-memory pages, and provide allocated pages for each requestor after reboot. In order to do this, one simple buddy system is implemented to manage NV-memory pages.
This set includes one testing module which can be used for simple test cases. Next need to stroe bcache log or internal btree nodes into nvdimm based on these buddy apis to do more testing.
Qiaowei Ren (8):
bcache: add initial data structures for nvm pages
bcache: initialize the nvm pages allocator
bcache: initialization of the buddy
bcache: nvm_alloc_pages() of the buddy
bcache: nvm_free_pages() of the buddy
bcache: get allocated pages from specific owner
bcache: persist owner info when alloc/free pages.
bcache: testing module for nvm pages allocator
drivers/md/bcache/Kconfig | 12 + drivers/md/bcache/Makefile | 4 +- drivers/md/bcache/nvm-pages.c | 769 ++++++++++++++++++++++++++++++++ drivers/md/bcache/nvm-pages.h | 107 +++++ drivers/md/bcache/super.c | 3 + drivers/md/bcache/test-nvm.c | 117 +++++ include/uapi/linux/bcache-nvm.h | 184 ++++++++ 7 files changed, 1195 insertions(+), 1 deletion(-) create mode 100644 drivers/md/bcache/nvm-pages.c create mode 100644 drivers/md/bcache/nvm-pages.h create mode 100644 drivers/md/bcache/test-nvm.c create mode 100644 include/uapi/linux/bcache-nvm.h
Signature · 1 line
2.17.1