]> sourceware.org Git - lvm2.git/commit
cache: improve activation with -real
authorZdenek Kabelac <zkabelac@redhat.com>
Sun, 18 Dec 2016 14:05:31 +0000 (15:05 +0100)
committerZdenek Kabelac <zkabelac@redhat.com>
Sun, 18 Dec 2016 18:30:50 +0000 (19:30 +0100)
commit69434c2eca5bb7667d73916a28d03b8c687aea32
tree7ef6d6c4606f085bb9d90dc45ebba17f6e50392e
parent954c59779d35436a6d2f28482ec1ed6dc128844c
cache: improve activation with -real

When cache volume may be converted from normal to -real layer LV
we need to improve logic for call cache_check.

With this patch, we register call for cache_check only when metadata LV
is not yet present in active table slot (should match initial table
load).
This avoids unwanted checking when cache would become layer device
online.
WHATS_NEW
lib/activate/dev_manager.c
This page took 0.031447 seconds and 5 git commands to generate.