Patch "raid5-ppl: check recovery_offset when performing ppl recovery" has been added to the 4.14-stable tree
Subsystems (2)
This is a note to let you know that I've just added the patch titled
raid5-ppl: check recovery_offset when performing ppl recovery
to the 4.14-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
raid5-ppl-check-recovery_offset-when-performing-ppl-recovery.patch
and it can be found in the queue-4.14 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From foo@baz Mon Dec 18 13:29:00 CET 2017
From: Artur Paszkiewicz <[email protected]>
Date: Fri, 29 Sep 2017 22:54:19 +0200
Subject: raid5-ppl: check recovery_offset when performing ppl recovery
From: Artur Paszkiewicz <[email protected]>
[ Upstream commit 07719ff767dcd8cc42050f185d332052f3816546 ]
If starting an array that is undergoing rebuild, make ppl recovery honor the recovery_offset of a member disk and don't read data that is not yet in-sync.
--- drivers/md/raid5-ppl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/md/raid5-ppl.c +2 -1
@@ -758,7 +758,8 @@ static int ppl_recover_entry(struct ppl_ (unsigned long long)sector); rdev = conf->disks[dd_idx].rdev; -if (!rdev) { +if (!rdev || (!test_bit (In_sync, &rdev->flags) && + sector >= rdev->recovery_offset)) {pr_debug ("%s:%*s data member disk %d missing\n" , __func__, indent,"" , dd_idx); update_parity = false;
Patches currently in stable-queue which might be from [email protected] are
queue-4.14/raid5-ppl-check-recovery_offset-when-performing-ppl-recovery.patch