Archived
14
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/drivers/md
NeilBrown c4647292fd md: remove rd%d links immediately after stopping an array.
md maintains link in sys/mdXX/md/ to identify which device has
which role in the array. e.g.
   rd2 -> dev-sda

indicates that the device with role '2' in the array is sda.

These links are only present when the array is active.  They are
created immediately after ->run is called, and so should be removed
immediately after ->stop is called.
However they are currently removed a little bit later, and it is
possible for ->run to be called again, thus adding these links, before
they are removed.

So move the removal earlier so they are consistently only present when
the array is active.

Signed-off-by: NeilBrown <neilb@suse.de>
2009-05-07 12:51:06 +10:00
..
raid6test
.gitignore
bitmap.c md: fix some (more) errors with bitmaps on devices larger than 2TB. 2009-05-07 12:49:06 +10:00
bitmap.h
dm-bio-record.h
dm-crypt.c
dm-delay.c block: move bio list helpers into bio.h 2009-04-15 08:28:09 +02:00
dm-exception-store.c
dm-exception-store.h
dm-io.c
dm-ioctl.c
dm-kcopyd.c dm kcopyd: fix callback race 2009-04-09 00:27:17 +01:00
dm-linear.c dm: remove limited barrier support 2009-04-09 00:27:13 +01:00
dm-log.c
dm-mpath.c block: move bio list helpers into bio.h 2009-04-15 08:28:09 +02:00
dm-mpath.h
dm-path-selector.c
dm-path-selector.h
dm-raid1.c block: move bio list helpers into bio.h 2009-04-15 08:28:09 +02:00
dm-region-hash.c block: move bio list helpers into bio.h 2009-04-15 08:28:09 +02:00
dm-round-robin.c
dm-snap-persistent.c
dm-snap-transient.c
dm-snap.c block: move bio list helpers into bio.h 2009-04-15 08:28:09 +02:00
dm-stripe.c
dm-sysfs.c
dm-table.c dm: remove limited barrier support 2009-04-09 00:27:13 +01:00
dm-target.c
dm-uevent.c
dm-uevent.h
dm-zero.c
dm.c block: move bio list helpers into bio.h 2009-04-15 08:28:09 +02:00
dm.h dm: remove limited barrier support 2009-04-09 00:27:13 +01:00
faulty.c
Kconfig
linear.c
linear.h
Makefile
md.c md: remove rd%d links immediately after stopping an array. 2009-05-07 12:51:06 +10:00
md.h md: tiny md.h cleanups 2009-04-14 12:01:53 +10:00
mktables.c
multipath.c
multipath.h
raid0.c
raid0.h
raid1.c block: move bio list helpers into bio.h 2009-04-15 08:28:09 +02:00
raid1.h
raid5.c md: update sync_completed and reshape_position even more often. 2009-04-17 11:06:30 +10:00
raid5.h
raid6algos.c
raid6altivec.uc
raid6int.uc
raid6mmx.c
raid6recov.c
raid6sse1.c
raid6sse2.c
raid6x86.h
raid10.c md/raid10: don't clear bitmap during recovery if array will still be degraded. 2009-05-07 12:48:10 +10:00
raid10.h
unroll.pl