All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wols Lists <antlists@youngman.org.uk>
To: David Brown <david.brown@hesbynett.no>,
	NeilBrown <neilb@suse.com>,
	linux-raid@vger.kernel.org
Subject: Re: Multi-layer raid status
Date: Fri, 2 Feb 2018 11:17:03 +0000	[thread overview]
Message-ID: <5A7448AF.3050108@youngman.org.uk> (raw)
In-Reply-To: <5A744054.4060305@hesbynett.no>

On 02/02/18 10:41, David Brown wrote:
> Using bad block lists and then doing a higher level scrub should
> certainly work, and is a good general solution as it means you don't
> need direct interaction between the layers (just the normal top-down
> processing of layered block devices).  The disadvantage is that there
> may be quite a delay between the raid1 rebuild and the next full re-read
> of the entire raid5 array - all you really need is a single read at the
> higher level to trigger the fixup.

This would be a perfect use case of my "full parity reads" mode ... at
the moment, raid just reads sufficient disks to return the requested
data, but I proposed a mode where it read the full stripe, did the
parity checks, and either returned a read error (2-disk raid-1, raid-5)
or corrected the stripe (raid-6) if things didn't add up.

Okay, it would knacker performance a bit, but where you've got a nested
raid like this, you switch it on, run a read on the filesystem ( tar /
--no-follow > /dev/null sort of thing), and it would sort out integrity
all the way down the stack.

Cheers,
Wol

  reply	other threads:[~2018-02-02 11:17 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-30 15:30 Multi-layer raid status David Brown
2018-02-02  6:03 ` NeilBrown
2018-02-02 10:41   ` David Brown
2018-02-02 11:17     ` Wols Lists [this message]
2018-02-02 11:32       ` David Brown
2018-02-02 12:12         ` Reindl Harald
2018-02-02 14:24         ` Wols Lists
2018-02-02 14:50           ` David Brown
2018-02-02 15:03             ` Wols Lists
2018-02-02 15:40               ` David Brown
2018-02-02 16:49                 ` Wols Lists

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=5A7448AF.3050108@youngman.org.uk \
    --to=antlists@youngman.org.uk \
    --cc=david.brown@hesbynett.no \
    --cc=linux-raid@vger.kernel.org \
    --cc=neilb@suse.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 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.