commit | 84d568073597d561f356b970d14e9aea65a54b6f | [log] [tgz] |
---|---|---|
author | Bart Van Assche <bart.vanassche@sandisk.com> | Wed Aug 31 15:18:31 2016 -0700 |
committer | Mike Snitzer <snitzer@redhat.com> | Thu Sep 01 17:29:36 2016 -0400 |
tree | bfa47cbcce2213775a6936f03bb8446dc54fc2c8 | |
parent | 69eb3e60e099a6117fc754e70eedd504685326ad [diff] |
dm path selector: Avoid that device removal triggers an infinite loop If pg_init_retries is set and a request is queued against a multipath device with all underlying block devices in the "dying" state then an infinite loop is triggered because activate_path() never succeeds and hence never calls pg_init_done(). Fix this by making ql_select_path() skip dying paths. Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>