linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: NeilBrown <neilb@suse.de>
To: Asdo <asdo@shiftmail.org>
Cc: Alexander Lyakas <alex.bolshoy@gmail.com>,
	linux-raid <linux-raid@vger.kernel.org>
Subject: Re: On mdadm 3.2 and bad-block-log
Date: Tue, 17 Jul 2012 11:49:16 +1000	[thread overview]
Message-ID: <20120717114916.46263d92@notabene.brown> (raw)
In-Reply-To: <5003D73B.3010609@shiftmail.org>

[-- Attachment #1: Type: text/plain, Size: 2061 bytes --]

On Mon, 16 Jul 2012 10:56:27 +0200 Asdo <asdo@shiftmail.org> wrote:

> Right, that's the reason of my question.
> Neil wrote "I probably don't want to rush it out" so that would mean 
> that the buggy code is not "out" yet.
> So that would point to mdadm-3.3 because the bad block code of the 
> kernel is already "out".
> However as you say the bad block code in mdadm-3.3 is very simple so 
> it's strange that it could be buggy.
> 
> Now thinking at myself: if there were bugs in the mdadm-3.3 I probably 
> have dodged them because I was able to create the array.
> However if there are known bugs in the kernel code our data is still at 
> risk so i'd rather ask.

Yes, there is a degree to which your data is at risk.  This is always the
case with new code.
If you upgrade to new -stable kernels as they become available, that should
minimise your risk as any fix that could risk data or stability is backported
to these -stable kernels.

I don't know of any particularly serious bugs that have been found - they
mostly are triggered by unusual conditions.  However unusual conditions do
happen.

Thank you for using and testing the code.  Has md found and recorded any bad
blocks for you, or are your bad-block logs still empty?

NeilBrown



> FWIW I am not using mdadm-3.3 as monitoring daemon: the daemon is 
> mdadm-3.2 , I don't know if this "helps".
> 
> Thank you
> A.
> 
> 
> On 07/16/12 09:55, Alexander Lyakas wrote:
> > The mdadm code only reserves some space for bad-blocks log and
> > notifies the kernel that this feature is enabled during array
> > creation.
> >
> > On Mon, Jul 16, 2012 at 10:41 AM, Asdo<asdo@shiftmail.org>  wrote:
> >> On 07/16/12 05:41, NeilBrown wrote:
> >>> and as the bad block code is
> >>> clearly still buggy, I probably don't want to rush it out :-)
> >>
> >> The bad block code is buggy... the one in the kernel or the one in mdadm-3.3
> >> ?
> >> 'cause I am currently using an array created with bad block log on kernel
> >> 3.4.3...
> >>
> >> Thanks


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 828 bytes --]

  parent reply	other threads:[~2012-07-17  1:49 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-12 16:51 On mdadm 3.2 and bad-block-log Asdo
2012-07-11  9:40 ` Alexander Lyakas
2012-07-16  3:41   ` NeilBrown
2012-07-16  7:41     ` Asdo
2012-07-16  7:55       ` Alexander Lyakas
2012-07-16  8:56         ` Asdo
2012-07-16  9:08           ` Alexander Lyakas
2012-07-17  1:49           ` NeilBrown [this message]
2012-07-17  8:21             ` Asdo
2012-07-17 23:34               ` NeilBrown

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=20120717114916.46263d92@notabene.brown \
    --to=neilb@suse.de \
    --cc=alex.bolshoy@gmail.com \
    --cc=asdo@shiftmail.org \
    --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 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).