On 01/31/2011 05:14 PM, Mike Snitzer wrote: > 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). > I actually send a similar patch way back, but Alasdair refused to take it as he still had to mull them over. And, as mentioned in my other mail, to properly support maps with no paths there are quite a few changes required in multipath-tools itself. But other than that: Congrats. One patchset less in my queue. > Signed-off-by: Mike Snitzer <snitzer@xxxxxxxxxx> > Cc: Babu Moger <babu.moger@xxxxxxx> Acked-by: Hannes Reinecke <hare@xxxxxxx> Cheers, Hannes -- Dr. Hannes Reinecke zSeries & Storage hare@xxxxxxx +49 911 74053 688 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Markus Rex, HRB 16746 (AG Nürnberg) -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel