]> sourceware.org Git - lvm2.git/commit
dmsetup: Support remove --deferred.
authorAlasdair G Kergon <agk@redhat.com>
Fri, 15 Aug 2014 23:34:48 +0000 (00:34 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Fri, 15 Aug 2014 23:34:48 +0000 (00:34 +0100)
commit42e07d2bceaad21f197de5dde9ead69742425159
treeb73d0969c48c9ef830047655a0c53f13ae2de43d
parentec41bd1920be119538cd9c98a8fc3d38e184803f
dmsetup: Support remove --deferred.

This patch adds a new flag --deferred to dmsetup remove. If this flag is
specified and the device is open, it is scheduled to be deleted on
close.

struct dm_info is extended.

The existing dm_task_get_info() is converted into a wrapper around the
new version dm_task_get_info_with_deferred_remove() so existing binaries
can still use the old smaller structure.

Recompiled code will pick up the new larger structure.

From: Mikulas Patocka <mpatocka@redhat.com>
WHATS_NEW_DM
libdm/.exported_symbols
libdm/ioctl/libdm-iface.c
libdm/ioctl/libdm-targets.h
libdm/libdevmapper.h
man/dmsetup.8.in
tools/dmsetup.c
This page took 0.035548 seconds and 5 git commands to generate.