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

2020-12-18 Thread Martin Wilck
On Fri, 2020-12-18 at 17:06 -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 with

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

2020-12-18 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