Re: [dm-devel] [PATCH v2 18/37] libmultipath: keep bindings in memory

2023-09-12 Thread Benjamin Marzinski
On Mon, Sep 11, 2023 at 06:38:27PM +0200, mwi...@suse.com wrote: > From: Martin Wilck > > Rather than opening the bindings file every time we must retrieve > a binding, keep the contents in memory and write the file only > if additions have been made. This simplifies the code, and should speed up

[dm-devel] [PATCH v2 18/37] libmultipath: keep bindings in memory

2023-09-11 Thread mwilck
From: Martin Wilck Rather than opening the bindings file every time we must retrieve a binding, keep the contents in memory and write the file only if additions have been made. This simplifies the code, and should speed up alias lookups significantly. As a side effect, the aliases will be stored