linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Neil Brown <neilb@suse.de>
To: Bill Davidsen <davidsen@tmr.com>
Cc: linux-raid@vger.kernel.org, iusty@k1024.org
Subject: Re: [PATCH 2.6.20-rc6] md: expose uuid and degraded attributes in sysfs
Date: Sun, 11 Feb 2007 08:15:31 +1100	[thread overview]
Message-ID: <17870.13811.570367.617924@notabene.brown> (raw)
In-Reply-To: message from Bill Davidsen on Saturday February 10

On Saturday February 10, davidsen@tmr.com wrote:
> Iustin Pop wrote:
> > On Sat, Jan 27, 2007 at 02:59:48AM +0100, Iustin Pop wrote:
> >   
> >> From: Iustin Pop <iusty@k1024.org>
> >>
> >> This patch exposes the uuid and the degraded status of an assembled
> >> array through sysfs.
> >>     
> > [...]
> >
> > Sorry to ask, this was my first patch and I'm not sure what is the
> > procedure to get it considered for merging... I was under the impression
> > that just sending it to this list is enough. What do I have to do?
> Normally I would expect Neil to pick it up and forward it, but I would 
> have expected an ack from him. He's been busy with other problems, NFS 
> as I recall, and may have missed it, so I cc'd him this time.
> 
> Neil, I would think this is 2.6.21 material unless you see a problem I 
> missed.
> 

yeh - sorry about that. mail is somewhat of a lossy protocol for me.
I usually try to reply, but sometimes it just doesn't happen.
Resending after a suitable pause (1-2 weeks) is never a bad idea.

Exposing the 'degraded' status is probably a good idea.  I'll take
that.

Exposing the UUID isn't - and if it were it should be in
"md_default_attrs" rather than "md_redundancy_attrs".

The UUID isn't an intrinsic aspect of the array.  It is simply part of
the metadata that is used to match up different devices from the same
array.
I plan to add support for the 'DDF' metadata format (an 'industry
standard') and that will be managed entirely in user-space.  The
kernel won't know the uuid at all.

So any solution for easy access to uuids should be done in user-space.
Maybe mdadm could create a link
   /dev/md/by-uuid/xxxxxxxx -> /dev/whatever.
??

NeilBrown

  reply	other threads:[~2007-02-10 21:15 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-27  1:59 [PATCH 2.6.20-rc6] md: expose uuid and degraded attributes in sysfs Iustin Pop
2007-02-10 11:18 ` Iustin Pop
2007-02-10 18:09   ` Bill Davidsen
2007-02-10 21:15     ` Neil Brown [this message]
2007-02-10 21:50       ` Iustin Pop
2007-02-12  4:51       ` Bill Davidsen
2007-02-12  5:05         ` Neil Brown
2007-02-12 22:10           ` 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=17870.13811.570367.617924@notabene.brown \
    --to=neilb@suse.de \
    --cc=davidsen@tmr.com \
    --cc=iusty@k1024.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).