Skip to content

dm: add asymmetric stripe device driver

[email protected] dm-devel linux-raid lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 2 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 2 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] dm: add asymmetric stripe device driver

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: <num devs> <chunk size> <ratio> [<dev path> <offset>]+ <num devs>: Number of underlying devices.
<chunk size>: Size of each chunk of data. Must be at least as large as the system's PAGE_SIZE.
<ratio>: The proportion of per io size, it is the times as much as 1 chunk size
<dev path>: Full pathname to the underlying block-device, or a "major:minor" device-number.
<offset>: 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(+)