summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix the NAMEI zone leak when snapshot was successfully created.kib2007-04-101-0/+1
| | | | | Reported and tested by: Peter Holm MFC after: 2 weeks
* Recalculate the NEWBLOCK flag for pagedep structure after the softdepkib2007-04-101-5/+26
| | | | | | | lock is dropped, since pagedep may be already processed and deallocated. Found and tested by: kris MFC after: 2 weeks
* When LK_NOWAIT is passed as argument to process_worklist_item(), thiskib2007-04-101-1/+4
| | | | | | | | | | does not prevent handle_workitem_remove() from recursing into a blocking version. Add the dirrem to worklist instead of processing it now if this is the case. Reported and tested by: kris Submitted by: tegge MFC after: 2 weeks
* Fix an uninitialized variable warning.thompsa2007-04-101-1/+1
|
* Update to match revision 1.23 of touch.c.grog2007-04-101-36/+18
| | | | Clarify some details.
* Usage: print base name of program.grog2007-04-101-20/+47
| | | | | | | -A flag: respect the -a and -m flags. imply the -c flag. Requested in principle by: brian
* Make use of ptrace(2) instead of procfs in truss(1), eliminatingdelphij2007-04-1016-585/+452
| | | | | | | | yet another need of an available /proc/ mount. Tested with: make universe Submitted by: howardsu Reviewed by: alfred
* Bump document date for new trunk commands.thompsa2007-04-101-1/+1
|
* Fix build, trunk is a device not an option.thompsa2007-04-101-1/+1
|
* Try to stabilize ZFS with regard to memory consumption:pjd2007-04-108-48/+122
| | | | | | | | | | | | | | | | | | - Allow to shrink ARC down to 16MB (instead of 64MB). - Set arc_max to 1/2 of kmem_map by default. - Start freeing things earlier when low memory situation is detected. - Serialize execution of arc_lowmem(). I decided to setup minimum ZFS memory requirements to 512MB of RAM and 256MB of kmem_map size. If there is less RAM or kmem_map, a warning will be printed. World is cruel, be no better. In other words: modern file system requires modern hardware:) From ZFS administration guide: "Currently the minimum amount of memory recommended to install a Solaris system is 512 Mbytes. However, for good ZFS performance, at least one Gbyte or more of memory is recommended."
* Reduce diff against vendor - we have now stronger check for "mutex alreadypjd2007-04-102-4/+4
| | | | initialized", so we can go back to kmem_alloc().
* Add trunk(4) module.thompsa2007-04-102-0/+20
|
* Hook trunk(4) up to the build.thompsa2007-04-105-0/+22
|
* Mark netstat -g host-mode output as deprecated.bms2007-04-101-0/+9
| | | | MFC after: 2 weeks
* Add the trunk(4) driver for providing link aggregation, failover and faultthompsa2007-04-1010-0/+4198
| | | | | | | | | | | | | | | | | tolerance. This driver allows aggregation of multiple network interfaces as one virtual interface using a number of different protocols/algorithms. failover - Sends traffic through the secondary port if the master becomes inactive. fec - Supports Cisco Fast EtherChannel. lacp - Supports the IEEE 802.3ad Link Aggregation Control Protocol (LACP) and the Marker Protocol. loadbalance - Static loadbalancing using an outgoing hash. roundrobin - Distributes outgoing traffic using a round-robin scheduler through all active ports. This code was obtained from OpenBSD and this also includes 802.3ad LACP support from agr(4) in NetBSD.
* Considerably rework the ifmcstat utility.bms2007-04-103-115/+385
| | | | | | | | | | | | | | | * Build with or without INET, INET6, or KVM features. * When built without KVM, the sysctl-based getifmaddrs() function is used as the back-end for the utility. * Reflect the fact that FreeBSD now uses the in_multi refcount as a true refcount. * Style. The utility may now be run without super-user privilege, albeit with a less detailed display, equivalent to that of the soon-to-be-retired netstat -g host-mode output. MFC after: 3 weeks
* Remove unused #define.pjd2007-04-092-4/+0
|
* Bring rtld exports in line with corresponding symbols exported fromkan2007-04-093-2/+8
| | | | | | | libc. Disable SYMVER_DEFAULT n rtld until its implications are understood better.
* Fix a compiler warning so hash.h can be included in the kernel. This changesthompsa2007-04-092-7/+8
| | | | | | | the args for hash32_stre and hash32_strne but there are no consumers in the base system and openbgpd does not use it which the initial import was for. Silence on: hackers
* Clean-ip TLS symbol versions. [_]__tls_get_addr function is part ofkan2007-04-092-6/+2
| | | | | | | the platform ABI and as such does not belong in FBSDprivate. __libc_tls_* functions do not have to be visible to outside world at all.
* Fix build breakage.pjd2007-04-091-1/+1
|
* Add zfs_load here.pjd2007-04-091-0/+1
| | | | Reminded by: bmah
* Add prototype for generated ptraceopname function.emaste2007-04-091-0/+1
|
* Restore the locking for the sleep/wakeup to avoid waiting an extra 1 secnjl2007-04-091-5/+11
| | | | | if a race was lost. We're still single-threaded at this point, but just be safe for the future.
* Document KERN_HOSTUUID.pjd2007-04-091-1/+4
| | | | Reminded by: ru
* Remove __P.bms2007-04-091-7/+7
|
* Fix a bug whereby group addresses were incorrectly computed in the test.bms2007-04-091-2/+2
| | | | | | [Since the change to strict refcounting for in_multi objects, this test began to fail; formerly the refcount was a count of the number of requests for a given address, NOT a count of pointers to the object.]
* Clean up the root mount and mount wait code. No mutexes are needed herenjl2007-04-091-15/+10
| | | | | since a spurious wakeup() is the only possible outcome and this is fine in the BSD programming model.
* Add rc.d/hostid script (turned on by default) which on first boot generatespjd2007-04-093-1/+83
| | | | | | | | | | | | UUID and stores it in /etc/hostid ($hostid_file) as well as sets kern.hostuuid and kern.hostid sysctls on every boot. Hostid can be reset using '/etc/rc.d/hostid reset' command. Hostid generation and setting can be turned off by setting variable hostid_enable to "NO" in /etc/rc.conf. Reviewed by: mlaier, rink, brooks, rwatson
* Add kern.hostuuid sysctl, which will be used to keep host's UUID.pjd2007-04-093-1/+7
| | | | Reviewed by: mlaier, rink, brooks, rwatson
* Move uuidgen(1) from /usr/bin/ to /bin/. It will be used in rc.d/hostidpjd2007-04-093-0/+6
| | | | | | script, which will be executed before /usr/ mount. Reviewed by: mlaier, rink, brooks, rwatson
* Remove static ptrace_ops array and extract ptrace op names fromemaste2007-04-092-36/+4
| | | | sys/ptrace.h with mksubr.
* - Add my mentees, farrokhi@ and nox@miwi2007-04-091-0/+5
| | | | Reviewed by: flz
* The old PacketAlias* API is not exported whenpiso2007-04-092-2/+1
| | | | libalias run in kernel land.
* throw sun4v into the check while we're at itkmacy2007-04-091-1/+1
|
* busdma tags are opaque on all architectures except sparc64kmacy2007-04-091-1/+2
| | | | for now simply don't compile/use on sparc64
* correct copyright attribution; there was no copyright in the patchessam2007-04-092-2/+4
| | | | | | from Andrea so I assigned him ownership; this corrects that Submitted by: Andrea Bittau <a.bittau@cs.ucl.ac.uk>
* Document PT_GETNUMLWPS.emaste2007-04-091-0/+3
|
* Add myselfkevlo2007-04-091-0/+1
|
* Add myselfkevlo2007-04-091-0/+1
|
* LINT on ia64 requires memset symbol too. Make fire it is present by addingkan2007-04-091-0/+1
| | | | it to libkern on this architecture.
* Sort sctp_*.c files.andre2007-04-091-8/+8
|
* Apply "additional TCP options" earlier.des2007-04-092-2/+1
| | | | | Requested by: andre@ MFC after: 1 week
* FILESYSTEMS requires root, so requiring both of them is redundant.des2007-04-097-7/+7
|
* Add zfs to REQUIRE.des2007-04-091-1/+1
|
* Clean up error handling in archive_append to match how errors arecperciva2007-04-091-19/+39
| | | | | | handled in write_hierarchy. Approved by: kientzle
* Make use of M_ZERO in various malloc calls.scottl2007-04-091-5/+4
|
* Fix a logic bug that slipped in at the last minute and apparently escapedscottl2007-04-091-4/+3
| | | | testing.
* Add -A flag to adjust existing time stamps.grog2007-04-092-23/+130
| | | | | | Print name by which program was started in usage() message. MFC after: 2 weeks
* sendmail upgraded to 8.14.1gshapiro2007-04-091-1/+1
|
OpenPOWER on IntegriCloud