kernel-fxtec-pro1x/drivers/md
NeilBrown 6aea114a72 [PATCH] md: fix --re-add for raid1 and raid6
If you have an array with a write-intent-bitmap, and you remove a device, then
re-add it, a full recovery isn't needed.  We detect a re-add by looking at
saved_raid_disk.  For raid1, it doesn't matter which disk it was, only whether
or not it was an active device.  The old code being removed set a value of
'mirror' which was then ignored, so it can go.  The changed code performs the
correct check.

For raid6, if there are two missing devices, make sure we chose the right slot
on --re-add rather than always the first slot.

Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-11-28 14:42:26 -08:00
..
raid6test [PATCH] RAID6 Altivec fix 2005-09-17 11:49:58 -07:00
bitmap.c [PATCH] md: don't pass a NULL file* into ->prepare_write() 2005-11-18 07:49:46 -08:00
dm-bio-list.h [PATCH] device-mapper snapshot: bio_list fix 2005-11-22 09:14:31 -08:00
dm-bio-record.h
dm-crypt.c [PATCH] Use sg_set_buf/sg_init_one where applicable 2005-10-30 11:19:43 +11:00
dm-emc.c
dm-exception-store.c [PATCH] vfree and kfree cleanup in drivers/ 2005-09-10 10:06:30 -07:00
dm-hw-handler.c
dm-hw-handler.h
dm-io.c [PATCH] gfp flags annotations - part 1 2005-10-08 15:00:57 -07:00
dm-io.h
dm-ioctl.c [PATCH] device-mapper: list_versions fix 2005-11-22 09:14:31 -08:00
dm-linear.c
dm-log.c [PATCH] device-mapper: mirror log bitset fix 2005-11-22 09:14:31 -08:00
dm-log.h
dm-mpath.c [PATCH] device-mapper dm-mpath: endio spinlock fix 2005-11-22 09:14:31 -08:00
dm-mpath.h
dm-path-selector.c
dm-path-selector.h
dm-raid1.c [PATCH] device-mapper raid1: drop mark_region spinlock fix 2005-11-22 09:14:31 -08:00
dm-round-robin.c
dm-snap.c [PATCH] device-mapper snapshots: Handle origin extension 2005-07-12 16:19:11 -07:00
dm-snap.h
dm-stripe.c
dm-table.c [PATCH] device-mapper: fix deadlocks in core (prep) 2005-07-28 21:46:03 -07:00
dm-target.c
dm-zero.c
dm.c [PATCH] kill bio->bi_set 2005-09-07 16:57:20 -07:00
dm.h
faulty.c
Kconfig
kcopyd.c
kcopyd.h
linear.c [BLOCK] Unify the seperate read/write io stat fields into arrays 2005-11-01 09:26:16 +01:00
Makefile
md.c [PATCH] md: set default_bitmap_offset properly in set_array_info 2005-11-28 14:42:25 -08:00
mktables.c
multipath.c [PATCH] md: convert 'faulty' and 'in_sync' fields to bits in 'flags' field 2005-11-09 07:56:38 -08:00
raid0.c [BLOCK] Unify the seperate read/write io stat fields into arrays 2005-11-01 09:26:16 +01:00
raid1.c [PATCH] md: fix --re-add for raid1 and raid6 2005-11-28 14:42:26 -08:00
raid5.c [PATCH] md: fix locking problem in r5/r6 2005-11-28 14:42:25 -08:00
raid6.h [PATCH] RAID6 Altivec fix 2005-09-17 11:49:58 -07:00
raid6algos.c [PATCH] RAID6 Altivec fix 2005-09-17 11:49:58 -07:00
raid6altivec.uc [PATCH] RAID6 Altivec fix 2005-09-17 11:49:58 -07:00
raid6int.uc
raid6main.c [PATCH] md: fix --re-add for raid1 and raid6 2005-11-28 14:42:26 -08:00
raid6mmx.c
raid6recov.c
raid6sse1.c
raid6sse2.c
raid6x86.h
raid10.c [PATCH] md: improve read speed to raid10 arrays using 'far copies' 2005-11-28 14:42:25 -08:00
unroll.pl
xor.c