From: Phillip Susi <psusi@cfl.rr.com>
To: Doug Ledford <dledford@redhat.com>
Cc: linux-raid@vger.kernel.org
Subject: Re: safe segmenting of conflicting changes
Date: Wed, 28 Apr 2010 09:22:20 -0400 [thread overview]
Message-ID: <4BD8368C.2050505@cfl.rr.com> (raw)
In-Reply-To: <4BD73B1B.8060204@redhat.com>
On 4/27/2010 3:29 PM, Doug Ledford wrote:
> We do record it, but mainly in the form of our disk count. We keep
> track of active discs, failed discs, and spare discs. Whether we have
> the disc open and in our device list changes what our failed disc count
> would be. On removal, we decrement that failed disc count. The slot
> that the disc used to occupy gets changed from being failed to removed
> simply to indicate there is no rdev associated with that slot. That is
> the information we record.
Why bother recording that? Whether or not the kernel last had an rdev
open is useless information to have in the superblock. Why not instead
leave it recorded as failed until --removed?
> You are making assumptions about the use of that bit. We don't ignore
> it, we just don't use it the way you think we should.
Then how is it used, because I see no way in which the kernel cares
whether or not the kernel had a given device open or not prior to a crash.
> Sure you can: mdadm /dev/md0 -a /dev/sdc1
That's add, not re-add.
next prev parent reply other threads:[~2010-04-28 13:22 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-23 13:42 safe segmenting of conflicting changes (was: Two degraded mirror segments recombined out of sync for massive data loss) Christian Gatzemeier
2010-04-23 15:08 ` Phillip Susi
2010-04-23 18:18 ` Phillip Susi
2010-04-26 16:59 ` safe segmenting of conflicting changes Doug Ledford
2010-04-26 17:48 ` Phillip Susi
2010-04-26 18:05 ` Doug Ledford
2010-04-26 18:43 ` Phillip Susi
2010-04-26 19:07 ` Doug Ledford
2010-04-26 19:38 ` Phillip Susi
2010-04-26 23:33 ` Doug Ledford
2010-04-27 16:20 ` Phillip Susi
2010-04-27 17:27 ` Doug Ledford
2010-04-27 18:04 ` Phillip Susi
2010-04-27 19:29 ` Doug Ledford
2010-04-28 13:22 ` Phillip Susi [this message]
2010-04-23 21:04 ` safe segmenting of conflicting changes, and hot-plugging between alternative versions Christian Gatzemeier
2010-04-24 8:10 ` Christian Gatzemeier
2010-04-26 17:11 ` Doug Ledford
2010-04-26 21:10 ` Christian Gatzemeier
2010-05-05 11:28 ` detecting segmentation / conflicting changes Christian Gatzemeier
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=4BD8368C.2050505@cfl.rr.com \
--to=psusi@cfl.rr.com \
--cc=dledford@redhat.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.