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

git: vn - Major overhaul

From: Alex Hornung <alexh@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 19 Nov 2010 07:27:56 -0800 (PST)

commit 1398353708029eb9dda9861e12c2efb4e66e8122
Author: Alex Hornung <ahornung@gmail.com>
Date:   Fri Nov 19 09:18:18 2010 +0000

    vn - Major overhaul
    * Now that we can do proper disk cloning we do so. vn_create will now
      return the top device of the disk (the one that belongs to the disk
      subsystem and not us) if asked to do so. This is then passed back from
      the clone handler so that we have a real cloned disk.
    * Remove all sorts of old hacks, mostly related to finding vn's and
      strange cdev lists that were not being used anymore anyways.
    * Avoid the destruction/detachment of devices that are in use by keeping
      track of whether they are open or not and checking the opencount
      provided by the disk susbsystem.
    * Fix a memory leak related to adding references to devs but never
      releasing them.
    Dragonfly-bug: http://bugs.dragonflybsd.org/issue1561 (partly)

Summary of changes:
 sys/dev/disk/vn/vn.c |  126 +++++++++++++++++++++++++-------------------------
 1 files changed, 63 insertions(+), 63 deletions(-)


DragonFly BSD source repository

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