raid5-ppl: Recovery support for multiple partial parity logs
authorPawel Baldysiak <pawel.baldysiak@intel.com>
Wed, 16 Aug 2017 15:13:46 +0000 (17:13 +0200)
committerShaohua Li <shli@fb.com>
Mon, 28 Aug 2017 14:45:49 +0000 (07:45 -0700)
commit675dc2ccc27c02449da45e1a03234104c2449f68
tree3f19c52ed617cde589407cd27a10f2eb2396be26
parentddc088238cd6988bb4ac3776f403d7ff9d3c7a63
raid5-ppl: Recovery support for multiple partial parity logs

Search PPL buffer in order to find out the latest PPL header (the one
with largest generation number) and use it for recovery. The PPL entry
format and recovery algorithm are the same as for single PPL approach.

Signed-off-by: Pawel Baldysiak <pawel.baldysiak@intel.com>
Signed-off-by: Shaohua Li <shli@fb.com>
drivers/md/raid5-ppl.c