On Thu, Jun 07, 2018 at 09:24:00AM +0200, Martin Wilck wrote: > On Wed, 2018-06-06 at 16:56 -0500, Benjamin Marzinski wrote: > > On Wed, Jun 06, 2018 at 10:25:36PM +0200, Martin Wilck wrote: > > > > > > The patch looks good to me, but doesn't this mean that mpathpersist > > > would now also support persistent reservations with the ALL_TG_PT > > > bit > > > set (IIUC, the VNX basically acts as if that bit was always set)? > > > > > > If yes, I think the warning in mpath_prout_reg() about this flag > > > could > > > be dropped, and mpathpersist could be extended to support the -Y/ > > > --param-alltgpt option, no? > > > > I'm a little fuzzy on the --param-alltgpt option. The initial > > mpathpersist sumbission didn't include support for it, on the grounds > > that supporting it would cause mpathpersist to do a lot of extra > > work. > > What I did cuts down on the amout of work that mpathpersist has to > > do. > > If I could clear that up, I'd happily add the option to mpathpersist. > > > > Are you saying you intend to do so? Again, from a user point of view, > without much knowledge about what's going on behind the scenes, seeing > an all_tg_pt option in multipath.conf would make me think that I could > simply set that option and thus have multipath-tools issue PROUT > commands with the ALL_TG_PT bit set, which isn't true at this point in > time. > > Best > Martin I get your concern, and I do plan on either allowing the mpathpersist option or renaming the multipath.conf option so as to not confuse people. I was hoping to get some reassurance that what I did does actually make the ALL_TG_TP flag for persistent reservations work. I don't have any arrays that seem to actually honor it. They either are like the VNX, and always treat the reservation as being for all target ports, or they never do, even when I use the option with sg_persist. If I can find an array to test on with multiple target ports that actually does something in response to the ALL_TG_PT flag, I can check whether my all_tg_pt code makes this work correctly. -Ben > > -- > Dr. Martin Wilck <mwilck@xxxxxxxx>, Tel. +49 (0)911 74053 2107 > SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton > HRB 21284 (AG Nürnberg) -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel