On Sun, Oct 8, 2017 at 11:10 AM, Mick <michaelkintz...@gmail.com> wrote:
>
> From what I see above you are running btrfs.  It may be worth compiling in
> your kernel this module you have left out, because I've read somewhere it
> prevents fs corruption (Rich seems to know a lot about BTRFS, so I leave it to
> him to confirm its usefulness):
>
> # CONFIG_BTRFS_FS_CHECK_INTEGRITY is not set
>

I wouldn't look much further than the config docs on this one:

Btrfs with integrity check tool compiled in (DANGEROUS)
...Enabling this functionality is not intended for normal use.  In
most cases, unless you are a btrfs developer who needs to verify the
integrity of (super)-block write requests during the run of a
regression test, say N.

It looks like it is intended only for regression testing.  I didn't
dig too deep into the docs, but it probably turns on some assertions
and probably doesn't have much in the way of recovery if they are
triggered.  Granted, if they trigger you probably have issues anyway,
but they might not be as severe as whatever happens when this is
turned on.  Of course, in theory it shouldn't do anything other than
waste RAM/CPU, since assertions aren't supposed to be triggered.

So, no, you don't want this on a real system.

-- 
Rich

Reply via email to