]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
dm mpath: delay retry of bypassed pg
authorMike Christie <michaelc@cs.wisc.edu>
Sat, 2 Jun 2012 23:29:45 +0000 (00:29 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Sat, 2 Jun 2012 23:29:45 +0000 (00:29 +0100)
commitf220fd4efb334a772f9a14b2372175f38d89355e
treeeeca11526d28f47e7595c66079621e4bfb1e827c
parent1fbdd2b3a3cf77f77b0cdf25dd969241ea2c0ce1
dm mpath: delay retry of bypassed pg

If I/O needs retrying and only bypassed priority groups are available,
set the pg_init_delay_retry flag to wait before retrying.

If, for example, the reason for the bypass is that the controller is
getting reset or there is a firmware upgrade happening, retrying right
away would cause a flood of log messages and retries for what could be a
few seconds or even several minutes.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Acked-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-mpath.c