linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* raid 5/6 - is this implemented?
@ 2020-11-06 19:41 Hendrik Friedel
  2020-11-07  1:43 ` Zygo Blaxell
  0 siblings, 1 reply; 3+ messages in thread
From: Hendrik Friedel @ 2020-11-06 19:41 UTC (permalink / raw)
  To: Btrfs BTRFS

Hello,

I stumbled upon this:
https://www.mail-archive.com/linux-btrfs@vger.kernel.org/msg91938.html

<<This is why scrub after a crash or powerloss with raid56 is important,
while the array is still whole (not degraded). The two problems with
that are:

a) the scrub isn't initiated automatically, nor is it obvious to the
user it's necessary
b) the scrub can take a long time, Btrfs has no partial scrubbing.

Wheras mdadm arrays offer a write intent bitmap to know what blocks to
partially scrub, and to trigger it automatically following a crash or
powerloss.

It seems Btrfs already has enough on-disk metadata to infer a
functional equivalent to the write intent bitmap, via transid. Just
scrub the last ~50 generations the next time it's mounted. Either do
this every time a Btrfs raid56 is mounted. Or create some flag that
allows Btrfs to know if the filesystem was not cleanly shutdown. >>

Has this been implemented in the meantime? If not: Are there any plans 
to?

Regards,
Hendrik


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

end of thread, other threads:[~2020-11-11 17:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-06 19:41 raid 5/6 - is this implemented? Hendrik Friedel
2020-11-07  1:43 ` Zygo Blaxell
2020-11-11 17:06   ` Re[2]: " Hendrik Friedel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).