mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
199b7b55c2
Some commands scan labels to populate lvmcache multiple times, i.e. lvmcache_init, scan labels to fill lvmcache, lvmcache_destroy, then later repeat Each time labels are scanned, duplicates are detected, and preferred devices are chosen. Each time this is done within a single command, we want to choose the same preferred devices. So, check for existing preferences when choosing preferred devices. This also fixes a problem with the list of unused duplicate devs when run in an lvm shell. The devs had been allocated from cmd memory, resulting in invalid list entries between commands. |
||
---|---|---|
.. | ||
toolcontext.c | ||
toolcontext.h |