summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMike Snitzer <snitzer@redhat.com>2011-02-16 10:51:07 +1100
committerStephen Rothwell <sfr@canb.auug.org.au>2011-02-16 10:51:07 +1100
commitde0fe84496af2fb104d5623937b1b6c0605f8273 (patch)
treefb91e5ad06907147e392336af323b4aae0e2db58 /include
parent3415aafa6c2f3fb59b3f4f414c592b2b2d0ddf29 (diff)
dm-mpath-allow-table-load-with-no-priority-groups
If an mpath device is held open when all paths in the last priority group have failed userspace multipathd will attempt to reload the associated DM table to reflect that the device no longer has any priority groups. But the reload attempt always failed because the multipath target did not allow 0 priority groups. Adjust multipath target to allow a table with both 0 priority groups and 0 for the initial priority group number. All multipath target messages related to priority group (enable_group, disable_group, switch_group) will properly handle a priority group of 0 (will cause error). When reloading a multipath table with 0 priority groups, userspace multipathd must be updated to specify an initial priority group number of 0 (rather than 1). Signed-off-by: Mike Snitzer <snitzer@redhat.com> Signed-off-by: Alasdair G Kergon <agk@redhat.com> Cc: Babu Moger <babu.moger@lsi.com> Acked-by: Hannes Reinecke <hare@suse.de>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions