linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Peter Rabbitson <rabbit+list@rabbit.us>
To: linux-raid@vger.kernel.org
Subject: Storing array run-time options in mdadm.conf
Date: Fri, 27 Jun 2008 10:03:15 +0200	[thread overview]
Message-ID: <48649EC3.5030607@rabbit.us> (raw)

Hello list,

Are there some plans (or an existing mechanism I am not aware of) to store 
array/component related /sys settings? As far as I can tell there is no such 
facility in place and and various distributions/admins are left with the task 
of writing incompatible hack scripts and whatnot. Would it be practical to add 
an extra field to mdadm.conf, which would look like:

ARRAY /dev/mdX .... options=stripe_cache_size:8192,comp_queue_depth:1

Which would mean that the stripe_cache_size ought to be set to 8192 and NCQ 
disabled on all underlying components. It doesn't even have to be the mdadm 
executable which would process and apply these settings. It might still be a 
distro-specific init script or whatnot. The important part is that the 
configuration placement is now standardized and can be built upon.

Maybe this has been discussed before, my apologies for not looking through the 
archives well enough.

Thanks

Peter

                 reply	other threads:[~2008-06-27  8:03 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=48649EC3.5030607@rabbit.us \
    --to=rabbit+list@rabbit.us \
    --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).