From: Duncan <1i5t5.duncan@cox.net>
To: linux-btrfs@vger.kernel.org
Subject: Re: checksum error in metadata node - best way to move root fs to new drive?
Date: Thu, 11 Aug 2016 08:20:38 +0000 (UTC) [thread overview]
Message-ID: <pan$89fac$51ff83ce$ca9a7014$9d3cfce9@cox.net> (raw)
In-Reply-To: CA+WRLO8MoW9kEy50u_QMvoB2Lejcjp49BjHqEjtWjZZOPtfetg@mail.gmail.com
Gareth Pye posted on Thu, 11 Aug 2016 15:06:48 +1000 as excerpted:
> Is there some simple muddling of meta data that could be done to force
> dup meta data on deduping SSDs? Like a simple 'random' byte repeated
> often enough it would defeat any sane dedup? I know it would waste data
> but clearly that is considered worth it with dup metadata (what is the
> difference between 50% metadata efficiency and 45%?)
Well, the FTLs are mostly proprietary, AFAIK, so it's probably hard to
prove the "force", but given the 512-byte sector standard (some are a
multiple of that these days but 512 should be the minimum), in theory one
random byte out of every 512 should do it... unless the compression these
deduping FTLs generally run as well catches that difference and
compresses it out to a different location where it can be compactly
stored, allowing multiple copies of the same 512-byte sector to be stored
in a single sector, so long as they only had a single byte or two
different.
So it could probably be done, but given that the deduping and compression
features of these ssds are listed as just that, features, and that people
buy them for that, it may be that it's better to simply leave well enough
alone. Folks who want dup metadata can set it, and if they haven't
bought one of these ssds with dedup as a feature, they can be reasonably
sure it'll be set. And people who don't care will simply get the
defaults and can live with them the same way that people that don't care
generally live with defaults that may or may not be the absolute best
case for them, but are generally at least not horrible.
--
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:[~2016-08-11 8:20 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-10 3:27 checksum error in metadata node - best way to move root fs to new drive? Dave T
2016-08-10 6:27 ` Duncan
2016-08-10 19:46 ` Austin S. Hemmelgarn
2016-08-10 21:21 ` Chris Murphy
2016-08-10 22:01 ` Dave T
2016-08-10 22:23 ` Chris Murphy
2016-08-10 22:52 ` Dave T
2016-08-11 14:12 ` Nicholas D Steeves
2016-08-11 14:45 ` Austin S. Hemmelgarn
2016-08-11 19:07 ` Duncan
2016-08-11 20:43 ` Chris Murphy
2016-08-12 3:11 ` Duncan
2016-08-12 3:51 ` Chris Murphy
2016-08-11 20:33 ` Chris Murphy
2016-08-11 7:18 ` Andrei Borzenkov
2016-08-11 4:50 ` Duncan
2016-08-11 5:06 ` Gareth Pye
2016-08-11 8:20 ` Duncan [this message]
2016-08-12 17:00 ` Patrik Lundquist
2016-08-10 21:15 ` Chris Murphy
2016-08-10 22:50 ` Dave T
-- strict thread matches above, loose matches on Subject: below --
2016-08-11 20:23 Dave T
2016-08-12 4:13 ` Duncan
2016-08-12 8:14 ` Adam Borowski
2016-08-12 12:04 ` Austin S. Hemmelgarn
2016-08-12 15:06 ` Duncan
2016-08-15 11:33 ` Austin S. Hemmelgarn
2016-08-12 17:02 ` Chris Murphy
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$89fac$51ff83ce$ca9a7014$9d3cfce9@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 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.