From: "Kaspar Schleiser" <kaspar@schleiser.de>
To: linux-btrfs@vger.kernel.org
Subject: feature request: read/write priorities on multiple devices/raid1
Date: Thu, 25 Sep 2008 11:19:35 +0200 (CEST) [thread overview]
Message-ID: <1553.85.177.90.248.1222334375.squirrel@webmail.schleiser.de> (raw)
Hello everybody!
This is my first post on the list, let me know if I'm not following any
rules.
What do you think about adding priorities for raid1 arrays?
For example, always use /dev/ram0 (ramdisk) for reading/writing, but
nonetheless write everything additionally on /dev/sda1. Restore to
/dev/ram0 after mount if it is empty.
Or use /dev/sd[c-h], maybe a raid 0 of fast read access/slow random write
flash media for reading, but /dev/sda1 (a reasonably fast HD) for writing.
make sure written data get's replicated on the raid0.
The linux md driver supports that in some way using the --write-mostly and
--write-behind options, but that's not very flexible.
Cheers
Kaspar Schleiser
next reply other threads:[~2008-09-25 9:19 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-25 9:19 Kaspar Schleiser [this message]
2008-09-25 11:27 ` feature request: read/write priorities on multiple devices/raid1 Jeff Schroeder
2008-09-25 13:10 ` Chris Mason
2008-09-25 15:31 ` Miguel Sousa Filipe
2008-09-25 15:49 ` Xavier Nicollet
2008-09-25 16:15 ` Chris Mason
2008-10-19 6:34 ` Chris Samuel
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=1553.85.177.90.248.1222334375.squirrel@webmail.schleiser.de \
--to=kaspar@schleiser.de \
--cc=linux-btrfs@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