kernel_optimize_test/drivers/md
Jonathan Brassow d460c65a6a dm raid1: fix error count
Always increase the error count when I/O on a leg of a mirror fails.

The error count is used to decide whether to select an alternative
mirror leg.  If the target doesn't use the "handle_errors" feature, the
error count is not updated and the bio can get requeued forever by the
read callback.

Fix it by increasing error_count before the handle_errors feature
checking.

Cc: stable@kernel.org
Signed-off-by: Milan Broz <mbroz@redhat.com>
Signed-off-by: Jonathan Brassow <jbrassow@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
2009-01-06 03:04:57 +00:00
..
raid6test
.gitignore
bitmap.c md: Don't read past end of bitmap when reading bitmap. 2008-12-19 16:25:01 +11:00
dm-bio-list.h
dm-bio-record.h
dm-crypt.c bio: allow individual slabs in the bio_set 2008-12-29 08:29:23 +01:00
dm-delay.c
dm-exception-store.c
dm-io.c bio: allow individual slabs in the bio_set 2008-12-29 08:29:23 +01:00
dm-ioctl.c
dm-kcopyd.c
dm-linear.c
dm-log.c dm log: fix dm_io_client leak on error paths 2009-01-06 03:04:56 +00:00
dm-mpath.c
dm-mpath.h
dm-path-selector.c
dm-path-selector.h
dm-raid1.c dm raid1: fix error count 2009-01-06 03:04:57 +00:00
dm-region-hash.c
dm-round-robin.c
dm-snap.c dm snapshot: change yield to msleep 2009-01-06 03:04:54 +00:00
dm-snap.h
dm-stripe.c
dm-table.c
dm-target.c
dm-uevent.c
dm-uevent.h
dm-zero.c
dm.c dm table: drop reference at unbind 2009-01-06 03:04:53 +00:00
dm.h
faulty.c
Kconfig
linear.c
Makefile
md.c
mktables.c
multipath.c
raid0.c
raid1.c
raid5.c
raid6.h
raid6algos.c
raid6altivec.uc
raid6int.uc
raid6mmx.c
raid6recov.c
raid6sse1.c
raid6sse2.c
raid6x86.h
raid10.c
unroll.pl