看板 DFBSD_commit 關於我們 聯絡資訊
commit aadb5a117ecf09753146a45712cdbfbfd37c1a97 Author: Alex Hornung <ahornung@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