Revision 18055569127253755d01733f6ecc004ed02f88d0 authored by NeilBrown on 07 May 2009, 02:48:10 UTC, committed by NeilBrown on 07 May 2009, 02:48:10 UTC
If we have a raid10 with multiple missing devices, and we recover just one of these to a spare, then we risk (depending on the bitmap and array chunk size) clearing bits of the bitmap for which recovery isn't complete (because a device is still missing). This can lead to a subsequent "re-add" being recovered without any IO happening, which would result in loss of data. This patch takes the safe approach of not clearing bitmap bits if the array will still be degraded. This patch is suitable for all active -stable kernels. Cc: stable@kernel.org Signed-off-by: NeilBrown <neilb@suse.de>
1 parent b74fd28
File | Mode | Size |
---|---|---|
Makefile | -rw-r--r-- | 384 bytes |
compat.c | -rw-r--r-- | 17.0 KB |
compat_mq.c | -rw-r--r-- | 4.0 KB |
ipc_sysctl.c | -rw-r--r-- | 6.9 KB |
ipcns_notifier.c | -rw-r--r-- | 2.2 KB |
mq_sysctl.c | -rw-r--r-- | 2.8 KB |
mqueue.c | -rw-r--r-- | 30.6 KB |
msg.c | -rw-r--r-- | 20.8 KB |
msgutil.c | -rw-r--r-- | 2.8 KB |
namespace.c | -rw-r--r-- | 3.4 KB |
sem.c | -rw-r--r-- | 33.9 KB |
shm.c | -rw-r--r-- | 25.7 KB |
util.c | -rw-r--r-- | 22.9 KB |
util.h | -rw-r--r-- | 5.1 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...