Hi, This is the third version of the raid5/6 caching layer patches. The patches add a caching layer for raid5/6. The caching layer 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. Please review! Thanks, Shaohua V3: -make reclaim multi-thread -add statistics in sysfs -bug fixes V2: -metadata write doesn't use FUA -discard request is only issued when necessary -bug fixes and cleanup Shaohua Li (7): raid5: directly use mddev->queue raid5: A caching layer for RAID5/6 raid5: add some sysfs entries md: don't allow resize/reshape with cache support raid5: skip resync if caching is enabled raid5: guarantee cache release stripes in correct way raid5: multi-thread support for raid5 caching reclaim 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 | 3775 ++++++++++++++++++++++++++++++++++++++++ drivers/md/raid5.c | 177 +- drivers/md/raid5.h | 25 +- include/uapi/linux/raid/md_p.h | 73 + 7 files changed, 4022 insertions(+), 48 deletions(-) create mode 100644 drivers/md/raid5-cache.c -- 1.8.1 -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html