From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751029AbdL2Mgs (ORCPT ); Fri, 29 Dec 2017 07:36:48 -0500 Received: from mail-pl0-f68.google.com ([209.85.160.68]:47076 "EHLO mail-pl0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750969AbdL2Mgp (ORCPT ); Fri, 29 Dec 2017 07:36:45 -0500 X-Google-Smtp-Source: ACJfBotNDgLkx2yncZAAhGq9h/wjY8FralDSD5Pf/778zCO98653VqAllOJnCmasZNs5y3O3rEW0IA== Message-ID: <5a4636dc.5465650a.6d7db.95f2@mx.google.com> X-Google-Original-Message-ID: <20171229123400.20127-1-liuchaowei> From: liuchaowei110@gmail.com X-Google-Original-From: liuchaowei To: agk@redhat.com Cc: snitzer@redhat.com, dm-devel@redhat.com, neilb@suse.com, linux-raid@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, corbet@lwn.net Subject: [PATCH 0/2] dm: add asymmetric stripe device driver Date: Fri, 29 Dec 2017 20:33:58 +0800 X-Mailer: git-send-email 2.15.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Device-Mapper's "asm-striped" target is used to create a striped (i.e. RAID-0) device across one or more underlying devices. Data is written in "chunks", with consecutive chunks rotating among the underlying devices. This can potentially provide improved I/O throughput by utilizing several physical devices in parallel. However, in order to gain maximum I/O performance between slow and fast device, there is a ratio to set up the chunk size among these device. Parameters: [ ]+ : Number of underlying devices. : Size of each chunk of data. Must be at least as large as the system's PAGE_SIZE. : The proportion of per io size, it is the times as much as 1 chunk size : Full pathname to the underlying block-device, or a "major:minor" device-number. : Starting sector within the device. Documentation/device-mapper/asymmetric-striped.txt | 85 ++++ drivers/md/Kconfig | 11 + drivers/md/Makefile | 1 + drivers/md/dm-asymmetric-stripe.c | 556 +++++++++++++++++++++ drivers/md/dm.c | 5 + include/linux/device-mapper.h | 15 + 6 files changed, 678 insertions(+)