dragonfly.git
15 years agoI should drink more coffee before starting committing. Revert the last change
Matthias Schmidt [Tue, 16 Sep 2008 11:37:41 +0000 (11:37 +0000)]
I should drink more coffee before starting committing.  Revert the last change
as 2.0 contains the ISC dhcp client.  Thanks to hasso@ for bringing this to
my attention.

15 years agoRemove the -1 option from the installer.
Matthias Schmidt [Tue, 16 Sep 2008 11:21:31 +0000 (11:21 +0000)]
Remove the -1 option from the installer.

This option is specific to the old, now removed, ISC dhcp client.  The new
OpenBSD dhcp client does not support this option.  If a user wants to set an
IP address with the installer prior to this commit, it fails and the user sees
an error message.

The meaning of the -1 option was: "Try to get a lease only once.  If it fails,
quit."  Due to this commit, this behaviour changes.  I think its better to have
an installer which tries to get a lease more than once that having an installer
which does not try to get a lease at all.

15 years agoMFC r1.9:
Sascha Wildner [Tue, 16 Sep 2008 09:26:20 +0000 (09:26 +0000)]
MFC r1.9:

If a NULL pointer was passed, panic like everywhere else.

Found-by: LLVM/Clang Static Analyzer
15 years agoMFC - Don't fail if the file flags of source and copied symlinks don't match.
YONETANI Tomokazu [Tue, 16 Sep 2008 08:24:19 +0000 (08:24 +0000)]
MFC - Don't fail if the file flags of source and copied symlinks don't match.

15 years agoSync with HEAD.
Sascha Wildner [Mon, 15 Sep 2008 17:26:50 +0000 (17:26 +0000)]
Sync with HEAD.

15 years agoMFC 1.55 - fix an invalidation case which primarily occurs on NFS servers.
Matthew Dillon [Mon, 15 Sep 2008 17:10:03 +0000 (17:10 +0000)]
MFC 1.55 - fix an invalidation case which primarily occurs on NFS servers.

15 years agoMFC r1.3:
Sascha Wildner [Sun, 14 Sep 2008 21:09:17 +0000 (21:09 +0000)]
MFC r1.3:

Fix bug in normalization.

Found-by: LLVM/Clang Static Analyzer
15 years agoMFC r1.28:
Sascha Wildner [Sat, 13 Sep 2008 23:46:36 +0000 (23:46 +0000)]
MFC r1.28:

Add line width calculations for 15/16 and 24/32 bit modes in case
the "Get Scan Line Length" function fails, as it does in Parallels
(in Version 2.2, Build 2112 at least).

15 years agoHAMMER Utilities: MFC work to date.
Matthew Dillon [Tue, 9 Sep 2008 23:41:13 +0000 (23:41 +0000)]
HAMMER Utilities: MFC work to date.

* Better usage tests and usage() summary.

* Fix bug when using a remote source specification with the mirror command

* Improved PFS commands.

15 years agoMFC if_aue.c rev1.39:
Sepherosa Ziehau [Mon, 1 Sep 2008 13:09:02 +0000 (13:09 +0000)]
MFC if_aue.c rev1.39:
  In aue(4) txeof, differ ifnet.if_start to ifnet's CPU to:
  1) Keep if_start serialized
  2) Avoid deadlock between USB sync operations and holding serializer in
     USB task thread (e.g. in txeof callback)

  Dragonfly-bug: <http://bugs.dragonflybsd.org/issue1123>
Tested-by: Tim <t-df@timdarby.net>
15 years agoAdd missing -s to usage string.
Matthias Schmidt [Wed, 27 Aug 2008 13:15:21 +0000 (13:15 +0000)]
Add missing -s to usage string.

15 years agoMFC:
Sascha Wildner [Sat, 23 Aug 2008 23:30:10 +0000 (23:30 +0000)]
MFC:

Fix null dereference.

Found-by: LLVM/Clang Static Analyzer
15 years agoMFC:
Sascha Wildner [Thu, 21 Aug 2008 12:20:39 +0000 (12:20 +0000)]
MFC:

Remove wrong semicolon.

Found-by: LLVM/Clang Static Analyzer
15 years agoMFC:
Sascha Wildner [Thu, 14 Aug 2008 07:44:43 +0000 (07:44 +0000)]
MFC:

Use "ipl" as module name and not the full version string. This makes
/etc/rc.d/ipfilter behave correctly when checking if ipfilter is loaded
or compiled into the kernel.

Reported-by: Frank Josellis <frank@dynamical-systems.org>
15 years agoMFC HAMMER 2.0:02 - rmdir, stability
Matthew Dillon [Sun, 10 Aug 2008 17:01:09 +0000 (17:01 +0000)]
MFC HAMMER 2.0:02 - rmdir, stability

15 years agoMFC rev 1.2:
Hasso Tepper [Sat, 9 Aug 2008 09:15:05 +0000 (09:15 +0000)]
MFC rev 1.2:
  Detach correctly so there is no need to panic during reattach.

15 years agoMFC: Fix 'Used' column in -h/-H output by using int64_t.
Sascha Wildner [Thu, 7 Aug 2008 10:01:38 +0000 (10:01 +0000)]
MFC: Fix 'Used' column in -h/-H output by using int64_t.

15 years agoHAMMER 2.0:01 - MFC HAMMER 2.1:01
Matthew Dillon [Wed, 6 Aug 2008 15:41:56 +0000 (15:41 +0000)]
HAMMER 2.0:01 - MFC HAMMER 2.1:01

MFC buffer cache leak, invalidation races, b-tree deletion, nlinks,
and rmdir fixes.

15 years agoMFC: Use humanize_number(3) for -h and -H.
Sascha Wildner [Wed, 6 Aug 2008 07:54:07 +0000 (07:54 +0000)]
MFC: Use humanize_number(3) for -h and -H.

15 years agoMFC: if_dc.c rev1.57
Sepherosa Ziehau [Tue, 5 Aug 2008 11:30:33 +0000 (11:30 +0000)]
MFC: if_dc.c rev1.57
  - In dc_intr(), check IFF_RUNNING instead of IFF_UP; this closes a possible
    time window between IFF_UP is set but not IFF_RUNNING.
  - In dc_ioctl(), don't program multicast filter, if NIC is not running yet.
    Add assertion in Xircom's multicast filter programming function to make
    sure that NIC is running.
  - Don't set IFF_RUNNING in Xircom's multicast filter programming function.
  - Move setting IFF_RUNNING before programming multicast filter; just to keep
    the IFF_RUNNING assertion work.  Add comment about it

  Dragonfly-bug: <http://bugs.dragonflybsd.org/issue1106>
Tested-by: Tim <t-df@timdarby.net>
15 years agoMFC:
Thomas Nikolajsen [Mon, 4 Aug 2008 21:05:59 +0000 (21:05 +0000)]
MFC:
Update rc.conf.5:
 * Drop superfluous 'This variable contains'
 * Drop note that dhclient is ISC
 * Break network_interfaces item into ifconfig_interface etc. parts
 * Add Xref for rtadvd.8
 * Add /etc/startif.interface to FILES section
 * Improve markup

15 years agoMFC:
Thomas Nikolajsen [Mon, 4 Aug 2008 21:02:18 +0000 (21:02 +0000)]
MFC:
vnconfig doc update:
 * Sync usage() to vnconfig.8
 * Use 'options' instead of 'option[,option...]'
 * Use 'options' consistently, not 'flags' sometimes

15 years agoMFC:
Thomas Nikolajsen [Mon, 4 Aug 2008 20:59:54 +0000 (20:59 +0000)]
MFC:
Add Xref to committer.7.

15 years agoMFC:
Thomas Nikolajsen [Mon, 4 Aug 2008 20:57:49 +0000 (20:57 +0000)]
MFC:
Update ffs.5:
 * Add 's0' as DragonFly needs this

15 years agoMFC:
Thomas Nikolajsen [Mon, 4 Aug 2008 20:56:17 +0000 (20:56 +0000)]
MFC:
Update mount_cd9660.8:
 * Fix SYNOPSIS

15 years agoMFC:
Thomas Nikolajsen [Mon, 4 Aug 2008 20:54:18 +0000 (20:54 +0000)]
MFC:
Update fdisk.8:
 * Add note on 2TB limitation and hint on gpt.8

15 years agoMFC:
Thomas Nikolajsen [Mon, 4 Aug 2008 20:48:01 +0000 (20:48 +0000)]
MFC:
Update fstab.5:
 * Add HAMMER to list of common file systems
 * Remove note that block special files has to be used
 * Xref HAMMER.5 and ffs.5
 * Add a bit of markup
 * s/filesystem/file system/ to get consistent spelling

15 years agoMFC: 1.5:
Thomas Nikolajsen [Mon, 4 Aug 2008 20:41:13 +0000 (20:41 +0000)]
MFC: 1.5:
Update gpt.8:
 * Add note that GPT partitions are accessed as DragonFly disk slices
 * Describe that add command will print disk slice.
 * Correct default partition type: it is dfly, not UFS
 * Mention that dfly partition type is for disklabel64.5
 * Add FILES section
 * Add EXAMPLES section
 * Add some Xrefs
 * Mention that migrate command isn'r for DragonFly
 * Add note that booting from GPT isn't supported

15 years agoMFC: following 4 commits:
Thomas Nikolajsen [Mon, 4 Aug 2008 20:35:47 +0000 (20:35 +0000)]
MFC: following 4 commits:
Fix small mdoc issue.

Update disklabel64.8:
 * Update one line description to include '64 bit'
 * Update description of DragonFly disk slice numbering to include GPT
 * Remove specifications without relevance, left over from disklabel.8
 * Add Xrefs to uuid.3 and gpt.8
 * Add note that booting isn't supported
 * Enhance markup a bit

Reference hammer(5).

Remove trailing whitespace.

15 years agoMFC: following 4 commits:
Thomas Nikolajsen [Mon, 4 Aug 2008 20:31:36 +0000 (20:31 +0000)]
MFC: following 4 commits:
Fix two small mdoc issues.

Update disklabel.8:
 * Update description of DragonFly disk slice numbering to include GPT
 * Add note on 2TB limitation and hint on disklabel64
 * Enhance markup a bit

Reference hammer(5).

Remove trailing whitespace.

15 years agoMFC: following 2 commits:
Thomas Nikolajsen [Mon, 4 Aug 2008 20:14:42 +0000 (20:14 +0000)]
MFC: following 2 commits:
Update mount_hammer.8
 * Update SYNOPSIS to reflect that ':' can be used as separator for specials
 * Rename `mount-options' to `options' to follow mount.8 and
save some space in SYNOPSIS
 * Add Xrefs for HAMMER.5 and gpt.8
 * Use consistent spelling for 'file system'
 * Add fstab(5) part to existing example
 * Add markup

Fix typo.

15 years agoMFC: following 2 commits:
Thomas Nikolajsen [Mon, 4 Aug 2008 20:07:46 +0000 (20:07 +0000)]
MFC: following 2 commits:
Update newfs_hammer.8:
 * Add Xrefs for HAMMER.5 and gpt.8
 * Change Xrefs from disklabel[64].8 to .5
 * Add some markup

Add description of how to specify sizes.

15 years agoMFC bandwith, delay, mirroring, and pfs work from HEAD.
Matthew Dillon [Mon, 4 Aug 2008 19:41:25 +0000 (19:41 +0000)]
MFC bandwith, delay, mirroring, and pfs work from HEAD.

15 years agoMFC: Fix a panic on boot that can occur if you hit keys on the keyboard
Matthew Dillon [Sun, 3 Aug 2008 03:00:58 +0000 (03:00 +0000)]
MFC: Fix a panic on boot that can occur if you hit keys on the keyboard
     before the console device's high level initialization is run.

15 years agoMFC:
Sascha Wildner [Sun, 3 Aug 2008 01:02:20 +0000 (01:02 +0000)]
MFC:

Actually install the blacklists of compromised SSH keys into /etc when doing
'make upgrade'.

15 years agoHAMMER: MFC to 2.0
Matthew Dillon [Sat, 2 Aug 2008 21:24:28 +0000 (21:24 +0000)]
HAMMER: MFC to 2.0

* Bug fix: fsync indefinite blocking

* Bug fix: missed invalidation which can cause an assertion

* Bug fix: kmalloc exhaustion panic on machines with > 2G of ram

* Feature: Streaming mirroring

15 years agoMFC 1.117 - fix desiredvnodes calculation for machines with >2G ram.
Matthew Dillon [Sat, 2 Aug 2008 14:34:29 +0000 (14:34 +0000)]
MFC 1.117 - fix desiredvnodes calculation for machines with >2G ram.

Requested-by: Francois Tigeot <ftigeot@wolfpond.org>
15 years agoSync with HEAD.
Sascha Wildner [Thu, 31 Jul 2008 20:09:43 +0000 (20:09 +0000)]
Sync with HEAD.

15 years agoMFC:
Michael Neumann [Wed, 30 Jul 2008 07:53:01 +0000 (07:53 +0000)]
MFC:
Implement mounting of a Hammer filesystem as a root filesystem.

  To mount a Hammer filesystem as root filesystem (e.g. /dev/ad0s1d),
  you have to specify the following in /boot/loader.conf:

      vfs.root.mountfrom="hammer:ad0s1d"

15 years agoMFC:
Sascha Wildner [Tue, 29 Jul 2008 13:10:57 +0000 (13:10 +0000)]
MFC:

Update for 2.0.

Reported-by: Michael Neumann <mneumann@ntecs.de>
15 years agoMFC:
Sascha Wildner [Sun, 27 Jul 2008 22:12:03 +0000 (22:12 +0000)]
MFC:

Actually install packages into ${ISOROOT}.

Submitted-by: corecode
Reported-by: M.K. <mk@freeweb.ozi.nu>
Dragonfly-bug: <http://bugs.dragonflybsd.org/issue1092>

15 years agoMFC: Fix comments.
Sascha Wildner [Sun, 27 Jul 2008 21:14:41 +0000 (21:14 +0000)]
MFC: Fix comments.

15 years agoMFC: An off-by-one malloc size was corrupting the installer's memory,
Matthew Dillon [Sat, 26 Jul 2008 21:24:50 +0000 (21:24 +0000)]
MFC: An off-by-one malloc size was corrupting the installer's memory,
causing the time-zone selector to seg-fault.

Submitted-by: Pierre Riteau <pierre.riteau@gmail.com>
15 years agoMFC rev 1.89:
Sepherosa Ziehau [Sat, 26 Jul 2008 15:42:06 +0000 (15:42 +0000)]
MFC rev 1.89:
  Bring following change from FreeBSD (yar@freebsd.org):
    uipc_syscall.c rev 1.154

    If connect(2) has been interrupted by a signal and therefore the
    connection is to be established asynchronously, behave as in the

    - keep the SS_ISCONNECTING bit set thus indicating that
      the connection establishment is in progress, which is the case
      (clearing the bit in this case was just a bug);

    - return EALREADY, instead of the confusing and unreasonable
      EADDRINUSE, upon further connect(2) attempts on this socket
      until the connection is established (this also brings our
      connect(2) into accord with IEEE Std 1003.1.)

Tested-by: y0netan1@
Reviewed-by: hsu@
  Dragonfly-bug: <http://bugs.dragonflybsd.org/issue1079>

15 years agoHAMMER commit - MFC ref count related panics when a HAMMER mount fails, etc.
Matthew Dillon [Sat, 26 Jul 2008 05:37:20 +0000 (05:37 +0000)]
HAMMER commit - MFC ref count related panics when a HAMMER mount fails, etc.

15 years agoMFC if_ethersubr.c rev1.77:
Sepherosa Ziehau [Sat, 26 Jul 2008 04:58:41 +0000 (04:58 +0000)]
MFC if_ethersubr.c rev1.77:
  Simplify ether_mport().  This also fixes the bug that m0 is not cleared in
  the first place, which causes caller panik.

Reported-by: elekktretterr@exemail.com.au
15 years agoMFC: Fix typos.
Sascha Wildner [Fri, 25 Jul 2008 03:18:44 +0000 (03:18 +0000)]
MFC: Fix typos.

15 years agoMFC: Document -f.
Sascha Wildner [Fri, 25 Jul 2008 03:18:36 +0000 (03:18 +0000)]
MFC: Document -f.

15 years agoSync with HEAD.
Sascha Wildner [Fri, 25 Jul 2008 03:16:12 +0000 (03:16 +0000)]
Sync with HEAD.

15 years agoMFC adjustments to newfs_hammer for minimum UNDO FIFO space.
Matthew Dillon [Thu, 24 Jul 2008 05:41:56 +0000 (05:41 +0000)]
MFC adjustments to newfs_hammer for minimum UNDO FIFO space.

15 years agoMFC:
Sascha Wildner [Tue, 22 Jul 2008 15:43:06 +0000 (15:43 +0000)]
MFC:

Fix path for the package tools.

Reported-by: Archimedes Gaviola <archimedes.gaviola@gmail.com>
15 years agoMFC change 'default' to 'English'
Matthew Dillon [Sat, 19 Jul 2008 22:15:16 +0000 (22:15 +0000)]
MFC change 'default' to 'English'

15 years agoPre-2.0 release: Sync with HAMMER 65 - simplify PFS operations.
Matthew Dillon [Sat, 19 Jul 2008 20:26:17 +0000 (20:26 +0000)]
Pre-2.0 release: Sync with HAMMER 65 - simplify PFS operations.

15 years agoPre-2.0 release: Sync with HAMMER 64 - simplify PFS operations.
Matthew Dillon [Sat, 19 Jul 2008 18:49:09 +0000 (18:49 +0000)]
Pre-2.0 release: Sync with HAMMER 64 - simplify PFS operations.

15 years agoPre-2.0 release: Sync with HAMMER 64 - simplify PFS operations, fix pfs-upgrade
Matthew Dillon [Sat, 19 Jul 2008 18:46:20 +0000 (18:46 +0000)]
Pre-2.0 release: Sync with HAMMER 64 - simplify PFS operations, fix pfs-upgrade

15 years agoAdjust path for the upcoming 2.0 release
Matthias Schmidt [Sat, 19 Jul 2008 12:26:26 +0000 (12:26 +0000)]
Adjust path for the upcoming 2.0 release

15 years agoMFC corrected printing of the slice number when adding a GPT partition.
Matthew Dillon [Sat, 19 Jul 2008 07:54:37 +0000 (07:54 +0000)]
MFC corrected printing of the slice number when adding a GPT partition.

Reported-by: Thomas Nikolajsen <thomas.nikolajsen@mail.dk>
15 years agoPre-2.0 release: Sync with HAMMER 64 - NFS and cross-device link fixes.
Matthew Dillon [Sat, 19 Jul 2008 04:51:09 +0000 (04:51 +0000)]
Pre-2.0 release: Sync with HAMMER 64 - NFS and cross-device link fixes.

15 years agoMFC 1.25: O_CREAT was being allowed to leak through a read-only NFS export.
Matthew Dillon [Sat, 19 Jul 2008 04:44:15 +0000 (04:44 +0000)]
MFC 1.25: O_CREAT was being allowed to leak through a read-only NFS export.

15 years agoRemove outdated hammer.txt.
Sascha Wildner [Fri, 18 Jul 2008 23:30:10 +0000 (23:30 +0000)]
Remove outdated hammer.txt.

15 years agoSync with HEAD.
Sascha Wildner [Fri, 18 Jul 2008 23:28:02 +0000 (23:28 +0000)]
Sync with HEAD.

15 years agoMFC: Fix message.
Sascha Wildner [Fri, 18 Jul 2008 23:25:05 +0000 (23:25 +0000)]
MFC: Fix message.

15 years agoPre-2.0 release, MFC some driver fixes related to interrupt management.
Matthew Dillon [Fri, 18 Jul 2008 03:52:01 +0000 (03:52 +0000)]
Pre-2.0 release, MFC some driver fixes related to interrupt management.

15 years agoPre-2.0 release, MFC firewire disk changes to properly detach SIMs.
Matthew Dillon [Fri, 18 Jul 2008 03:50:00 +0000 (03:50 +0000)]
Pre-2.0 release, MFC firewire disk changes to properly detach SIMs.

15 years agoMFC: Set count to a negative value for an initial burst.
Sascha Wildner [Fri, 18 Jul 2008 00:30:02 +0000 (00:30 +0000)]
MFC: Set count to a negative value for an initial burst.

15 years agoPre-2.0 release, MFC 63 - HAMMER I/O error handling and catastrophic
Matthew Dillon [Fri, 18 Jul 2008 00:21:09 +0000 (00:21 +0000)]
Pre-2.0 release, MFC 63 - HAMMER I/O error handling and catastrophic
umount support.

15 years agoMFC 1.45 for the 2.0 release: Properly set B_INVAL after failed read.
Matthew Dillon [Fri, 18 Jul 2008 00:13:23 +0000 (00:13 +0000)]
MFC 1.45 for the 2.0 release: Properly set B_INVAL after failed read.

15 years agoMFC CAM fixes for the 2.0 release.
Matthew Dillon [Fri, 18 Jul 2008 00:08:23 +0000 (00:08 +0000)]
MFC CAM fixes for the 2.0 release.

15 years agoMFC:
Thomas Nikolajsen [Fri, 18 Jul 2008 00:07:54 +0000 (00:07 +0000)]
MFC:
Capitalize TAP and add some markup.

15 years agoMFC:
Thomas Nikolajsen [Fri, 18 Jul 2008 00:05:26 +0000 (00:05 +0000)]
MFC:
Add VKERNEL to FILES and make some paths a bit shorter.

15 years agoMFC:
Thomas Nikolajsen [Fri, 18 Jul 2008 00:02:59 +0000 (00:02 +0000)]
MFC:
Add VKERNEL.

15 years agoMFC 1.113 - buffer cache adjustments for handling write errors.
Matthew Dillon [Fri, 18 Jul 2008 00:02:10 +0000 (00:02 +0000)]
MFC 1.113 - buffer cache adjustments for handling write errors.

15 years agoMFC:
Thomas Nikolajsen [Fri, 18 Jul 2008 00:00:19 +0000 (00:00 +0000)]
MFC:
Update newfs_hammer doc:
   - sync usage() & newfs_hammer.8
   - add a cross reference

15 years agoMFC: following 2 commits:
Thomas Nikolajsen [Thu, 17 Jul 2008 23:58:08 +0000 (23:58 +0000)]
MFC: following 2 commits:
Update mount_hammer doc:
   - sync usage() & mount_hammer.8
   - add missing \n to usage()
   - rename transactionid to transaction-id to ease reading
   - describe that special files can be `:' separated
   - add some more cross references

Add a pointer to hammer(5) and fix some minor issues.

15 years agoMFC 1.21: Give krateprintf() a burst capability.
Matthew Dillon [Thu, 17 Jul 2008 23:56:43 +0000 (23:56 +0000)]
MFC 1.21: Give krateprintf() a burst capability.

15 years agoMFC:
Thomas Nikolajsen [Thu, 17 Jul 2008 23:54:06 +0000 (23:54 +0000)]
MFC:
Update mount_hammer doc:
   - sync usage() & mount_hammer.8
   - add missing \n to usage()
   - rename transactionid to transaction-id to ease reading
   - describe that special files can be `:' separated
   - add some more cross references

15 years agoMFC: following 4 commits:
Thomas Nikolajsen [Thu, 17 Jul 2008 23:50:02 +0000 (23:50 +0000)]
MFC: following 4 commits:
undo(1) doc fixes:
   - sync usage() to undo.1
   - improve wording a bit in a few places

Update `-t' flag; now it is always transaction-id.

Add logic to warn of possible renames, and clearly state when failures may
  be due to prior renames.

  Change -h to -a (-a for 'all'), which is a more obvious option name.

Add missing space and newline to error message.

15 years agoMFC: HAMMER can now be demand-loaded.
Thomas Nikolajsen [Thu, 17 Jul 2008 23:36:58 +0000 (23:36 +0000)]
MFC: HAMMER can now be demand-loaded.

15 years agoSync with HEAD.
Sascha Wildner [Thu, 17 Jul 2008 10:18:37 +0000 (10:18 +0000)]
Sync with HEAD.

15 years agoMFC: Enable building of hammer.ko.
Sascha Wildner [Thu, 17 Jul 2008 10:18:06 +0000 (10:18 +0000)]
MFC: Enable building of hammer.ko.

15 years agoChange the man page ident string from 1.13 to 2.0 for the release
Matthias Schmidt [Thu, 17 Jul 2008 09:25:51 +0000 (09:25 +0000)]
Change the man page ident string from 1.13 to 2.0 for the release

15 years agoMerge 1.17: Add hammer(5).
Sascha Wildner [Wed, 16 Jul 2008 21:11:27 +0000 (21:11 +0000)]
Merge 1.17: Add hammer(5).

15 years agoAdd files from parent branch HEAD:
branch-fixup [Wed, 16 Jul 2008 20:39:28 +0000 (20:39 +0000)]
Add files from parent branch HEAD:
share/man/man5/hammer.5

15 years agoPre-2.0 release, synchronize with HAMMER 62
Matthew Dillon [Wed, 16 Jul 2008 18:39:32 +0000 (18:39 +0000)]
Pre-2.0 release, synchronize with HAMMER 62

15 years agoMFC 1.79 - fix lock leak in nfs_create().
Matthew Dillon [Wed, 16 Jul 2008 18:22:25 +0000 (18:22 +0000)]
MFC 1.79 - fix lock leak in nfs_create().

15 years agoPre-2.0 release, synchronize with HAMMER 61H
Matthew Dillon [Tue, 15 Jul 2008 22:14:40 +0000 (22:14 +0000)]
Pre-2.0 release, synchronize with HAMMER 61H

15 years agoPre-2.0 release, synchronize with HAMMER 61G
Matthew Dillon [Tue, 15 Jul 2008 18:04:54 +0000 (18:04 +0000)]
Pre-2.0 release, synchronize with HAMMER 61G

15 years agoMFC: Exclude acd* and fd* from the list of disks.
Sascha Wildner [Tue, 15 Jul 2008 02:32:09 +0000 (02:32 +0000)]
MFC: Exclude acd* and fd* from the list of disks.

15 years agoMFC: Fix an issue w/libthread_xu's priority ranges.
Matthew Dillon [Tue, 15 Jul 2008 01:24:54 +0000 (01:24 +0000)]
MFC: Fix an issue w/libthread_xu's priority ranges.

15 years agoAdd files from parent branch HEAD:
branch-fixup [Mon, 14 Jul 2008 23:57:10 +0000 (23:57 +0000)]
Add files from parent branch HEAD:
usr.sbin/installer/libinstaller/survey.c.patch

15 years agoMFC 1.14: Fix bug where mount_nfs w/ IP address could still fail if
Matthew Dillon [Mon, 14 Jul 2008 22:23:45 +0000 (22:23 +0000)]
MFC 1.14: Fix bug where mount_nfs w/ IP address could still fail if
name resolution is down.

15 years agoMFC 1.36: Fix a bug in the mount scan.
Matthew Dillon [Mon, 14 Jul 2008 22:19:42 +0000 (22:19 +0000)]
MFC 1.36: Fix a bug in the mount scan.

15 years agoMFC NFS performance fixes.
Matthew Dillon [Mon, 14 Jul 2008 17:46:41 +0000 (17:46 +0000)]
MFC NFS performance fixes.

15 years ago2.0 Release Engineering:
Matthew Dillon [Mon, 14 Jul 2008 04:20:39 +0000 (04:20 +0000)]
2.0 Release Engineering:

* Post-branch adjustments for 2.0-release

15 years ago2.0 Release Engineering:
Matthew Dillon [Mon, 14 Jul 2008 03:50:00 +0000 (03:50 +0000)]
2.0 Release Engineering:

* cvsup file, slip tag target

15 years ago2.0 Release Engineering:
Matthew Dillon [Mon, 14 Jul 2008 03:46:52 +0000 (03:46 +0000)]
2.0 Release Engineering:

* Bump DragonFly_version
* Bump HEAD sub-vers

15 years agoHAMMER Utilities: Features
Matthew Dillon [Mon, 14 Jul 2008 03:21:34 +0000 (03:21 +0000)]
HAMMER Utilities: Features

* hammer show: report the CRC in verbose mode.

15 years agoHAMMER 61F/Many: Stabilization w/ simultanious pruning and reblocking
Matthew Dillon [Mon, 14 Jul 2008 03:20:49 +0000 (03:20 +0000)]
HAMMER 61F/Many: Stabilization w/ simultanious pruning and reblocking

* BUG FIX: When doing direct-read check to see if any device buffers
  are aliasing the disk block and flush any we find which are dirty.
  This ensures that reblocked data gets to disk before a direct-read
  tries to read them FROM the disk.

* BUG FIX: Fix a bug introduced in a recent commit where the flusher
  wlll not always completely flush the UNDO FIFO or completely flush
  all meta-data, resulting in a rollback after a normal umount/mount.

* BUG FIX: Direct-writes queue I/O independant of the in-memory record.
  When the backend flusher flushes the record, making it available in the
  B-Tree, make sure that the indepent I/O has completed.  Otherwise
  a later reblocking operation might read the media before the direct-write
  has actually completed.

* BUG FIX: In-memory records are not subject direct-IO, since their data
  is not yet on the media.

* BUG FIX: Do not allow mount to succeed unless all volumes have been found.
  (Reported-by: Sascha Wildner <saw@online.de>)

* BUG FIX: The bd_heatup() call in the reblocker was in the wrong place,
  potentially causing the cursor to shift unexpectedly.

* Reorient some of the buffer invalidation code by enhancing
  the reservation code.

* Add read CRC verification logic for some direct-reads, but comment it out
  because the VM system's bogus-page replacement breaks it.

15 years agoKernel support for HAMMER:
Matthew Dillon [Mon, 14 Jul 2008 03:09:00 +0000 (03:09 +0000)]
Kernel support for HAMMER:

* Add another type to the bio->bio_caller_info1 union

* Add two new flags to getblk(), used by the cluster code.

  GETBLK_SZMATCH - Tell getblk() to fail and return NULL if a
  pre-existing buffer's size does not match
  the requested size (this prevents getblk()
  from doing a potentially undesired bwrite()
  sequence).

  GETBLK_NOWAIT - Tell getblk() to use a non-blocking lock.

* pop_bio() now returns the previous BIO (or NULL if there is no previous
  BIO).  This allows HAMMER to chain bio_done()'s

* Fix a bug in cluster_read().  The cluster code's read-ahead at the
  end could go past the caller-specified limit and force a block to
  the wrong block size.

15 years agoFix an asf core dump.
Matthew Dillon [Mon, 14 Jul 2008 00:09:42 +0000 (00:09 +0000)]
Fix an asf core dump.

Submitted-by: ejc <eric.j.christeson@gmail.com>