Permalink
Commits on Nov 8, 2010
  1. test commit

    Matthew Dillon committed Nov 8, 2010
  2. acpi.4 - correct cpu_idle_hlt foo

    * According to code commnets in the machdep.c files, cpu_idle_hlt=2 is
      using ACPI sleep states. Setting it to 1 just uses the hlt
      instruction.
    bwalex committed Nov 8, 2010
Commits on Nov 7, 2010
  1. Merge branch 'apic_io'

    Conflicts:
    	sys/platform/pc64/conf/options
    mneumann committed Nov 7, 2010
  2. Remove APIC_IO option

    mneumann committed Nov 7, 2010
  3. Remove APIC_IO option

    mneumann committed Nov 7, 2010
  4. Remove APIC_IO from vkernel

    mneumann committed Nov 7, 2010
  5. x86_64 - Get completely rid of APIC_IO

    For SMP kernels compile time APIC_IO option has been superseeded
    by loader tunable hw.apic_io_enable which defaults to APIC I/O
    enabled.
    mneumann committed Nov 7, 2010
  6. Merge branch 'apic_io'

    mneumann committed Nov 7, 2010
  7. HAMMER - Add hammer dedup directive and support

    * Adjust the utility to exit with an appropriate error if an
      attempt is made to dedup a filesystem which has not been upgraded
      to version 5.
    Matthew Dillon committed Nov 7, 2010
  8. i386 - Get completely rid of APIC_IO

    For SMP kernels compile time APIC_IO option has been superseeded
    by loader tunable hw.apic_io_enable which defaults to APIC I/O
    enabled.
    mneumann committed Oct 6, 2010
  9. HAMMER - Add hammer dedup directive and support

    * Minor adjustments to fix compile errors on 64-bit systems
      (printf %lld -> %jd and use intmax_t casts).
    Matthew Dillon committed Nov 7, 2010
  10. HAMMER - Add hammer dedup filesystem version dump

    * Require a version 5 filesystem for dedup operation.  Upgrading can be done
      in-place.  All this does is make the layer2 bytes_free field a signed
      value instead of unsigned, allowing it to go negative.
    
      This allows dedup to use the field to account for multiple references to
      the same block of data, causing the field to (likely) go negative.
    Matthew Dillon committed Nov 7, 2010
  11. HAMMER - Add hammer dedup directive and support

    * Implements all the logic required to dedup a HAMMER filesystem.
    
    * There is one remaining issue and that is the reblocker's propensity to
      undo de-dup's hard work in certain cases.
    
    * Code bounty for hammer_dedup
    
    Submitted-by: Ilya Dryomov <idryomov@gmail.com>
    Matthew Dillon committed Nov 7, 2010
  12. libutil - Add humanize_unsigned()

    * Add a humanize_unsigned() function as a companion to humanize_number()
      which does a much better job on large unsigned 64-bit quantities.
    
    Submitted-by: Ilya Dryomov <idryomov@gmail.com>
    Matthew Dillon committed Nov 7, 2010
  13. nrelease - Add target to help w/ debugging

    * Add a nopkgs target which disables the package step, for debugging
      purposes only.
    Matthew Dillon committed Nov 7, 2010
  14. talkd(8): Reduce diffs with FreeBSD and raise WARNS to 6.

    Sascha Wildner committed Nov 7, 2010
  15. dialog(3): Remove __linux__ conditionals.

    They are no longer needed, now that the select function that gets passed
    to scandir(3) takes a const parameter.
    
    While I'm here, remove local warning options from the Makefile and raise
    WARNS to 2.
    Sascha Wildner committed Nov 7, 2010
Commits on Nov 6, 2010
  1. kernel - Fix spinlock held on switch

    * flushbufqueues() was holding bufqspin through a buffer cache callback,
      causing a kernel panic if the callback winds up blocking.  This only
      effected UFS not HAMMER).
    
    * Release the spinlock a little earlier so it isn't held around the callback.
    
    * Make a minor semantics change to bio_track_wait() to deal with potential
      compiler optimizations messing up the cmpxchg loop.
    
    Reported-by: "goetz@net-amp.com" <goetz@net-amp.com>
    Matthew Dillon committed Nov 6, 2010
  2. umount - Remove sync() call from utility

    * Do not call sync() unconditionally when issuing the /sbin/umount command.
      Let the kernel take care of any syncing.
    
    * This may allow umount -f to operate better in situations where a mount
      might be stuck (such as a NFS mount), and also removes delays associated
      with scanning large numbers of vnodes on x86_64.
    Matthew Dillon committed Nov 6, 2010
  3. <sys/cdefs.h>: Add some definitions for IEEE 1003.1-2008.

    Our default remains 200112 for now.
    Sascha Wildner committed Nov 6, 2010
  4. installer: Add support for creating encrypted partitions.

    With the exception of /boot for the HAMMER install and / for the UFS
    install, allow the configuration of encryption of partitions via
    checkboxes in the partition creation stage.
    Sascha Wildner committed Nov 6, 2010
Commits on Nov 5, 2010
  1. libexec: Move the definition of WARNS to libexec/Makefile.inc.

    This generally sets WARNS to 6 in libexec/ unless specified otherwise
    in the individual Makefiles. Just like we do it in bin/, games/, sbin/,
    usr.bin/ and usr.sbin/ already.
    
    Also fix some warnings that crept up and clean up some Makefiles.
    Sascha Wildner committed Nov 5, 2010
  2. <sys/param.h>: Bump __DragonFly_version.

    This is just so we have something to patch against in case the
    alphasort(3)/scandir(3) prototype changes require patches in
    pkgsrc.
    Sascha Wildner committed Nov 5, 2010
  3. alphasort(3)/scandir(3): Sync prototypes with POSIX.1-2008.

    These functions have been added to the latest issue (7) of the
    OpenGroup specifications. Since our default still is POSIX.1-2001,
    make them visible if either _POSIX_C_SOURCE >= 200809 is defined
    or if _POSIX_SOURCE is not defined (which was what we had
    previously). The latter condition is left in for backwards
    compatibility and can be removed once we switch to 200809.
    Also fix some consumers of scandir(3) which we have in base.
    
    This fixes the build of devel/libcompizconfig.
    
    I've checked this change with 22 out of 114 packages that use
    scandir(), and aside from some warnings, there were no issues.
    
    Reported-by:   alexh
    Dragonfly-bug: <http://bugs.dragonflybsd.org/issue1896>
    Based-on:      FreeBSD
    Sascha Wildner committed Nov 5, 2010
Commits on Nov 3, 2010
  1. mkinitrd(8): Add two options for overriding the tmpdir and the bootdir.

    This can be useful if you're installing to a mounted partition (e.g., from
    the installer).
    
    While here, clean up a bit and add a license.
    Sascha Wildner committed Nov 3, 2010
  2. encrypted_root.sh: Fix a typo.

    Sascha Wildner committed Nov 3, 2010
  3. network - Add initializer for ifnet.if_groups.

    Prevents a NULL pointer dereference when pfsync is compiled into the
    kernel.
    
    Reported-By: mat on Efnet#dragonflybsd
    Tested-By: mat on Efnet#dragonflybsd
    Joe Talbott committed Nov 3, 2010
  4. Sort SEE ALSO sections in various manual pages.

    Sascha Wildner committed Nov 3, 2010
Commits on Nov 2, 2010
  1. kernel: Remove a number of unnecessary use_*.h inclusions.

    Sascha Wildner committed Nov 2, 2010
  2. linuxulator - sync & fix futex

    * Sync some parts (timeout) with FreeBSD-current (Obtained-from:
      FreeBSD)
    
    * Bring in a commented-out lwkt_yield that should be necessary for
      proper operation.
    bwalex committed Oct 31, 2010
  3. libstand - Fix CD9660 name matching code

    * The code inherited from FBsd did not properly deal with matching
      path elements after a '.'.  For example "kernel.FUBAR_XYZ" would match
      "kernel.FUBAR" on the CD.
    
    * Fixed.
    Matthew Dillon committed Nov 2, 2010