]> sourceware.org Git - lvm2.git/commit
dev-cache: replace inefficient looking for dev
authorZdenek Kabelac <zkabelac@redhat.com>
Thu, 25 Feb 2021 23:21:41 +0000 (00:21 +0100)
committerZdenek Kabelac <zkabelac@redhat.com>
Tue, 2 Mar 2021 21:54:40 +0000 (22:54 +0100)
commit9dd759c6b1c0e25e785485f823b09c59ef5b2583
tree1a1d1a05dbfafaef2a41566b45d897e72680daf1
parent081e47912e6c80f233fec5d472e32e1ac4f19a78
dev-cache: replace inefficient looking for dev

Use btree loopkup to find dev structure by major:minor.
This could have slow down lvm2 commands significantly with
higher amount of LVs.
lib/device/dev-cache.c
This page took 0.049008 seconds and 5 git commands to generate.