DragonFly BSD
DragonFly commits List (threaded) for 2010-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: dm - adjust use of minor numbers to new reality


From: Alex Hornung <alexh@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 16 Nov 2010 06:42:18 -0800 (PST)

commit db5960361ed268edf9f80dfac2622c68e5254c0c
Author: Alex Hornung <ahornung@gmail.com>
Date:   Thu Nov 4 20:31:54 2010 +0000

    dm - adjust use of minor numbers to new reality
    
    * Allocate (theoretical) minor numbers using the devfs_clone_bitmap
      facility instead of an ever-increasing int64.
    
    * Set the actual minor of the dm-specific device information to the
      minor returned by the disk subsystem.
    
    * Undo some of the dkunit() uses as they only covered very specific use
      cases.

Summary of changes:
 sys/dev/disk/dm/device-mapper.c |   10 +++++++++-
 sys/dev/disk/dm/dm_ioctl.c      |   12 +++++++-----
 2 files changed, 16 insertions(+), 6 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/db5960361ed268edf9f80dfac2622c68e5254c0c


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]