[PATCH 0/3] bcache-tools: suport zoned device as making backing evice

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

 



Hi folks,

This series is for bcache-tools to support making zoned device as
bcache backing device.

There are two major ideas to support zoned device as bcache backing
device,
- The super block data_offset should be aligned to zone size. By default
  the data_offset is set to 1 zone size for zoned backing device.
- Writeback mode is not supported yet. If the cache mode is explicitly
  set to writeback, print message to terminal to inform users that the
  cache mode is converted to wrightthough.

After the data_offset and cache mode is set properly, the rested stuffs
for zoned device support are from bcache driver in Linux kernel.

Thanks for your review in advance.

Coly Li
---

Coly Li (3):
  bcache-tools: set zoned size aligned data_offset on backing device for
    zoned devive
  bcache-tools: add is_zoned_device()
  bcache-tools: convert writeback to writethrough mode for zoned backing
    device

 Makefile |  4 +--
 make.c   | 20 +++++++++++-
 zoned.c  | 94 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 zoned.h  | 14 +++++++++
 4 files changed, 129 insertions(+), 3 deletions(-)
 create mode 100644 zoned.c
 create mode 100644 zoned.h

-- 
2.25.0




[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