Re: [dm-devel] [PATCH] mpathpersist: Fix Register and Ignore with 0x00 SARK

2020-11-23 Thread Benjamin Marzinski
On Mon, Nov 09, 2020 at 05:12:42PM -0600, Benjamin Marzinski wrote: > When the Register and Ignore command is run with sg_persist, if a 0x00 > Service Action Reservation Key is given or the --param-sark option is > not used at all, sg_persist will clear the registration. mpathpersist > will fail w

[dm-devel] [PATCH] mpathpersist: Fix Register and Ignore with 0x00 SARK

2020-11-09 Thread Benjamin Marzinski
When the Register and Ignore command is run with sg_persist, if a 0x00 Service Action Reservation Key is given or the --param-sark option is not used at all, sg_persist will clear the registration. mpathpersist will fail with an error. This patch fixes mpathpersist to work like sg_persist in this