]> sourceware.org Git - lvm2.git/commit
Use early udev synchronisation and update of dev nodes for clustered mirrors.
authorPeter Rajnoha <prajnoha@redhat.com>
Mon, 21 Jun 2010 08:54:32 +0000 (08:54 +0000)
committerPeter Rajnoha <prajnoha@redhat.com>
Mon, 21 Jun 2010 08:54:32 +0000 (08:54 +0000)
commit44a82780b9cca8f11717f59afccd3dc78a884057
treea9071a74e29076c068099b1f3b2abff9a3608d63
parentc76681596ed2f2824c626b40d76752a3c19526d2
Use early udev synchronisation and update of dev nodes for clustered mirrors.

When using clustered mirrors, we need device nodes to be created during
processing of device tree, not at its end like we normally do (we need to
access the nodes in cmirror prematurely). Therefore we use a new flag called
"immediate_dev_node" stored in deptree's load_properties struct to instruct the
device tree processing code to immediately synchronize with udev and flush all
stacked node operations so the nodes are prepared for use.

For now, the immediate_dev_node is used for clustered mirrors during
processing the dm_tree_preload_children code only. We can add more later if
needed.
WHATS_NEW
libdm/libdm-deptree.c
This page took 0.035721 seconds and 5 git commands to generate.