From: Naohiro Aota <naohiro.aota@wdc.com>
To: linux-btrfs@vger.kernel.org, David Sterba <dsterba@suse.com>
Cc: Chris Mason <clm@fb.com>, Josef Bacik <josef@toxicpanda.com>,
Nikolay Borisov <nborisov@suse.com>,
Damien Le Moal <damien.lemoal@wdc.com>,
Johannes Thumshirn <jthumshirn@suse.de>,
Hannes Reinecke <hare@suse.com>,
Anand Jain <anand.jain@oracle.com>,
linux-fsdevel@vger.kernel.org,
Naohiro Aota <naohiro.aota@wdc.com>
Subject: [PATCH v5 00/15] btrfs-progs: zoned block device support
Date: Wed, 4 Dec 2019 17:24:58 +0900 [thread overview]
Message-ID: <20191204082513.857320-1-naohiro.aota@wdc.com> (raw)
This is a userland part of supporting zoned block device on btrfs.
Since the log-structured superblock feature changed the location of
superblock magic, the current util-linux (libblkid) cannot detect
HMZONED btrfs anymore. You need to apply a to-be posted patch to
util-linux to make it "zone aware".
Naohiro Aota (15):
btrfs-progs: utils: Introduce queue_param helper function
btrfs-progs: introduce raid parameters variables
btrfs-progs: build: Check zoned block device support
btrfs-progs: add new HMZONED feature flag
btrfs-progs: Introduce zone block device helper functions
btrfs-progs: load and check zone information
btrfs-progs: support discarding zoned device
btrfs-progs: support zero out on zoned block device
btrfs-progs: implement log-structured superblock for HMZONED mode
btrfs-progs: align device extent allocation to zone boundary
btrfs-progs: do sequential allocation in HMZONED mode
btrfs-progs: redirty clean extent buffers in seq
btrfs-progs: mkfs: Zoned block device support
btrfs-progs: device-add: support HMZONED device
btrfs-progs: introduce support for device replace HMZONED device
Makefile | 3 +-
cmds/device.c | 32 +-
cmds/inspect-dump-super.c | 4 +-
cmds/replace.c | 12 +-
common/device-scan.c | 19 +-
common/device-utils.c | 109 +++-
common/device-utils.h | 4 +
common/fsfeatures.c | 8 +
common/fsfeatures.h | 2 +-
common/hmzoned.c | 1009 +++++++++++++++++++++++++++++++++++++
common/hmzoned.h | 139 +++++
configure.ac | 13 +
ctree.h | 11 +-
disk-io.c | 14 +-
extent-tree.c | 24 +
kerncompat.h | 9 +
mkfs/common.c | 38 +-
mkfs/common.h | 1 +
mkfs/main.c | 90 ++--
transaction.c | 7 +
volumes.c | 116 ++++-
volumes.h | 4 +
22 files changed, 1582 insertions(+), 86 deletions(-)
create mode 100644 common/hmzoned.c
create mode 100644 common/hmzoned.h
--
2.24.0
next reply other threads:[~2019-12-04 8:27 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-04 8:24 Naohiro Aota [this message]
2019-12-04 8:24 ` [PATCH v5 01/15] btrfs-progs: utils: Introduce queue_param helper function Naohiro Aota
2019-12-04 8:25 ` [PATCH v5 02/15] btrfs-progs: introduce raid parameters variables Naohiro Aota
2019-12-04 8:25 ` [PATCH v5 03/15] btrfs-progs: build: Check zoned block device support Naohiro Aota
2019-12-04 8:25 ` [PATCH v5 04/15] btrfs-progs: add new HMZONED feature flag Naohiro Aota
2019-12-04 8:25 ` [PATCH v5 05/15] btrfs-progs: Introduce zone block device helper functions Naohiro Aota
2019-12-04 8:25 ` [PATCH v5 06/15] btrfs-progs: load and check zone information Naohiro Aota
2019-12-04 8:25 ` [PATCH v5 07/15] btrfs-progs: support discarding zoned device Naohiro Aota
2019-12-04 8:25 ` [PATCH v5 08/15] btrfs-progs: support zero out on zoned block device Naohiro Aota
2019-12-04 8:25 ` [PATCH v5 09/15] btrfs-progs: implement log-structured superblock for HMZONED mode Naohiro Aota
2019-12-04 8:25 ` [PATCH v5 10/15] btrfs-progs: align device extent allocation to zone boundary Naohiro Aota
2019-12-04 8:25 ` [PATCH v5 11/15] btrfs-progs: do sequential allocation in HMZONED mode Naohiro Aota
2019-12-04 8:25 ` [PATCH v5 12/15] btrfs-progs: redirty clean extent buffers in seq Naohiro Aota
2019-12-04 8:25 ` [PATCH v5 13/15] btrfs-progs: mkfs: Zoned block device support Naohiro Aota
2019-12-04 8:25 ` [PATCH v5 14/15] btrfs-progs: device-add: support HMZONED device Naohiro Aota
2019-12-04 8:25 ` [PATCH v5 15/15] btrfs-progs: introduce support for device replace " Naohiro Aota
2019-12-04 8:30 ` [PATCH] libblkid: implement zone-aware probing for HMZONED btrfs Naohiro Aota
2019-12-04 12:15 ` Vyacheslav Dubeyko
2019-12-06 7:03 ` Naohiro Aota
2019-12-06 15:22 ` David Sterba
2019-12-05 14:51 ` Karel Zak
2019-12-06 7:06 ` Naohiro Aota
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=20191204082513.857320-1-naohiro.aota@wdc.com \
--to=naohiro.aota@wdc.com \
--cc=anand.jain@oracle.com \
--cc=clm@fb.com \
--cc=damien.lemoal@wdc.com \
--cc=dsterba@suse.com \
--cc=hare@suse.com \
--cc=josef@toxicpanda.com \
--cc=jthumshirn@suse.de \
--cc=linux-btrfs@vger.kernel.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=nborisov@suse.com \
/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).