Files
linux-apfs/drivers
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
..
2009-01-06 03:04:57 +00:00
2008-12-31 19:56:05 +01:00
2009-01-02 10:19:43 -08:00
2008-12-31 18:07:38 -05:00
2009-01-04 13:33:20 -08:00
2009-01-02 16:12:51 +01:00