]> sourceware.org Git - lvm2.git/commit
dev_manager: check if uuid isn't already in cache
authorZdenek Kabelac <zkabelac@redhat.com>
Fri, 7 Jun 2024 13:57:42 +0000 (15:57 +0200)
committerZdenek Kabelac <zkabelac@redhat.com>
Fri, 21 Jun 2024 09:28:54 +0000 (11:28 +0200)
commited440367b94d9a132782ca3b21be7e9d48b57cb5
tree419729751a3edadbafb9633b2875208ec2985000
parente30bc9b179fdb7ec8a12bbc5813398fcf34600b7
dev_manager: check if uuid isn't already in cache

When DM uuid cache is available, we can possibly avoid unnecessary
status ioctl() when we check the device for 'usable' uuid.

If this test passes the existing code will got through the full check.
lib/activate/dev_manager.c
This page took 0.038891 seconds and 5 git commands to generate.