]> 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)
commit566515c095121d8411dd0686d52e70d644f39299
treea9071a74e29076c068099b1f3b2abff9a3608d63
parent2995925278d6a1647f2324c56ba47ee184fe55ef
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.093099 seconds and 5 git commands to generate.