All of lore.kernel.org
 help / color / mirror / Atom feed
From: "kedacomkernel" <kedacomkernel@gmail.com>
To: linux-raid <linux-raid@vger.kernel.org>
Subject: how to use badsector function
Date: Sun, 26 Feb 2012 18:06:58 +0800	[thread overview]
Message-ID: <201202261806556873919@gmail.com> (raw)

 I noted md add a function about badsector.But I did not found how to using.
1:when create a raid5 and superblock is load:
    in function super_1_load:
	 if (sb->bblog_offset == 0)
		rdev->badblocks.shift = -1;
2:when runing raid5,meet badsector. Because shift=-1,not add 
3:mdadm can't provide a parameter to set.

						Thanks!
 				
--------------
kedacomkernel
2012-02-26


                 reply	other threads:[~2012-02-26 10:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=201202261806556873919@gmail.com \
    --to=kedacomkernel@gmail.com \
    --cc=linux-raid@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.