NeilBrown
7ad4d4a68a
md/raid1: Don't release reference to device while handling read error.
...
When we get a read error, we arrange for raid1d to handle it.
Currently we release the reference on the device. This can result
in
conf->mirrors[read_disk].rdev
being NULL in fix_read_error, if the device happens to get removed
before the read error is handled.
So instead keep the reference until the read error has been fully
handled.
Reported-by: hank <pyu@redhat.com>
Signed-off-by: NeilBrown <neilb@suse.de>
2012-10-11 13:44:30 +11:00
..
2012-07-27 15:08:15 +01:00
2012-10-11 13:43:21 +11:00
2012-05-22 13:55:34 +10:00
2012-03-28 18:41:29 +01:00
2012-03-28 18:41:29 +01:00
2012-09-09 10:35:39 +02:00
2012-07-27 15:08:16 +01:00
2012-07-27 15:07:59 +01:00
2012-07-27 15:08:16 +01:00
2012-09-09 10:35:38 +02:00
2012-07-27 15:08:16 +01:00
2011-10-31 20:18:58 +00:00
2012-07-27 15:08:16 +01:00
2011-11-06 19:44:47 -08:00
2012-05-10 23:21:39 -04:00
2012-07-30 17:25:16 -07:00
2012-07-27 15:08:16 +01:00
2011-10-31 19:31:18 -04:00
2012-03-28 18:41:26 +01:00
2012-07-27 15:08:16 +01:00
2012-10-11 13:42:19 +11:00
2012-07-20 14:25:03 +01:00
2012-03-28 18:41:26 +01:00
2012-03-28 18:41:26 +01:00
2011-10-31 19:31:19 -04:00
2011-10-31 19:31:19 -04:00
2012-07-27 15:08:16 +01:00
2012-07-27 15:08:16 +01:00
2012-07-27 15:08:07 +01:00
2012-07-27 15:08:15 +01:00
2012-07-27 15:08:15 +01:00
2012-07-27 15:08:16 +01:00
2011-10-31 19:31:19 -04:00
2012-07-27 15:08:16 +01:00
2012-09-09 10:35:39 +02:00
2012-07-27 15:08:16 +01:00
2012-03-19 12:46:39 +11:00
2012-08-02 11:34:40 -07:00
2012-10-11 13:08:44 +11:00
2011-10-11 16:48:54 +11:00
2012-03-28 18:43:38 +01:00
2012-10-11 13:38:58 +11:00
2012-10-11 13:34:00 +11:00
2012-10-11 13:34:00 +11:00
2011-10-11 16:48:57 +11:00
2012-10-11 13:25:44 +11:00
2012-03-19 12:46:39 +11:00
2012-10-11 13:44:30 +11:00
2012-07-31 10:03:53 +10:00
2012-10-11 13:34:00 +11:00
2012-08-02 11:34:40 -07:00
2012-10-11 13:38:58 +11:00
2012-08-18 09:51:42 +10:00