mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
doc: mention new invalid states in lvmetad_design
This commit is contained in:
parent
c23e7ff2a0
commit
ba2b701f2c
@ -137,6 +137,17 @@ hosts. Overall, this is not hard, but the devil is in the details. I would
|
|||||||
possibly disable lvmetad for clustered volume groups in the first phase and
|
possibly disable lvmetad for clustered volume groups in the first phase and
|
||||||
only proceed when the local mode is robust and well tested.
|
only proceed when the local mode is robust and well tested.
|
||||||
|
|
||||||
|
With lvmlockd, lvmetad state is kept up to date by flagging either an
|
||||||
|
individual VG as "invalid", or the global state as "invalid". When either
|
||||||
|
the VG or the global state are read, this invalid flag is returned along
|
||||||
|
with the data. The client command can check for this invalid state and
|
||||||
|
decide to read the information from disk rather than use the stale cached
|
||||||
|
data. After the latest data is read from disk, the command may choose to
|
||||||
|
send it to lvmetad to update the cache. lvmlockd uses version numbers
|
||||||
|
embedded in its VG and global locks to detect when cached data becomes
|
||||||
|
invalid, and it then tells lvmetad to set the related invalid flag.
|
||||||
|
dct, 2015-06-23
|
||||||
|
|
||||||
Protocol & co.
|
Protocol & co.
|
||||||
--------------
|
--------------
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user