NeilBrown
a8707c08f4
md: simplify updating of event count to sometimes avoid updating spares.
...
When updating the event count for a simple clean <-> dirty transition,
we try to avoid updating the spares so they can safely spin-down.
As the event_counts across an array must be +/- 1, this means
decrementing the event_count on a dirty->clean transition.
This is not always safe and we have to avoid the unsafe time.
We current do this with a misguided idea about it being safe or
not depending on whether the event_count is odd or even. This
approach only works reliably in a few common instances, but easily
falls down.
So instead, simply keep internal state concerning whether it is safe
or not, and always assume it is not safe when an array is first
assembled.
Signed-off-by: NeilBrown <neilb@suse.de>
2010-05-18 15:28:01 +10:00
..
raid6test
.gitignore
bitmap.c
md/raid1: delay reads that could overtake behind-writes.
2010-05-18 15:27:57 +10:00
bitmap.h
md/raid1: delay reads that could overtake behind-writes.
2010-05-18 15:27:57 +10:00
dm-bio-record.h
dm-crypt.c
dm table: remove unused dm_get_device range parameters
2010-03-06 02:32:27 +00:00
dm-delay.c
dm table: remove unused dm_get_device range parameters
2010-03-06 02:32:27 +00:00
dm-exception-store.c
dm snapshot: move cow ref from exception store to snap core
2009-12-10 23:52:12 +00:00
dm-exception-store.h
dm snapshot: add merging
2009-12-10 23:52:32 +00:00
dm-io.c
dm io: handle empty barriers
2009-12-10 23:52:22 +00:00
dm-ioctl.c
dm ioctl: introduce flag indicating uevent was generated
2010-03-06 02:32:31 +00:00
dm-kcopyd.c
dm kcopyd: accept zero size jobs
2009-12-10 23:52:13 +00:00
dm-linear.c
dm table: remove unused dm_get_device range parameters
2010-03-06 02:32:27 +00:00
dm-log-userspace-base.c
dm-log-userspace-transfer.c
dm log: userspace fix overhead_size calcuations
2010-02-16 18:42:53 +00:00
dm-log-userspace-transfer.h
dm-log.c
dm table: remove unused dm_get_device range parameters
2010-03-06 02:32:27 +00:00
dm-mpath.c
dm table: remove unused dm_get_device range parameters
2010-03-06 02:32:27 +00:00
dm-mpath.h
dm-path-selector.c
dm-path-selector.h
dm-queue-length.c
dm-raid1.c
dm raid1: fix deadlock when suspending failed device
2010-03-06 02:32:35 +00:00
dm-region-hash.c
dm raid1: fix null pointer dereference in suspend
2010-02-16 18:42:58 +00:00
dm-round-robin.c
dm-service-time.c
dm-snap-persistent.c
dm snapshot: persistent annotate work_queue as on stack
2010-02-16 18:42:51 +00:00
dm-snap-transient.c
dm snapshot: move cow ref from exception store to snap core
2009-12-10 23:52:12 +00:00
dm-snap.c
dm: eliminate some holes data structures
2010-03-06 02:32:33 +00:00
dm-stripe.c
dm table: remove unused dm_get_device range parameters
2010-03-06 02:32:27 +00:00
dm-sysfs.c
dm: sysfs revert add empty release function to avoid debug warning
2010-02-16 18:43:04 +00:00
dm-table.c
dm table: remove unused dm_get_device range parameters
2010-03-06 02:32:27 +00:00
dm-target.c
dm-uevent.c
dm table: remove dm_get from dm_table_get_md
2010-03-06 02:29:52 +00:00
dm-uevent.h
dm-zero.c
dm.c
dm ioctl: introduce flag indicating uevent was generated
2010-03-06 02:32:31 +00:00
dm.h
dm ioctl: introduce flag indicating uevent was generated
2010-03-06 02:32:31 +00:00
faulty.c
md: pass mddev to make_request functions rather than request_queue
2010-05-18 15:27:55 +10:00
Kconfig
md: remove EXPERIMENTAL designation from RAID10
2010-05-18 15:27:58 +10:00
linear.c
md/linear: standardise all printk messages
2010-05-18 15:27:59 +10:00
linear.h
Makefile
md.c
md: simplify updating of event count to sometimes avoid updating spares.
2010-05-18 15:28:01 +10:00
md.h
md: simplify updating of event count to sometimes avoid updating spares.
2010-05-18 15:28:01 +10:00
mktables.c
multipath.c
md: pass mddev to make_request functions rather than request_queue
2010-05-18 15:27:55 +10:00
multipath.h
raid0.c
md/raid0: tidy up printk messages.
2010-05-18 15:27:59 +10:00
raid0.h
md: Add support for Raid5->Raid0 and Raid10->Raid0 takeover
2010-05-18 15:27:48 +10:00
raid1.c
md: Fix read balancing in RAID1 and RAID10 on drives > 2TB
2010-05-18 15:28:00 +10:00
raid1.h
md/raid1: add takeover support for raid5->raid1
2009-12-14 12:51:41 +11:00
raid5.c
md/raid6: Fix raid-6 read-error correction in degraded state
2010-05-18 15:28:00 +10:00
raid5.h
percpu: add __percpu sparse annotations to what's left
2010-02-17 11:17:38 +09:00
raid6algos.c
md: add MODULE_DESCRIPTION for all md related modules.
2009-12-14 12:51:41 +11:00
raid6altivec.uc
raid6int.uc
raid6mmx.c
raid6recov.c
raid6sse1.c
raid6sse2.c
raid6x86.h
raid10.c
md: Fix read balancing in RAID1 and RAID10 on drives > 2TB
2010-05-18 15:28:00 +10:00
raid10.h
md: Add support for Raid0->Raid10 takeover
2010-05-18 15:27:48 +10:00
unroll.awk