You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
NeilBrown
73d5c38a95
md: avoid races when stopping resync.
...
There has been a race in raid10 and raid1 for a long time
which has only recently started showing up due to a scheduler changed.
When a sync_read request finishes, as soon as reschedule_retry
is called, another thread can mark the resync request as having
completed, so md_do_sync can finish, ->stop can be called, and
->conf can be freed. So using conf after reschedule_retry is not
safe.
Similarly, when finishing a sync_write, calling md_done_sync must be
the last thing we do, as it allows a chain of events which will free
conf and other data structures.
The first of these requires action in raid10.c
The second requires action in raid1.c and raid10.c
Cc: stable@kernel.org
Signed-off-by: NeilBrown <neilb@suse.de>
16 years ago
..
raid6test
…
.gitignore
…
Kconfig
raid, fastboot: hide RAID autodetect option if MD is compiled as a module
17 years ago
Makefile
dm snapshot: split out exception store implementations
16 years ago
bitmap.c
md: use list_for_each_entry macro directly
16 years ago
dm-bio-list.h
…
dm-bio-record.h
…
dm-crypt.c
dm: consolidate target deregistration error handling
16 years ago
dm-delay.c
dm: consolidate target deregistration error handling
16 years ago
dm-exception-store.c
dm snapshot: extend exception store functions
16 years ago
dm-exception-store.h
dm snapshot: extend exception store functions
16 years ago
dm-io.c
block: fix bad definition of BIO_RW_SYNC
16 years ago
dm-ioctl.c
dm table: rework reference counting
16 years ago
dm-kcopyd.c
block: fix bad definition of BIO_RW_SYNC
16 years ago
dm-linear.c
dm: support barriers on simple devices
16 years ago
dm-log.c
dm log: ensure log bitmap fits on log device
16 years ago
dm-mpath.c
dm mpath: move trigger_event to system workqueue
16 years ago
dm-mpath.h
dm mpath: remove is_active from struct dm_path
17 years ago
dm-path-selector.c
dm: remove dm header from targets
17 years ago
dm-path-selector.h
…
dm-raid1.c
dm log: move region_size validation
16 years ago
dm-region-hash.c
dm raid1: separate region_hash interface part1
17 years ago
dm-round-robin.c
dm: remove dm header from targets
17 years ago
dm-snap-persistent.c
dm snapshot: extend exception store functions
16 years ago
dm-snap-transient.c
dm snapshot: extend exception store functions
16 years ago
dm-snap.c
dm snapshot: extend exception store functions
16 years ago
dm-snap.h
dm snapshot: extend exception store functions
16 years ago
dm-stripe.c
dm: consolidate target deregistration error handling
16 years ago
dm-sysfs.c
dm: add name and uuid to sysfs
16 years ago
dm-table.c
dm table: rework reference counting
16 years ago
dm-target.c
dm: consolidate target deregistration error handling
16 years ago
dm-uevent.c
md: replace remaining __FUNCTION__ occurrences
17 years ago
dm-uevent.h
…
dm-zero.c
dm: consolidate target deregistration error handling
16 years ago
dm.c
dm: add name and uuid to sysfs
16 years ago
dm.h
dm: add name and uuid to sysfs
16 years ago
faulty.c
md: use list_for_each_entry macro directly
16 years ago
linear.c
md: Fix a bug in linear.c causing which_dev() to return the wrong device.
16 years ago
md.c
block: fix bad definition of BIO_RW_SYNC
16 years ago
mktables.c
…
multipath.c
md: use list_for_each_entry macro directly
16 years ago
raid0.c
md: use list_for_each_entry macro directly
16 years ago
raid1.c
md: avoid races when stopping resync.
16 years ago
raid5.c
md: use list_for_each_entry macro directly
16 years ago
raid6.h
md: Remove unnecessary #includes, #defines, and function declarations.
17 years ago
raid6algos.c
drivers/md: use time_before, time_before_eq, etc
17 years ago
raid6altivec.uc
…
raid6int.uc
…
raid6mmx.c
…
raid6recov.c
…
raid6sse1.c
…
raid6sse2.c
…
raid6x86.h
…
raid10.c
md: avoid races when stopping resync.
16 years ago
unroll.pl
…