]> sourceware.org Git - lvm2.git/commit
lvmcache: set device in label when switching devs V2
authorDavid Teigland <teigland@redhat.com>
Fri, 8 May 2015 22:10:53 +0000 (17:10 -0500)
committerDavid Teigland <teigland@redhat.com>
Fri, 8 May 2015 22:10:53 +0000 (17:10 -0500)
commitbe23fae488b7df19147259d3e8505fc8301076cd
tree4729e9e2204c01fb3a10c4fb3b4b6369492132bf
parentca67cf84df6015c990618de3dc45c0b87eee75ce
lvmcache: set device in label when switching devs V2

This is an alternative/equivalent to commit
ca67cf84df6015c990618de3dc45c0b87eee75ce

The problem (wrong label->dev after a new preferred
duplicate device is chosen) was isolated to the lvmetad
case (non-lvmetad worked fine), and this fixes the problem
by setting the new label->dev in the lvmetad-specific
code rather than in the general lvmcache code.
lib/cache/lvmcache.c
lib/cache/lvmetad.c
This page took 0.037998 seconds and 5 git commands to generate.