]> www.infradead.org Git - users/jedix/linux-maple.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)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Fri, 31 Aug 2012 12:55:49 +0000 (05:55 -0700)
commit3020b3c9a2a67eb121b5c5cc7bbfdc7fa3d34406
treec92f10c04df45e46a64c41adf72c55b3156cadb9
parent780a98541f60858b8679f741c8d35953038225eb
dm mpath: delay retry of bypassed pg

Orabug: 14478983
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