All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hannes Reinecke <hare@suse.de>
To: Damien LeMoal <damien.lemoal@wdc.com>
Cc: dm-devel@redhat.com, Mike Snitzer <snitzer@redhat.com>
Subject: [PATCH RFC 00/12] dm-zoned: multi-device support
Date: Fri, 22 May 2020 17:38:49 +0200	[thread overview]
Message-ID: <20200522153901.133375-1-hare@suse.de> (raw)

Hi all,

on the risk of boring you to death, here's yet another RFC to update
dm-zoned. As it has seen only light testing and has some areas which
need to be improved I'd consider it RFC material.
I'm just putting it out now to get some feedback and get it ready for
the next merge window.

So, this patchset:
- Converts the zone array to using xarray for better scalability
- Separate out shared structures into per-device structure
- Lift the restriction of 2 devices to handle an arbitrary number
  of drives.

With this patchset I'm seeing a performance increase for writes from
an average of 150MB/s (with 2 drives) to 200MB/s (with 3 drives).

Hannes Reinecke (12):
  dm-zoned: add debugging message for reading superblocks
  dm-zoned: convert to xarray
  dm-zoned: use on-stack superblock for tertiary devices
  dm-zoned: secondary superblock must reside on the same devices than
    primary superblock
  dm-zoned: add device pointer to struct dm_zone
  dm-zoned: add metadata pointer to struct dmz_dev
  dm-zoned: add a 'reserved' zone flag
  dm-zoned: move random and sequential zones into struct dmz_dev
  dm-zoned: improve logging messages for reclaim
  dm-zoned: support arbitrary number of devices
  dm-zoned: round-robin load balancer for reclaiming zones
  dm-zoned: per-device reclaim

 drivers/md/dm-zoned-metadata.c | 430 ++++++++++++++++++++++++-----------------
 drivers/md/dm-zoned-reclaim.c  |  85 ++++----
 drivers/md/dm-zoned-target.c   | 172 ++++++++++-------
 drivers/md/dm-zoned.h          |  70 ++++---
 4 files changed, 454 insertions(+), 303 deletions(-)

-- 
2.16.4

             reply	other threads:[~2020-05-22 15:38 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-22 15:38 Hannes Reinecke [this message]
2020-05-22 15:38 ` [PATCH 01/12] dm-zoned: add debugging message for reading superblocks Hannes Reinecke
2020-05-25  1:54   ` Damien Le Moal
2020-05-22 15:38 ` [PATCH 02/12] dm-zoned: convert to xarray Hannes Reinecke
2020-05-25  2:01   ` Damien Le Moal
2020-05-25  7:40     ` Hannes Reinecke
2020-05-22 15:38 ` [PATCH 03/12] dm-zoned: use on-stack superblock for tertiary devices Hannes Reinecke
2020-05-25  2:09   ` Damien Le Moal
2020-05-25  7:41     ` Hannes Reinecke
2020-05-26  8:25     ` Hannes Reinecke
2020-05-26  8:48       ` Damien Le Moal
2020-05-22 15:38 ` [PATCH 04/12] dm-zoned: secondary superblock must reside on the same devices than primary superblock Hannes Reinecke
2020-05-25  2:10   ` Damien Le Moal
2020-05-22 15:38 ` [PATCH 05/12] dm-zoned: add device pointer to struct dm_zone Hannes Reinecke
2020-05-25  2:15   ` Damien Le Moal
2020-05-25  7:42     ` Hannes Reinecke
2020-05-22 15:38 ` [PATCH 06/12] dm-zoned: add metadata pointer to struct dmz_dev Hannes Reinecke
2020-05-25  2:17   ` Damien Le Moal
2020-05-22 15:38 ` [PATCH 07/12] dm-zoned: add a 'reserved' zone flag Hannes Reinecke
2020-05-25  2:18   ` Damien Le Moal
2020-05-22 15:38 ` [PATCH 08/12] dm-zoned: move random and sequential zones into struct dmz_dev Hannes Reinecke
2020-05-25  2:27   ` Damien Le Moal
2020-05-25  7:47     ` Hannes Reinecke
2020-05-22 15:38 ` [PATCH 09/12] dm-zoned: improve logging messages for reclaim Hannes Reinecke
2020-05-25  2:28   ` Damien Le Moal
2020-05-22 15:38 ` [PATCH 10/12] dm-zoned: support arbitrary number of devices Hannes Reinecke
2020-05-25  2:36   ` Damien Le Moal
2020-05-25  7:52     ` Hannes Reinecke
2020-05-25  8:22       ` Damien Le Moal
2020-05-22 15:39 ` [PATCH 11/12] dm-zoned: round-robin load balancer for reclaiming zones Hannes Reinecke
2020-05-25  2:42   ` Damien Le Moal
2020-05-25  7:53     ` Hannes Reinecke
2020-05-22 15:39 ` [PATCH 12/12] dm-zoned: per-device reclaim Hannes Reinecke
2020-05-25  2:46   ` Damien Le Moal

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=20200522153901.133375-1-hare@suse.de \
    --to=hare@suse.de \
    --cc=damien.lemoal@wdc.com \
    --cc=dm-devel@redhat.com \
    --cc=snitzer@redhat.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 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.