]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] md: support write-mostly device in raid1
authorNeilBrown <neilb@cse.unsw.edu.au>
Fri, 9 Sep 2005 23:23:45 +0000 (16:23 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 9 Sep 2005 23:39:10 +0000 (16:39 -0700)
commit8ddf9efe6708f3674f0ddfeb6425fd27bea109a2
tree90862c8fa9f04cf98423b3da1b2c5d1f01a7310d
parent36fa30636fb84b209210299684e1be66d9e58217
[PATCH] md: support write-mostly device in raid1

This allows a device in a raid1 to be marked as "write mostly".  Read requests
will only be sent if there is no other option.

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/md/md.c
drivers/md/raid1.c
include/linux/raid/md_k.h
include/linux/raid/md_p.h