From: Bill Davidsen <davidsen@tmr.com>
To: John Robinson <john.robinson@anonymous.org.uk>
Cc: Neil Brown <neilb@suse.de>,
James Bottomley <James.Bottomley@HansenPartnership.com>,
Greg Freemyer <greg.freemyer@norcrossgroup.com>,
Ric Wheeler <rwheeler@redhat.com>,
linux-raid <linux-raid@vger.kernel.org>,
Dongjun Shin <djshin90@gmail.com>,
IDE/ATA development list <linux-ide@vger.kernel.org>
Subject: Re: SSD data reliable vs. unreliable [Was: Re: Data Recovery from SSDs - Impact of trim?]
Date: Wed, 28 Jan 2009 15:11:19 -0500 [thread overview]
Message-ID: <4980BBE7.30808@tmr.com> (raw)
In-Reply-To: <497EE6A4.7030406@anonymous.org.uk>
John Robinson wrote:
> On 27/01/2009 05:16, Neil Brown wrote:
> [...]
>> Probably the only practical data structure for this would be a bitmap
>> similar to the current write-intent bitmap.
>>
>> Is it really worth supporting this in raid5? Are the sorts of
>> devices that will benefit from 'discard' requests likely to be used
>> inside an md/raid5 array I wonder....
>
> Assuming I've understood correctly, this usage map sounds to me like a
> useful thing to have for all RAIDs. When building the array in the
> first place, the initial sync is just writing a usage map saying it's
> all empty. Filesystem writes and discards update it appropriately.
> Then when we get failing sectors reported via e.g. SMART or a scrub
> operation we know whether they're on used or unused areas so whether
> it's worth attempting recovery.
It would seem that this could really speed initialization. A per-stripe
"unused" bitmap could save a lot of time in init, but also in the check
operation on partially used media. It's not just being nice to SDD, but
being nice to power consumption, performance impact, rebuild time...
other than the initial coding and testing required, I can't see any
downside to this.
--
Bill Davidsen <davidsen@tmr.com>
"Woe unto the statesman who makes war without a reason that will still
be valid when the war is over..." Otto von Bismark
next prev parent reply other threads:[~2009-01-28 20:11 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <87f94c370901221553p4d3a749fl4717deabba5419ec@mail.gmail.com>
[not found] ` <497A2B3C.3060603@redhat.com>
[not found] ` <1232749447.3250.146.camel@localhost.localdomain>
[not found] ` <87f94c370901231526jb41ea66ta1d6a23d7631d63c@mail.gmail.com>
[not found] ` <497A542C.1040900@redhat.com>
[not found] ` <7fce22690901260659u30ffd634m3fb7f75102141ee9@mail.gmail.com>
[not found] ` <497DE35C.6090308@redhat.com>
2009-01-26 17:34 ` SSD data reliable vs. unreliable [Was: Re: Data Recovery from SSDs - Impact of trim?] Greg Freemyer
2009-01-26 17:46 ` Ric Wheeler
2009-01-26 17:47 ` James Bottomley
2009-01-27 5:16 ` Neil Brown
2009-01-27 10:49 ` John Robinson
2009-01-28 20:11 ` Bill Davidsen [this message]
[not found] ` <7fce22690901281556h67fb353dp879f88e6c2a76eaf@mail.gmail.com>
2009-01-29 1:49 ` John Robinson
2009-01-27 11:23 ` Ric Wheeler
2009-01-28 20:28 ` Bill Davidsen
2009-01-27 14:48 ` James Bottomley
2009-01-27 14:54 ` Ric Wheeler
2009-01-26 17:51 ` Mark Lord
2009-01-26 18:09 ` Greg Freemyer
2009-01-26 18:21 ` Mark Lord
2009-01-29 14:07 ` Dongjun Shin
2009-01-29 15:46 ` Mark Lord
2009-01-29 16:27 ` Greg Freemyer
2009-01-30 15:43 ` Bill Davidsen
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=4980BBE7.30808@tmr.com \
--to=davidsen@tmr.com \
--cc=James.Bottomley@HansenPartnership.com \
--cc=djshin90@gmail.com \
--cc=greg.freemyer@norcrossgroup.com \
--cc=john.robinson@anonymous.org.uk \
--cc=linux-ide@vger.kernel.org \
--cc=linux-raid@vger.kernel.org \
--cc=neilb@suse.de \
--cc=rwheeler@redhat.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 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).