]> sourceware.org Git - lvm2.git/commit
mirror: improve table update
authorZdenek Kabelac <zkabelac@redhat.com>
Sat, 28 Apr 2018 20:14:47 +0000 (22:14 +0200)
committerZdenek Kabelac <zkabelac@redhat.com>
Mon, 30 Apr 2018 08:41:51 +0000 (10:41 +0200)
commitfade45b1d14c90eac7c6cc41019ef946659a8fb5
tree340cf0c0bbce3ae543eb76c55b6d160948ca3919
parentdd7ac793a02553c9c7a14b9715d5a6ad636aa065
mirror: improve table update

Shift refresh of mirror table right into monitor_dev_for_events().
Use  !vg_write_lock_held() to recognize use of lvchange/vgchange.
(this shall change if this would no longer work, but requires
futher some API changes).

With this patch  dm mirror table is only refreshed when necassary.

Also update WARNING message about mirror usage without monitoring
and display LV name.
lib/activate/activate.c
lib/mirror/mirrored.c
tools/lvchange.c
This page took 0.029837 seconds and 5 git commands to generate.