All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] md: Add support for Multiple PPLs
@ 2017-08-16 15:13 Pawel Baldysiak
  2017-08-16 15:13 ` [PATCH 1/2] md: Runtime support for multiple ppls Pawel Baldysiak
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Pawel Baldysiak @ 2017-08-16 15:13 UTC (permalink / raw)
  To: linux-raid; +Cc: shli, Pawel Baldysiak

Current Partial Parity Log implementation allows only single PPL to be
written to particular member drive. In such case PPL entry is
overwritten by every write as it's stored at the same sector of a drive.
Such approach is suboptimal for SSD drives as it leads to increased
write amplification factor due to write-after-write limitations.

This patchset changes the implementation by extending PPL area to 1MB.
PPL is not stored at fixed location but multiple PPLs are written in a
circular buffer. There is at most one valid PPL at any time (latest
one). Recovery algorithm stays the same. The main benefits of this
approach are increased drive lifespan and in some cases improved
performance. 

Pawel Baldysiak (2):
  md: Runtime support for multiple ppls
  raid5-ppl: Recovery support for multiple partial parity logs

 drivers/md/md.c                |  16 +++-
 drivers/md/md.h                |   1 +
 drivers/md/raid0.c             |   3 +-
 drivers/md/raid1.c             |   3 +-
 drivers/md/raid5-ppl.c         | 171 +++++++++++++++++++++++++++++++----------
 drivers/md/raid5.c             |   1 +
 include/uapi/linux/raid/md_p.h |   4 +-
 7 files changed, 152 insertions(+), 47 deletions(-)

-- 
2.13.4


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

end of thread, other threads:[~2017-08-28 14:54 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-16 15:13 [PATCH 0/2] md: Add support for Multiple PPLs Pawel Baldysiak
2017-08-16 15:13 ` [PATCH 1/2] md: Runtime support for multiple ppls Pawel Baldysiak
2017-08-16 15:13 ` [PATCH 2/2] raid5-ppl: Recovery support for multiple partial parity logs Pawel Baldysiak
2017-08-17 18:03 ` [PATCH 0/2] md: Add support for Multiple PPLs Shaohua Li
2017-08-21 14:54   ` Pawel Baldysiak
2017-08-21 16:14     ` Shaohua Li
2017-08-25 20:02       ` Pawel Baldysiak
2017-08-25 21:53         ` Shaohua Li
2017-08-28  7:44           ` Artur Paszkiewicz
2017-08-28 14:54             ` Shaohua Li

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.