diff options
author | Dave Wysochanski <dwysocha@redhat.com> | 2007-10-19 17:47:55 -0400 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2007-10-19 21:01:20 -0400 |
commit | fe97e2aa0502922488ad62303a19a20c8044ae18 (patch) | |
tree | 481f977d08248b64c4e9b3c48c74b95fbe90e1be /drivers/md/dm-path-selector.c | |
parent | 16ebbf358477b762115fec2f85d9b9496a5cae76 (diff) |
dm mpath: hp retry if not ready
This patch adds retries to the hp hardware handler, and utilizes the
MP_RETRY flag of dm-multipath. For now in the hp handler, if we get a
pg_init completed with a check condition we just assume we can retry the
pg_init command. We make this assumption because of incomplete data on
specific check condition code of the HP hardware, and because testing
has shown the HP path initialization command to be idempotent.
The number of times we retry is settable via the "pg_init_retries"
multipath map feature.
Signed-off-by: Dave Wysochanski <dwysocha@redhat.com>
Acked-by: Chandra Seetharaman <sekharan@us.ibm.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'drivers/md/dm-path-selector.c')
0 files changed, 0 insertions, 0 deletions