From: jin zhencheng <zhenchengjin@gmail.com>
To: Mikael Abrahamsson <swmike@swm.pp.se>
Cc: linux-raid@vger.kernel.org, zhenchengjin@163.com, neilb@suse.de
Subject: Re: why md/raid5 dont have bad block remap
Date: Mon, 28 Dec 2009 19:25:15 +0800 [thread overview]
Message-ID: <de04351e0912280325g3784dc91g26ee0593a6cef439@mail.gmail.com> (raw)
In-Reply-To: <alpine.DEB.1.10.0912281204480.27231@uplift.swm.pp.se>
I think maybe the disk deal with one write comnd with errror,but the
disk maybe is also ok,and rewrite to other place or rewrite again
will be good.
why one write error ,set the whole disk faulty.
Disk if very expensive!
On Mon, Dec 28, 2009 at 7:07 PM, Mikael Abrahamsson <swmike@swm.pp.se> wrote:
> On Mon, 28 Dec 2009, jin zhencheng wrote:
>
>> hi ,
>>
>> I think it isn't complicated for raid5 to add bad block remap.
>>
>> "bad block remap" is means that if a bio is written error, we not
>> fauty the disk, and try to write this bio to other place which
>> alloced for bad block remap.
>>
>> i dont know why MD/raid5 add this function ?
>
> What is done is upon read error the parity is read and the block that had a
> read error is calculated and written, and then the unit in question has the
> responsibility of mapping the block/sector as faulty and write it someplace
> else.
>
> Drives which has used up that space and thus can't remap should be replaced
> with a working drive, it's obviously faulty.
>
> --
> Mikael Abrahamsson email: swmike@swm.pp.se
>
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2009-12-28 11:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-28 11:03 why md/raid5 dont have bad block remap jin zhencheng
2009-12-28 11:07 ` Mikael Abrahamsson
2009-12-28 11:25 ` jin zhencheng [this message]
2009-12-28 11:28 ` Mikael Abrahamsson
2009-12-28 11:49 ` spren.gm
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=de04351e0912280325g3784dc91g26ee0593a6cef439@mail.gmail.com \
--to=zhenchengjin@gmail.com \
--cc=linux-raid@vger.kernel.org \
--cc=neilb@suse.de \
--cc=swmike@swm.pp.se \
--cc=zhenchengjin@163.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).