git: lvm/dm - clean up debug, fix open bug

看板DFBSD_commit作者時間15年前 (2010/07/12 05:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1CEZXTa2 (DFBSD_commit)