From: Song Liu <songliubraving@fb.com>
To: linux-raid@vger.kernel.org
Cc: neilb@suse.com, shli@fb.com, kernel-team@fb.com,
dan.j.williams@intel.com, hch@infradead.org,
Song Liu <songliubraving@fb.com>
Subject: [PATCH 0/5] raid5-cache: enabling cache features
Date: Wed, 31 Aug 2016 15:18:17 -0700 [thread overview]
Message-ID: <1472681902-1172317-1-git-send-email-songliubraving@fb.com> (raw)
These patches enable write cache 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 changes are organized in 5 patches (details below). Current reclaim
approach can be improved. So far it works OK in my tests with spinning
disks as raid device and SSD as journal.
I removed the patch for chunk_aligned_read in earlier RFC
(http://marc.info/?l=linux-raid&m=146432700719277). But we may still need
some optimizations later, especially for SSD raid devices.
Thanks,
Song
Song Liu (5):
r5cache: write part of r5cache
r5cache: sysfs entry r5c_state
r5cache: naive reclaim approach
r5cache: r5c recovery
r5cache: handle SYNC and FUA
drivers/md/raid5-cache.c | 1299 ++++++++++++++++++++++++++++++++++++++++------
drivers/md/raid5.c | 185 ++++++-
drivers/md/raid5.h | 30 +-
3 files changed, 1327 insertions(+), 187 deletions(-)
--
2.8.0.rc2
next reply other threads:[~2016-08-31 22:18 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-31 22:18 Song Liu [this message]
2016-08-31 22:18 ` [PATCH 1/5] r5cache: write part of r5cache Song Liu
2016-09-24 14:51 ` Zhengyuan Liu
2016-09-25 7:02 ` Song Liu
2016-08-31 22:18 ` [PATCH 2/5] r5cache: sysfs entry r5c_state Song Liu
2016-08-31 22:18 ` [PATCH 3/5] r5cache: naive reclaim approach Song Liu
2016-08-31 22:18 ` [PATCH 4/5] r5cache: r5c recovery Song Liu
2016-08-31 22:18 ` [PATCH 5/5] r5cache: handle SYNC and FUA Song Liu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1472681902-1172317-1-git-send-email-songliubraving@fb.com \
--to=songliubraving@fb.com \
--cc=dan.j.williams@intel.com \
--cc=hch@infradead.org \
--cc=kernel-team@fb.com \
--cc=linux-raid@vger.kernel.org \
--cc=neilb@suse.com \
--cc=shli@fb.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox