summaryrefslogtreecommitdiffstats
path: root/libdm/misc
Commit message (Collapse)AuthorAgeFilesLines
* dmsetup: allow --noflush with status/wait for thinAlasdair G Kergon2012-07-271-5/+7
| | | | | Allow --noflush with dmsetup status and wait (for thin target 1.3.0 / ioctl 4.23.0).
* cmirrord now returns log name to kernel in CTR so it can be registeredJonathan Earl Brassow2011-10-141-5/+13
| | | | | | | | | | | | 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.)
* Update stale libdm/misc/dm-log-userspace.hJonathan Earl Brassow2011-10-141-2/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | The upstream kernel version that this file mirrors has changed, here is the commit message: commit 86a54a4802df10d23ccd655e2083e812fe990243 Author: Jonathan Brassow <jbrassow@redhat.com> Date: Thu Jan 13 19:59:52 2011 +0000 dm log userspace: add version number to comms This patch adds a 'version' field to the 'dm_ulog_request' structure. The 'version' field is taken from a portion of the unused 'padding' field in the 'dm_ulog_request' structure. This was done to avoid changing the size of the structure and possibly disrupting backwards compatibility. The version number will help notify user-space daemons when a change has been made to the kernel/userspace log API. Signed-off-by: Jonathan Brassow <jbrassow@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com> Signed-off-by: Alasdair G Kergon <agk@redhat.com>
* Suport DM_SECURE_DATA_FLAG.Milan Broz2011-02-041-2/+8
| | | | | It will be user for cryptsetup to ensure buffers are properly wiped when sending sensitive data (key).
* Use a more-generic name for the new kernel flag so list_devices can share it.Alasdair Kergon2010-10-251-1/+1
|
* Add --setuuid to dmsetup rename.Alasdair Kergon2010-10-151-3/+9
| | | | Add dm_task_set_newuuid to set uuid of mapped device post-creation. (pjones)
* Use flexible data[] in cmirrord request to prevent abort in runtime size checks.Milan Broz2010-06-221-1/+1
|
* Add support for dm-mod module autoload.Peter Rajnoha2010-06-011-0/+1
| | | | | | | | A kernel patch is on its way for 2.6.35 adding support for dm-mod module autoload. Udev v155 and higher is able to read static node information given in modules.devname (extracted by depmod before) and will create such nodes at its start. The first access to such node will load the module automatically (directly in kernel) before the actual read/write operation is processed.
* Add support for ioctl's DM_UEVENT_GENERATED_FLAG.Peter Rajnoha2010-03-231-2/+7
| | | | | | | | | | | | | We need to know whether we should wait for any uevent or not when using udev_sync. A kernel patch was posted recently that changed the way uevents are sent on dm device resume - it is sent only if the device has been suspended before. There's also a new DM_UEVENT_GENERATED_FLAG in the ioctl to notify userspace whether the event was generated. If the uevent was not generated (e.g. the situation where the device is *not* suspended and we call a resume), we just call dm_udev_complete explicitly from within libdevmapper itself to prevent infinite waiting while trying to synchronise with udev processing.
* more build fixesAlasdair Kergon2010-01-191-1/+1
|
* Add support for querying a device's inactive table.Alasdair Kergon2009-11-061-3/+10
| | | | | Currently this data is invisible to userspace. Requires dm >= 4.16 (likely to be in linux 2.6.33).
* Cluster log server (clogd): Add new build files.Jonathan Earl Brassow2009-08-131-0/+397
| | | | Might be a good idea to add the new files to the repository. :(
* Add default udev rules.Alasdair Kergon2009-08-031-2/+12
| | | | Update dm-ioctl.h comments.
* Add log_errno to set a specific errno and replace log_error in due course.Alasdair Kergon2009-07-161-3/+4
|
* New LOG_MESG macro to fix file/line number logging for memory leaks afterAlasdair Kergon2009-07-151-3/+5
| | | | LOG_LINENO macro was added.
* Add dm_log_with_errno and dm_log_with_errno_init, deprecating the oldAlasdair Kergon2009-07-101-1/+8
| | | | | Change plog to use dm_log_with_errno unless deprecated dm_log_init was used. Rename plog macro to LOG_LINE and use in dm_dump_memory_debug.
* more tweaking to get things to compile - dmlib.h for log fns, list.hAlasdair Kergon2008-11-031-0/+26
|
* Add dm-logging.h ready for libdevmapper.Alasdair Kergon2008-10-301-0/+27
|
* Add libdm subdir to begin merging the device-mapper tree.Alasdair Kergon2008-10-302-0/+326