android_kernel_xiaomi_sm8350/drivers/md
NeilBrown 6985c43f39 [PATCH] Three one-liners in md.c
The main problem fixes is that in certain situations stopping md arrays may
take longer than you expect, or may require multiple attempts.  This would
only happen when resync/recovery is happening.

This patch fixes three vaguely related bugs.

1/ The recent change to use kthreads got the setting of the
   process name wrong.  This fixes it.
2/ The recent change to use kthreads lost the ability for
   md threads to be signalled with SIG_KILL.  This restores that.
3/ There is a long standing bug in that if:
    - An array needs recovery (onto a hot-spare) and
    - The recovery is being blocked because some other array being
       recovered shares a physical device and
    - The recovery thread is killed with SIG_KILL
   Then the recovery will appear to have completed with no IO being
   done, which can cause data corruption.
   This patch makes sure that incomplete recovery will be treated as
   incomplete.

Note that any kernel affected by bug 2 will not suffer the problem of bug
3, as the signal can never be delivered.  Thus the current 2.6.14-rc
kernels are not susceptible to data corruption.  Note also that if arrays
are shutdown (with "mdadm -S" or "raidstop") then the problem doesn't
occur.  It only happens if a SIGKILL is independently delivered as done by
'init' when shutting down.

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-10-19 23:04:30 -07:00
..
raid6test [PATCH] RAID6 Altivec fix 2005-09-17 11:49:58 -07:00
bitmap.c [PATCH] md: tidy up daemon stop/start code in md/bitmap.c 2005-09-09 16:39:13 -07:00
dm-bio-list.h
dm-bio-record.h
dm-crypt.c [PATCH] gfp flags annotations - part 1 2005-10-08 15:00:57 -07: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: Trigger an event when a table is deleted 2005-09-28 07:46:42 -07:00
dm-linear.c
dm-log.c
dm-log.h
dm-mpath.c [PATCH] device-mapper: Fix queue_if_no_path initialisation 2005-09-28 07:46:42 -07:00
dm-mpath.h
dm-path-selector.c
dm-path-selector.h
dm-raid1.c [PATCH] gfp flags annotations - part 1 2005-10-08 15:00:57 -07:00
dm-round-robin.c
dm-snap.c
dm-snap.h
dm-stripe.c
dm-table.c
dm-target.c
dm-zero.c
dm.c
dm.h
faulty.c
Kconfig
kcopyd.c
kcopyd.h
linear.c [PATCH] md: support md/linear array with components greater than 2 terabytes. 2005-09-09 16:39:10 -07:00
Makefile
md.c [PATCH] Three one-liners in md.c 2005-10-19 23:04:30 -07:00
mktables.c
multipath.c [PATCH] gfp flags annotations - part 1 2005-10-08 15:00:57 -07:00
raid0.c [PATCH] md: fail IO request to md that require a barrier. 2005-09-09 16:39:09 -07:00
raid1.c [PATCH] gfp flags annotations - part 1 2005-10-08 15:00:57 -07:00
raid5.c [PATCH] md: add write-intent-bitmap support to raid5 2005-09-09 16:39:12 -07: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: write-intent bitmap support for raid6 2005-09-09 16:39:12 -07:00
raid6mmx.c
raid6recov.c
raid6sse1.c
raid6sse2.c
raid6x86.h
raid10.c [PATCH] gfp flags annotations - part 1 2005-10-08 15:00:57 -07:00
unroll.pl
xor.c