All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC 0/5] raid5-cache: the write cache part
@ 2016-05-27  5:29 Song Liu
  2016-05-27  5:29 ` [RFC 1/5] add bio_split_mddev Song Liu
                   ` (4 more replies)
  0 siblings, 5 replies; 17+ messages in thread
From: Song Liu @ 2016-05-27  5:29 UTC (permalink / raw)
  To: linux-raid; +Cc: shli, nfbrown, dan.j.williams, hch, kernel-team, Song Liu

Hi,

This is the caching part of raid5-cache. The journal part was released
with kernel 4.4.

The caching part uses same disk format of raid456 journal, and provides
acceleration to writes. Write operations are committed (bio_endio) once
the data is secured in journal. Reconstruct and RMW are postponed to
reclaim path, which is (hopefully) not on the critical path.

The patch are splitted in 3 major changes: read path (chunk_aligned_read),
write part (the main changes), and a naive reclaim. I have tested read
and write patches (0001-0004), including data-verify in degraded modes.
The reclaim patch still needs some work.

I haven't finished the recovery part of the raid5-cache. But as the
patch set grows, I would like feedback about current changes.

Thanks,
Song

Song Liu (5):
  add bio_split_mddev
  move stripe cache define and functions to raid5.h
  r5cache: look up stripe cache for chunk_aligned_read
  r5cache: write part of r5cache
  r5cache: naive reclaim approach

 drivers/md/md.c          |  14 +-
 drivers/md/md.h          |   2 +
 drivers/md/raid5-cache.c | 711 +++++++++++++++++++++++++++++++++++++++++++++--
 drivers/md/raid5.c       | 264 ++++++++++++------
 drivers/md/raid5.h       | 101 ++++++-
 5 files changed, 990 insertions(+), 102 deletions(-)

--
2.8.0.rc2

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

end of thread, other threads:[~2016-06-01 22:37 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-27  5:29 [RFC 0/5] raid5-cache: the write cache part Song Liu
2016-05-27  5:29 ` [RFC 1/5] add bio_split_mddev Song Liu
2016-05-31  9:13   ` Guoqing Jiang
2016-06-01 13:18     ` Song Liu
2016-05-27  5:29 ` [RFC 2/5] move stripe cache define and functions to raid5.h Song Liu
2016-05-27  5:29 ` [RFC 3/5] r5cache: look up stripe cache for chunk_aligned_read Song Liu
2016-06-01  2:52   ` NeilBrown
2016-06-01 13:23     ` Song Liu
2016-05-27  5:29 ` [RFC 4/5] r5cache: write part of r5cache Song Liu
2016-05-31  9:00   ` Guoqing Jiang
2016-06-01 13:13     ` Song Liu
2016-06-01  3:12   ` NeilBrown
2016-06-01 13:36     ` Song Liu
2016-06-01 22:37       ` NeilBrown
2016-05-27  5:29 ` [RFC 5/5] r5cache: naive reclaim approach Song Liu
2016-06-01  3:16   ` NeilBrown
2016-06-01 13:24     ` Song Liu

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.