]> sourceware.org Git - lvm2.git/commit
cmirrord now returns log name to kernel in CTR so it can be registered
authorJonathan Earl Brassow <jbrassow@redhat.com>
Fri, 14 Oct 2011 14:18:49 +0000 (14:18 +0000)
committerJonathan Earl Brassow <jbrassow@redhat.com>
Fri, 14 Oct 2011 14:18:49 +0000 (14:18 +0000)
commitc954b73149f992c1a29c6ce5abc8ac4b7ecaf4aa
tree0f5dfa63c290a6dfa9a96103d7281c524136774b
parent681ceb16d80e9cfbb768a05b5296e23da427b9cd
cmirrord now returns log name to kernel in CTR so it can be registered

Version 2 of the userspace log protocol accepts return information during the
DM_ULOG_CTR exchange.  The return information contains the name of the log
device that is being used (if there is one).  The kernel can then register the
device via 'dm_get_device'.  Amoung other things, this allows for userspace to
assemble a correct dependency tree of devices - critical for LVM handling of
suspend/resume calls.

Also, update dm-log-userspace.h to match the kernel header associated with
this protocol change.  (Includes a version inc.)
WHATS_NEW
daemons/cmirrord/functions.c
libdm/misc/dm-log-userspace.h
This page took 0.036575 seconds and 5 git commands to generate.