From: Bob Liu <bob.liu@oracle.com>
To: dm-devel@redhat.com
Cc: Damien.LeMoal@wdc.com, linux-block@vger.kernel.org,
Dmitry.Fomichev@wdc.com, hare@suse.de,
Bob Liu <bob.liu@oracle.com>
Subject: [RFC PATCH v2 0/3] dm zoned: extend the way of exposing zoned block device
Date: Tue, 24 Mar 2020 19:02:52 +0800 [thread overview]
Message-ID: <20200324110255.8385-1-bob.liu@oracle.com> (raw)
Motivation:
dm-zoned exposes a zoned block device(ZBC) as a regular block device by storing
metadata and buffering random writes in its conventional zones.
This way is not flexible, there must be enough conventional zones and the
performance may be constrained.
This patchset split the metadata from zoned device to an extra regular device,
with aim to increase the flexibility and potential performance.
For example, now we can store metadata in a faster device like persistent memory.
Also random writes can go to the regular devices in this version.
Usage(will send user space patches later):
> dmzadm --format $zoned_dev --regular=$regu_dev --force
> echo "0 $size zoned $regu_dev $zoned_dev" | dmsetup create $dm-zoned-name
v2:
* emulate regular device zone info
* support write both metadata and random writes to regular dev
Bob Liu (3):
dm zoned: rename dev name to zoned_dev
dm zoned: introduce regular device to dm-zoned-target
dm zoned: add regular device info to metadata
drivers/md/dm-zoned-metadata.c | 205 +++++++++++++++++++++++++++--------------
drivers/md/dm-zoned-target.c | 205 +++++++++++++++++++++++------------------
drivers/md/dm-zoned.h | 53 ++++++++++-
3 files changed, 299 insertions(+), 164 deletions(-)
--
2.9.5
next reply other threads:[~2020-03-24 11:03 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-24 11:02 Bob Liu [this message]
2020-03-24 11:02 ` [RFC PATCH v2 1/3] dm zoned: rename dev name to zoned_dev Bob Liu
2020-03-25 6:29 ` Damien Le Moal
2020-03-25 7:28 ` Bob Liu
2020-03-24 11:02 ` [RFC PATCH v2 2/3] dm zoned: introduce regular device to dm-zoned-target Bob Liu
2020-03-25 6:20 ` Damien Le Moal
2020-03-24 11:02 ` [RFC PATCH v2 3/3] dm zoned: add regular device info to metadata Bob Liu
2020-03-25 6:29 ` Damien Le Moal
2020-03-25 6:47 ` Hannes Reinecke
2020-03-25 7:29 ` Bob Liu
2020-03-25 8:45 ` Hannes Reinecke
2020-03-25 8:02 ` Damien Le Moal
2020-03-25 8:52 ` Hannes Reinecke
2020-03-25 9:10 ` Damien Le Moal
2020-03-25 10:00 ` Hannes Reinecke
2020-03-25 10:02 ` Damien Le Moal
2020-03-24 11:52 ` [RFC PATCH v2 0/3] dm zoned: extend the way of exposing zoned block device Hannes Reinecke
2020-03-24 13:12 ` Bob Liu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200324110255.8385-1-bob.liu@oracle.com \
--to=bob.liu@oracle.com \
--cc=Damien.LeMoal@wdc.com \
--cc=Dmitry.Fomichev@wdc.com \
--cc=dm-devel@redhat.com \
--cc=hare@suse.de \
--cc=linux-block@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).