All of lore.kernel.org
 help / color / mirror / Atom feed
From: Doug Ledford <dledford@redhat.com>
To: Doug Ledford <dledford@redhat.com>
Cc: Piergiorgio Sartor <piergiorgio.sartor@nexgo.de>,
	linux-raid@vger.kernel.org
Subject: Re: [Patch] mdadm ignoring homehost?
Date: Mon, 20 Apr 2009 20:00:59 -0400	[thread overview]
Message-ID: <B982A8CB-4054-4F17-B269-A737462B2A81@redhat.com> (raw)
In-Reply-To: <A52FE0A1-DC54-4786-9FE0-C0251C78C9FD@redhat.com>

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

On Apr 20, 2009, at 7:47 PM, Doug Ledford wrote:
> And so the confusion is perpetuated.  This is *not* accessing a  
> device by name.  If I give mdadm a name for my device, I don't want  
> it doing *anything* with numbers, creating numbered symlinks, or  
> anything else.  In addition, if I tell mdadm to create something in / 
> dev/md/ (versus it decided all on its own to create something  
> there), then I do *NOT* want it creating *anything* in /dev/ that I  
> didn't ask for.  That, again, adds to the confusion.  Of all of it  
> though, the /proc/mdstat is the worst part as it underscores that  
> the kernel stack is not able to think in terms of names instead of  
> numbers.


Actually, I want to expand on this thought for a little bit.  I'm  
obviously harping on all the symlinks and stuff that mdadm creates  
when you tell it what you want it to do.  I know these were added for  
back compatibility reasons.  However, the problem I have is that I  
work on mdadm for a living (well, sorta, I have 30+ other packages I  
also maintain, many of them orders of magnitude larger than mdadm, and  
I do kernel work, so my mdadm specific time is fairly small, but still  
it's paid time), and I've sat down before and tried to figure out "if  
I use name 'X' for my array, what device file gets created".  The net  
result of my attempts to do that, were that I was never able to figure  
out just by running mdadm what the proper syntax for the name variable  
is/was.  It always created so many symlinks to cover all possible  
cases that I never could get it to do what I wanted, and *just* what I  
wanted.  In short, mdadm as it currently stands errs on the side of  
caution and back compatibility, but it does so to such an extent that  
you can never get things wrong.  And if you can never get things  
wrong, you can never figure out how to get things *right*.  We either  
have to create every possible compatibility symlink forever, or  
*sometime* we have to turn that off and just let people figure out how  
to get this stuff right.  But right now, no one is making any progress  
because it's hidden by mdadm trying to cover our asses for us.

--

Doug Ledford <dledford@redhat.com>

GPG KeyID: CFBFF194
http://people.redhat.com/dledford

InfiniBand Specific RPMS
http://people.redhat.com/dledford/Infiniband





[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 203 bytes --]

  reply	other threads:[~2009-04-21  0:00 UTC|newest]

Thread overview: 59+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-24 16:57 mdadm ignoring homehost? Jon Nelson
2009-04-01 15:15 ` Jon Nelson
2009-04-01 22:46   ` Neil Brown
2009-04-06 14:47     ` [Patch] " Doug Ledford
2009-04-06 19:33       ` Luca Berra
2009-04-17  3:49       ` Neil Brown
2009-04-17  7:08         ` Gabor Gombas
2009-04-20  5:23           ` Neil Brown
2009-04-21  6:34             ` Gabor Gombas
2009-04-21  7:06               ` Luca Berra
2009-04-17 18:17         ` Doug Ledford
2009-04-17 18:40           ` Piergiorgio Sartor
2009-04-18  7:54             ` Luca Berra
2009-04-18  8:36               ` Piergiorgio Sartor
2009-04-18 10:19                 ` Luca Berra
2009-04-18 13:06                   ` Piergiorgio Sartor
2009-04-20  5:58                     ` Neil Brown
2009-04-20 12:29                       ` Doug Ledford
2009-04-20 18:17                       ` Piergiorgio Sartor
2009-04-20 19:49                         ` Leslie Rhorer
2009-04-20 20:04                           ` Piergiorgio Sartor
2009-04-20 21:18                           ` Luca Berra
2009-04-20 21:13                         ` Luca Berra
2009-04-20 21:24                           ` Piergiorgio Sartor
2009-04-20 23:47                             ` Doug Ledford
2009-04-21  0:00                               ` Doug Ledford [this message]
2009-04-21  8:57                                 ` Michal Soltys
2009-04-21  6:29                               ` Luca Berra
2009-04-21 18:15                           ` Piergiorgio Sartor
2009-04-22 16:06                             ` Andrew Burgess
2009-04-23  1:20                               ` Doug Ledford
2009-04-23  5:51                                 ` Luca Berra
2009-04-23  6:09                                   ` Luca Berra
2009-04-23 11:05                                   ` Doug Ledford
2009-04-23 21:31                                     ` Luca Berra
2009-04-24 16:46                                       ` Doug Ledford
2009-04-24 19:15                                 ` Piergiorgio Sartor
2009-04-26 11:52                                   ` Doug Ledford
2009-04-26 12:14                                     ` Piergiorgio Sartor
2009-04-26 12:58                                       ` Piergiorgio Sartor
2009-04-26 18:06                                         ` Doug Ledford
2009-04-26 19:08                                           ` Piergiorgio Sartor
2009-04-26 21:37                                       ` Michal Soltys
2009-04-18 14:34             ` Andrew Burgess
2009-04-18  8:12           ` Luca Berra
2009-04-18  8:44             ` Piergiorgio Sartor
2009-04-18 13:35             ` Doug Ledford
2009-04-18 13:52               ` Piergiorgio Sartor
2009-04-18 14:50                 ` Doug Ledford
2009-04-18 14:48               ` Jon Nelson
2009-04-20  6:08               ` Neil Brown
2009-04-20 12:26                 ` Luca Berra
2009-04-20 12:36                 ` Doug Ledford
2009-04-18 13:58           ` Bill Davidsen
2009-04-20  7:23           ` Neil Brown
2009-04-20 13:15             ` Doug Ledford
2009-04-21  6:54               ` Neil Brown
2009-05-11  6:47               ` Neil Brown
2009-04-01 22:47 ` Michal Soltys

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=B982A8CB-4054-4F17-B269-A737462B2A81@redhat.com \
    --to=dledford@redhat.com \
    --cc=linux-raid@vger.kernel.org \
    --cc=piergiorgio.sartor@nexgo.de \
    /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.