lvm/dm - clean up debug, fix open bug
authorAlex Hornung <ahornung@gmail.com>
Fri, 9 Jul 2010 08:14:31 +0000 (09:14 +0100)
committerAlex Hornung <ahornung@gmail.com>
Sun, 11 Jul 2010 21:05:54 +0000 (22:05 +0100)
commitaadb5a117ecf09753146a45712cdbfbfd37c1a97
treedbcb98abc89f97de9f23e41e9d155bc8f5ac18ac
parente8e2bcda46ec95d0e73f3e5762550a4ca920e253
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 ;)
contrib/lvm2/dist/lib/device/dev-cache.c
contrib/lvm2/dist/lib/filters/filter_dragonfly.c
contrib/lvm2/dist/libdm/ioctl/libdm-dragonfly-iface.c
sys/dev/disk/dm/device-mapper.c
sys/dev/disk/dm/dm.h
sys/dev/disk/dm/dm_ioctl.c
sys/dev/disk/dm/dm_target_crypt.c