Re: [dm-devel] [PATCH v2 04/37] libmultipath: never allocate an alias that's already taken

2023-09-12 Thread Benjamin Marzinski
On Mon, Sep 11, 2023 at 06:38:13PM +0200, mwi...@suse.com wrote: > From: Martin Wilck > > If the bindings file is changed in a way that multipathd can't handle > (e.g. by swapping the aliases of two maps), multipathd must not try > to re-use an alias that is already used by another map. Creating

[dm-devel] [PATCH v2 04/37] libmultipath: never allocate an alias that's already taken

2023-09-11 Thread mwilck
From: Martin Wilck If the bindings file is changed in a way that multipathd can't handle (e.g. by swapping the aliases of two maps), multipathd must not try to re-use an alias that is already used by another map. Creating or renaming a map with such an alias will fail. We already avoid this for s