lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 7 Jul 2008 05:57:48 -0400
From:	Joseph Fannin <jfannin@...il.com>
To:	Timothy Normand Miller <theosib@...il.com>
Cc:	Arjan van de Ven <arjan@...radead.org>,
	linux-kernel@...r.kernel.org
Subject: Re: HELP: Getting unexpected fakeraid behavior. Fix?

On Sun, Jul 06, 2008 at 09:26:35PM -0400, Timothy Normand Miller wrote:
> I was poking around some more, and I found drivers/md/raid1.c.  This
> has sophisticated load balancing for reads.  Why isn't this code being
> used for dm_raid1?  I'm a bit confused as to why this redundant code
> should be there if dmraid and mdraid are functionally the same.

I don't think dmraid and mdraid *are* functionally the same.  dmraid
was written as more or less a compatibilty hack, so people using
fakeRAID with its Windows-only software drivers could still
dual-boot.  That could have changed somewhat while I wasn't looking,
but it doesn't sound like it has changed much.

mdraid is still the only "real" Linux softRAID
implementation... though LVM also does some very RAID-like things.

It would be good if dmraid was better optimized, or more complete --
possibly by reusing some of md -- but no one has done the work.

Anyway, the consensus for a long time seems to be that, unless you
need to dual-boot with a Windows system using fakeRAID drivers, you
should just put the drive controller in AHCI mode and use mdraid.

--
Joseph Fannin
jfannin@...il.com

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ