git: lvm/dm - clean up debug, fix open bug
Alex Hornung
alexh at crater.dragonflybsd.org
Sun Jul 11 14:08:51 PDT 2010
commit aadb5a117ecf09753146a45712cdbfbfd37c1a97
Author: Alex Hornung <ahornung at gmail.com>
Date: Fri Jul 9 09:14:31 2010 +0100
lvm/dm - clean up debug, fix open bug
* Clean up debug code and change it to log_verbose, mostly. Also remove
some of the older, now irrelevant, comments.
* For dm, add a sysctl and tunable to enable debugging (debug.dm_debug)
* in the dragonfly filter, open the device early enough, and definitely
before closing it ;)
Summary of changes:
contrib/lvm2/dist/lib/device/dev-cache.c | 22 +++++++++++++++++--
contrib/lvm2/dist/lib/filters/filter_dragonfly.c | 18 ++++++++--------
.../lvm2/dist/libdm/ioctl/libdm-dragonfly-iface.c | 17 +++++----------
sys/dev/disk/dm/device-mapper.c | 11 ++++++++-
sys/dev/disk/dm/dm.h | 6 +++-
sys/dev/disk/dm/dm_ioctl.c | 2 +-
sys/dev/disk/dm/dm_target_crypt.c | 19 +++++++----------
7 files changed, 56 insertions(+), 39 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/aadb5a117ecf09753146a45712cdbfbfd37c1a97
--
DragonFly BSD source repository
More information about the Commits
mailing list