Skip to content

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
...
Commits on Jul 14, 2008
Matthew Dillon 2.0 Release Engineering:
* Post-branch adjustments for 2.0-release
5f31f55
Matthew Dillon MFC NFS performance fixes. 9015eeb
Matthew Dillon MFC 1.36: Fix a bug in the mount scan. 2861037
Matthew Dillon MFC 1.14: Fix bug where mount_nfs w/ IP address could still fail if
name resolution is down.
693f0e8
branch-fixup Add files from parent branch HEAD:
	usr.sbin/installer/libinstaller/survey.c.patch
1cad0dd
Commits on Jul 15, 2008
Matthew Dillon MFC: Fix an issue w/libthread_xu's priority ranges. 9015a8b
Sascha Wildner MFC: Exclude acd* and fd* from the list of disks. fc6d63b
Matthew Dillon Pre-2.0 release, synchronize with HAMMER 61G 7201535
Matthew Dillon Pre-2.0 release, synchronize with HAMMER 61H 2161ea3
Commits on Jul 16, 2008
Matthew Dillon MFC 1.79 - fix lock leak in nfs_create(). 557b044
Matthew Dillon Pre-2.0 release, synchronize with HAMMER 62 78e0daf
branch-fixup Add files from parent branch HEAD:
	share/man/man5/hammer.5
391d373
Sascha Wildner Merge 1.17: Add hammer(5). 14c644b
Commits on Jul 17, 2008
Matthias Schmidt Change the man page ident string from 1.13 to 2.0 for the release 88c53e3
Sascha Wildner MFC: Enable building of hammer.ko. bc2ad9b
Sascha Wildner Sync with HEAD. 6ea95ba
Thomas Nikolajsen MFC: HAMMER can now be demand-loaded. 4fad33c
Thomas Nikolajsen 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.
7d303c6
Thomas Nikolajsen 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
d92309b
Matthew Dillon MFC 1.21: Give krateprintf() a burst capability. 048b220
Thomas Nikolajsen 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.
4d66b7b
Commits on Jul 18, 2008
Thomas Nikolajsen MFC:
Update newfs_hammer doc:
   - sync usage() & newfs_hammer.8
   - add a cross reference
ba06d31
Matthew Dillon MFC 1.113 - buffer cache adjustments for handling write errors. ff18474
Thomas Nikolajsen MFC:
Add VKERNEL.
bc920a1
Thomas Nikolajsen MFC:
Add VKERNEL to FILES and make some paths a bit shorter.
85363d3
Thomas Nikolajsen MFC:
Capitalize TAP and add some markup.
5af3d7e
Matthew Dillon MFC CAM fixes for the 2.0 release. dc4302a
Matthew Dillon MFC 1.45 for the 2.0 release: Properly set B_INVAL after failed read. e73982f
Matthew Dillon Pre-2.0 release, MFC 63 - HAMMER I/O error handling and catastrophic
umount support.
925c688
Sascha Wildner MFC: Set count to a negative value for an initial burst. 252e003
Matthew Dillon Pre-2.0 release, MFC firewire disk changes to properly detach SIMs. e341de6
Matthew Dillon Pre-2.0 release, MFC some driver fixes related to interrupt management. ab2a75f
Sascha Wildner MFC: Fix message. c7eded5
Sascha Wildner Sync with HEAD. dac5e22
Sascha Wildner Remove outdated hammer.txt. 44e9bbf
Commits on Jul 19, 2008
Matthew Dillon MFC 1.25: O_CREAT was being allowed to leak through a read-only NFS e…
…xport.
02ef7f6
Matthew Dillon Pre-2.0 release: Sync with HAMMER 64 - NFS and cross-device link fixes. 8c585a2
Matthew Dillon MFC corrected printing of the slice number when adding a GPT partition.
Reported-by: Thomas Nikolajsen <thomas.nikolajsen@mail.dk>
610ae1d
Matthias Schmidt Adjust path for the upcoming 2.0 release 6ae8ad9
Matthew Dillon Pre-2.0 release: Sync with HAMMER 64 - simplify PFS operations, fix p…
…fs-upgrade
ac14cb8
Matthew Dillon Pre-2.0 release: Sync with HAMMER 64 - simplify PFS operations. 9bed080
Matthew Dillon Pre-2.0 release: Sync with HAMMER 65 - simplify PFS operations. acc511f
Matthew Dillon MFC change 'default' to 'English' e5f7f1e
Commits on Jul 22, 2008
Sascha Wildner MFC:
Fix path for the package tools.

Reported-by: Archimedes Gaviola <archimedes.gaviola@gmail.com>
28fb6c2
Commits on Jul 24, 2008
Matthew Dillon MFC adjustments to newfs_hammer for minimum UNDO FIFO space. f11a2e4
Commits on Jul 25, 2008
Sascha Wildner Sync with HEAD. d3cd5a2
Sascha Wildner MFC: Document -f. d0dc8e6
Sascha Wildner MFC: Fix typos. 37b5912
Commits on Jul 26, 2008
Sepherosa Ziehau 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
3d77cc8
Matthew Dillon HAMMER commit - MFC ref count related panics when a HAMMER mount fail…
…s, etc.
448b4e8
Sepherosa Ziehau 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>
e29d65f
Matthew Dillon 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>
91cace5
Commits on Jul 27, 2008
Sascha Wildner MFC: Fix comments. e7ff3ad
Sascha Wildner MFC:
Actually install packages into ${ISOROOT}.

Submitted-by:  corecode
Reported-by:   M.K. <mk@freeweb.ozi.nu>
Dragonfly-bug: <http://bugs.dragonflybsd.org/issue1092>
d7ffe64
Commits on Jul 29, 2008
Sascha Wildner MFC:
Update for 2.0.

Reported-by: Michael Neumann <mneumann@ntecs.de>
f083689
Commits on Jul 30, 2008
Michael Neumann 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"
ec1f84d
Commits on Jul 31, 2008
Sascha Wildner Sync with HEAD. 3b23cfa
Commits on Aug 02, 2008
Matthew Dillon MFC 1.117 - fix desiredvnodes calculation for machines with >2G ram.
Requested-by: Francois Tigeot <ftigeot@wolfpond.org>
4a766b6
Matthew Dillon 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
5177e93
Commits on Aug 03, 2008
Sascha Wildner MFC:
Actually install the blacklists of compromised SSH keys into /etc when doing
'make upgrade'.
7e5d78e
Matthew Dillon 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.
db1c1c1
Commits on Aug 04, 2008
Matthew Dillon MFC bandwith, delay, mirroring, and pfs work from HEAD. 6428872
Thomas Nikolajsen 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.
8420472
Thomas Nikolajsen 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.
ee9c6aa
Thomas Nikolajsen 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.
855412d
Thomas Nikolajsen 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.
3c0d327
Thomas Nikolajsen 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
85412fe
Thomas Nikolajsen 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
4486b3c
Thomas Nikolajsen MFC:
Update fdisk.8:
 * Add note on 2TB limitation and hint on gpt.8
92ef0ef
Thomas Nikolajsen MFC:
Update mount_cd9660.8:
 * Fix SYNOPSIS
38e9b54
Thomas Nikolajsen MFC:
Update ffs.5:
 * Add 's0' as DragonFly needs this
d29b5d2
Thomas Nikolajsen MFC:
Add Xref to committer.7.
caa762b
Thomas Nikolajsen MFC:
vnconfig doc update:
 * Sync usage() to vnconfig.8
 * Use 'options' instead of 'option[,option...]'
 * Use 'options' consistently, not 'flags' sometimes
32ff002
Thomas Nikolajsen 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
e2fa72d
Commits on Aug 05, 2008
Sepherosa Ziehau 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>
57bec7e
Commits on Aug 06, 2008
Sascha Wildner MFC: Use humanize_number(3) for -h and -H. 443f5ea
Matthew Dillon HAMMER 2.0:01 - MFC HAMMER 2.1:01
MFC buffer cache leak, invalidation races, b-tree deletion, nlinks,
and rmdir fixes.
cc26124
Commits on Aug 07, 2008
Sascha Wildner MFC: Fix 'Used' column in -h/-H output by using int64_t. e92b022
Commits on Aug 09, 2008
Hasso Tepper MFC rev 1.2:
  Detach correctly so there is no need to panic during reattach.
35fb90d
Commits on Aug 10, 2008
Matthew Dillon MFC HAMMER 2.0:02 - rmdir, stability 4c68eed
Commits on Aug 14, 2008
Sascha Wildner 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>
de36850
Commits on Aug 21, 2008
Sascha Wildner MFC:
Remove wrong semicolon.

Found-by: LLVM/Clang Static Analyzer
1d4cef9
Commits on Aug 23, 2008
Sascha Wildner MFC:
Fix null dereference.

Found-by: LLVM/Clang Static Analyzer
b2a0ff5
Commits on Aug 27, 2008
Matthias Schmidt Add missing -s to usage string. 84430a7
Commits on Sep 01, 2008
Sepherosa Ziehau 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>
91eaad3
Commits on Sep 09, 2008
Matthew Dillon 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.
98cdb5a
Commits on Sep 13, 2008
Sascha Wildner 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).
8140e7c
Commits on Sep 14, 2008
Sascha Wildner MFC r1.3:
Fix bug in normalization.

Found-by: LLVM/Clang Static Analyzer
669a78b
Commits on Sep 15, 2008
Matthew Dillon MFC 1.55 - fix an invalidation case which primarily occurs on NFS ser…
…vers.
5770461
Sascha Wildner Sync with HEAD. 1f2fded
Commits on Sep 16, 2008
YONETANI Tomokazu MFC - Don't fail if the file flags of source and copied symlinks don'…
…t match.
25a5c7c
Sascha Wildner MFC r1.9:
If a NULL pointer was passed, panic like everywhere else.

Found-by: LLVM/Clang Static Analyzer
23fdb63
Matthias Schmidt 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.
f3551bd
Matthias Schmidt I should drink more coffee before starting committing. Revert the las…
…t change

as 2.0 contains the ISC dhcp client.  Thanks to hasso@ for bringing this to
my attention.
ecb8891
Sascha Wildner MFC r1.27:
If ae is NULL, just print that the controller is unsupported and return,
instead of continuing and dereferencing it later.

Found-by: LLVM/Clang Static Analyzer
823b03b
Sascha Wildner Oops, I accidentally MFC'd too much. 7ebb3eb
Thomas Nikolajsen MFC r1.11 (HEAD):
Add note that NFS exporting PFSs isn't supported yet.

Add example crontab line to the prune section.

Update hammer.5:
 - expand description on reblocking and pruning a bit
 - correct no. PFS supported (PFS 0 is used for hammer file system)
 - add mirror-stream and mirror-read-stream reference
85c6bab
Thomas Nikolajsen MFC r1.6 r1.15 (HEAD)
Update pf.conf.5:
   - add line break after sentence
   - add description for `set keep-policy'
   - drop note that RIO isn't in GENERIC kernel,
  as this applies to OpenBSD when pf.conf.5 was imported;
  in DragonFly altq isn't in GENERIC kernel at all
   - fix GRAMMAR by adding `set keep-policy', and `no state',
  fixing scheduler defs and dropping unneeded parens & brackets
   - improve mark up a bit
3b2b3c4
Thomas Nikolajsen MFC r1.6 r1.30 r1.28 (HEAD):
 * fix markup of `auto' argument
 * add `auto' where missing
 * delete extra synopsis
 * fix wrong single character quoting

Minor wording improvement.

Add an example os how to change label format from 32 bit to 64 bit,
and delete note that it require reboot.

Fix typo: missing line break, which got .Xr hide sentence.

Update disklabel doc:
 - Sync usage() to disklabel.8
 - Add note that this is 32 bit disklabel
 - Move description of `-f' flag from unrelated section (SAVED FILE FORMAT)
 - Improve some wording and mark up a bit
5d067ee
Thomas Nikolajsen MFC r1.3 r1.13 r1.8 (HEAD):
 * fix markup of `auto' argument
 * add `auto' where missing
 * delete extra synopsis
 * fix wrong single character quoting

Delete false note.

Comment out some .Pp's as well.

Update disklabel64 doc:
 - Comment out all reference to boot / bootstrap from 64 bit label,
it isn't supported yet.
 - Add note that this is 64 bit disk label.
 - Add gpt and newfs_hammer in description on setting up a disk from scratch
1243d61
Thomas Nikolajsen MFC r1.6 (HEAD):
Add missing description on context addresses.

Obtained-from: FreeBSD
with minor corrections and additions.
5097f3c
Thomas Nikolajsen MFC r1.14 (HEAD):
Fix markup:
 * Add missing escape (\&) to mdoc(7) punctuation characters
 * Consistently use single (vs double) quotes for one character strings
a882f48
Thomas Nikolajsen MFC r1.17 (HEAD):
update fdisk.8:
 - add `MBR' to one line description (`.Nd')
 - add description on number of supported slices and usage
 - add note on `packet' mode and Xref boot0cfg
 - note that fdisk only can change s1-s4

Update fdisk.8:
 - break lines at end of sentence (`.')
 - minor markup improvements
3304703
Commits on Sep 19, 2008
Sascha Wildner MFC r1.8:
Remove dereference of 'i' which is never set. getopt() will take care of
printing an "illegal option" message anyway.

Found-by: LLVM/Clang Static Analyzer
aa4336f
Sascha Wildner MFC r1.6:
Remove dereference of uninitialized 'i'.

Found-by: LLVM/Clang Static Analyzer
6f8013c
Commits on Sep 20, 2008
Matthew Dillon Bump the sub-version to 1, for 2.0.1 e549ae6