From: Duncan <1i5t5.duncan@cox.net>
To: linux-btrfs@vger.kernel.org
Subject: Re: csum failed root raveled during balance
Date: Wed, 23 May 2018 09:09:26 +0000 (UTC) [thread overview]
Message-ID: <pan$d9d06$238f0899$805884d5$1c7cb19b@cox.net> (raw)
In-Reply-To: 5B052068.5000608@gmail.com
ein posted on Wed, 23 May 2018 10:03:52 +0200 as excerpted:
>> IMHO the best course of action would be to disable checksumming for you
>> vm files.
>>
>>
> Do you mean '-o nodatasum' mount flag? Is it possible to disable
> checksumming for singe file by setting some magical chattr? Google
> thinks it's not possible to disable csums for a single file.
You can use nocow (-C), but of course that has other restrictions (like
setting it on the files when they're zero-length, easiest done for
existing data by setting it on the containing dir and copying files (no
reflink) in) as well as the nocow effects, and nocow becomes cow1 after a
snapshot (which locks the existing copy in place so changes written to a
block /must/ be written elsewhere, thus the cow1, aka cow the first time
written after the snapshot but retain the nocow for repeated writes
between snapshots).
But if you're disabling checksumming anyway, nocow's likely the way to go.
--
Duncan - List replies preferred. No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master." Richard Stallman
next prev parent reply other threads:[~2018-05-23 9:11 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-22 20:05 csum failed root raveled during balance ein
2018-05-23 6:32 ` Nikolay Borisov
2018-05-23 8:03 ` ein
2018-05-23 9:09 ` Duncan [this message]
2018-05-23 10:09 ` ein
2018-05-23 11:03 ` Austin S. Hemmelgarn
2018-05-28 17:10 ` ein
2018-05-29 12:12 ` Austin S. Hemmelgarn
2018-05-29 14:02 ` ein
2018-05-29 14:35 ` Austin S. Hemmelgarn
2018-05-23 11:12 ` Nikolay Borisov
2018-05-27 5:50 ` Andrei Borzenkov
2018-05-27 9:41 ` Nikolay Borisov
2018-05-28 16:51 ` ein
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='pan$d9d06$238f0899$805884d5$1c7cb19b@cox.net' \
--to=1i5t5.duncan@cox.net \
--cc=linux-btrfs@vger.kernel.org \
/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 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).