]> sourceware.org Git - lvm2.git/commit - lib/activate/activate.c
Add lv_is_active() to determine whether an lv is active.
authorDave Wysochanski <dwysocha@redhat.com>
Thu, 10 Apr 2008 21:34:18 +0000 (21:34 +0000)
committerDave Wysochanski <dwysocha@redhat.com>
Thu, 10 Apr 2008 21:34:18 +0000 (21:34 +0000)
commit5ca6698f12d38d488b4cdd1e6a91151be78b0ecb
tree92675ce52f98c351626d61d8e1a8130240202aea
parenta6b0b935f63076271eed980cdf06304c2f3ec4c8
Add lv_is_active() to determine whether an lv is active.

Handles non-clustered as well as clustered.  For clustered,
the best we can do is try exclusive local activation.  If this
succeeds, we know it is not active elsewhere in the cluster.
Otherwise, we assume it is active elsewhere.
lib/activate/activate.c
lib/activate/activate.h
This page took 0.033755 seconds and 5 git commands to generate.