[PATCH 0/2] null_blk: zone support
From: Matias BjÃrling
Date: Fri Jul 06 2018 - 13:39:21 EST
This series adds support for exposing a zone block device using the
null_blk device driver.
The first patch moves core null_blk data structures to a shared header
file. The second implements the actual zone support. The patchset adds
two new options. One to enable the zone interface, and another to
define the size of the zones to expose.
Thanks,
Matias
Matias BjÃrling (2):
null_blk: move shared definitions to header file
null_blk: add zone support
Documentation/block/null_blk.txt | 7 ++
drivers/block/Makefile | 5 +-
drivers/block/null_blk.c | 124 ++++++++++++--------------------
drivers/block/null_blk.h | 108 ++++++++++++++++++++++++++++
drivers/block/null_blk_zoned.c | 149 +++++++++++++++++++++++++++++++++++++++
5 files changed, 315 insertions(+), 78 deletions(-)
create mode 100644 drivers/block/null_blk.h
create mode 100644 drivers/block/null_blk_zoned.c
--
2.11.0