kernel-ark/drivers
NeilBrown e3b9703e27 [PATCH] md: yet another attempt to get bitmap-based resync to do the right thing in all cases...
Firstly, R1BIO_Degraded was being set in a number of places in the resync
code, but is never used there, so get rid of those settings.

Then: When doing a resync, we want to clear the bit in the bitmap iff the
array will be non-degraded when the sync has completed.  However the current
code would clear the bitmap if the array was non-degraded when the resync
*started*, which obviously isn't right (it is for 'resync' but not for
'recovery' - i.e.  rebuilding a failed drive).

This patch calculated 'still_degraded' and uses the to tell bitmap_start_sync
whether this sync should clear the corresponding bit.

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>
2005-08-04 13:00:54 -07:00
..
acorn
acpi Merge master.kernel.org:/pub/scm/linux/kernel/git/lenb/to-linus 2005-08-04 10:36:25 -07:00
atm
base
block [PATCH] cfq-iosched: fix problem with barriers and max_depth == 1 2005-08-02 11:19:18 -07:00
bluetooth
cdrom
char [PATCH] ARM: 2833/2: Remove support for WDIOF_MAGICCLOSE from sa1100-wdt 2005-08-03 20:34:52 +01:00
cpufreq
crypto
dio
eisa
fc4
firmware
hwmon
i2c [PATCH] i2c-mpc.c: revert duplicate patch 2005-08-01 19:13:59 -07:00
ide [PATCH] ide: fix kmalloc_node breakage in ide driver 2005-08-04 13:00:53 -07:00
ieee1394
infiniband
input
isdn
macintosh
mca
md [PATCH] md: yet another attempt to get bitmap-based resync to do the right thing in all cases... 2005-08-04 13:00:54 -07:00
media [PATCH] v4l: oopsfix for BTTV on badly behaved PCI chipsets 2005-08-04 13:00:54 -07:00
message
misc
mmc
mtd
net [PATCH] silence cs89x0 2005-08-01 19:14:01 -07:00
nubus
oprofile
parisc
parport
pci pci: make bus resource start address override minimum IO address 2005-08-02 14:55:40 -07:00
pcmcia [PATCH] Obvious bugfix for yenta resource allocation 2005-08-02 08:28:48 -07:00
pnp
s390 [PATCH] s390: device recognition 2005-07-29 15:01:14 -07:00
sbus
scsi [PATCH] aic byteorder fixes after recent cleanup 2005-08-02 08:43:59 -07:00
serial
sh
sn
tc
telephony
usb
video [PATCH] tridentfb: Fix scrolling artifacts during disk IO 2005-08-01 10:07:53 -07:00
w1
zorro
Kconfig
Makefile