OpenCloudOS-Kernel/include
NeilBrown ccfcc3c10b [PATCH] md: Core of raid5 resize process
This patch provides the core of the resize/expand process.

sync_request notices if a 'reshape' is happening and acts accordingly.

It allocated new stripe_heads for the next chunk-wide-stripe in the target
geometry, marking them STRIPE_EXPANDING.

Then it finds which stripe heads in the old geometry can provide data needed
by these and marks them STRIPE_EXPAND_SOURCE.  This causes stripe_handle to
read all blocks on those stripes.

Once all blocks on a STRIPE_EXPAND_SOURCE stripe_head are read, any that are
needed are copied into the corresponding STRIPE_EXPANDING stripe_head.  Once a
STRIPE_EXPANDING stripe_head is full, it is marks STRIPE_EXPAND_READY and then
is written out and released.

Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-03-27 08:45:01 -08:00
..
acpi
asm-alpha
asm-arm [PATCH] RTC subsystem: ARM cleanup 2006-03-27 08:44:50 -08:00
asm-arm26
asm-cris
asm-frv
asm-generic
asm-h8300
asm-i386 [PATCH] Notifier chain update: API changes 2006-03-27 08:44:50 -08:00
asm-ia64 [PATCH] Notifier chain update: API changes 2006-03-27 08:44:50 -08:00
asm-m32r
asm-m68k
asm-m68knommu
asm-mips [PATCH] mips: fixed collision of rtc function name 2006-03-27 08:44:50 -08:00
asm-parisc
asm-powerpc [PATCH] Notifier chain update: API changes 2006-03-27 08:44:50 -08:00
asm-ppc
asm-s390
asm-sh
asm-sh64
asm-sparc
asm-sparc64 [PATCH] Notifier chain update: API changes 2006-03-27 08:44:50 -08:00
asm-um
asm-v850
asm-x86_64 [PATCH] Notifier chain update: API changes 2006-03-27 08:44:50 -08:00
asm-xtensa
keys
linux [PATCH] md: Core of raid5 resize process 2006-03-27 08:45:01 -08:00
math-emu
media
mtd
net [PATCH] Notifier chain update: API changes 2006-03-27 08:44:50 -08:00
pcmcia
rdma
rxrpc
scsi
sound
video