linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] a caching layer for raid 5/6
@ 2015-05-06 23:57 Shaohua Li
  2015-05-06 23:57 ` [PATCH 1/5] MD: add a new disk role to present cache device Shaohua Li
                   ` (5 more replies)
  0 siblings, 6 replies; 11+ messages in thread
From: Shaohua Li @ 2015-05-06 23:57 UTC (permalink / raw)
  To: linux-raid; +Cc: Kernel-team, songliubraving, dan.j.williams, neilb

Hi,

These are the patches to add a caching layer for raid5/6. It uses a SSD as a
cache for a raid 5/6. It works like the similar way of a hardware raid
controller. The purpose is to improve raid performance (reduce
read-modify-write) and fix write hole issue. The main patch is patch 3 and the
description has all details about the implementation.

This also requires mdadm utility changes, which Song will send out later.

Comments and suggestions are welcome!

Thanks,
Shaohua


Shaohua Li (4):
  raid5: directly use mddev->queue
  A caching layer for RAID5/6
  raid5-cache: add some sysfs entries
  md: don't allow resize/reshape with cache support

Song Liu (1):
  MD: add a new disk role to present cache device

 drivers/md/Makefile            |    2 +-
 drivers/md/md.c                |   14 +-
 drivers/md/md.h                |    4 +
 drivers/md/raid5-cache.c       | 3252 ++++++++++++++++++++++++++++++++++++++++
 drivers/md/raid5.c             |   90 +-
 drivers/md/raid5.h             |   16 +-
 include/uapi/linux/raid/md_p.h |   73 +
 7 files changed, 3431 insertions(+), 20 deletions(-)
 create mode 100644 drivers/md/raid5-cache.c

-- 
1.8.1


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2015-05-12 15:23 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-06 23:57 [PATCH 0/5] a caching layer for raid 5/6 Shaohua Li
2015-05-06 23:57 ` [PATCH 1/5] MD: add a new disk role to present cache device Shaohua Li
2015-05-06 23:57 ` [PATCH 2/5] raid5: directly use mddev->queue Shaohua Li
2015-05-06 23:57 ` [PATCH 3/5] A caching layer for RAID5/6 Shaohua Li
2015-05-07 16:52   ` Christoph Hellwig
2015-05-06 23:57 ` [PATCH 4/5] raid5-cache: add some sysfs entries Shaohua Li
2015-05-06 23:57 ` [PATCH 5/5] md: don't allow resize/reshape with cache support Shaohua Li
2015-05-11 12:23 ` [PATCH 0/5] a caching layer for raid 5/6 Christoph Hellwig
2015-05-11 16:03   ` Shaohua Li
2015-05-12  7:18     ` Christoph Hellwig
2015-05-12 15:23       ` Shaohua Li

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).