All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] bcache-tools: suport zoned device as making backing evice
@ 2020-05-16 14:09 Coly Li
  2020-05-16 14:09 ` [PATCH 1/3] bcache-tools: set zoned size aligned data_offset on backing device for zoned devive Coly Li
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Coly Li @ 2020-05-16 14:09 UTC (permalink / raw)
  To: linux-bcache; +Cc: linux-block, Coly Li

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-05-16 14:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-16 14:09 [PATCH 0/3] bcache-tools: suport zoned device as making backing evice Coly Li
2020-05-16 14:09 ` [PATCH 1/3] bcache-tools: set zoned size aligned data_offset on backing device for zoned devive Coly Li
2020-05-16 14:09 ` [PATCH 2/3] bcache-tools: add is_zoned_device() Coly Li
2020-05-16 14:09 ` [PATCH 3/3] bcache-tools: convert writeback to writethrough mode for zoned backing device Coly Li

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.